Forums: Flash:

 

kerning change on rollover of an href within a textfield

first
 

baron ruhstoff kerning change on rollover of an href within a textfield

Check out the text links within the descriptions for some of the projects here. Some of them - not all - mess up the letter spacing on rollover - not just of the link but of what appears to be a random selection of chars within the same line of text as well. My first idea was that it had something to do with :hover and text-decoration (the fields are styled via css), but that doesn't appear to be it. I cannot identify any difference in the content of the actual tags that would be causing it, either.

shrug.gif

Two projects for which it happens consistently: Hope and Zabiela.

 

persist

This is a known bug with hover text and antiAliasType=TextFieldAutoSize.LEFT.

As long as you're setting your textfield width or it's a stage created textfield, switch to antiAliasType=TextFieldAutoSize.CENTER. It will look identical and wont shift.

 

baron ruhstoff

Persist: Gentleman. Scholar.

 

persist

I checked the site today. is that field still shifting???

 

baron ruhstoff

Haven't had a chance to get to it yet, but it seems to have worked on other fields.

 

persist

ah well if it doesn't work let me know, I love a good puzzle.

In my experience it fixes it.

 

baron ruhstoff

Yep, that did it.

Still running into a similar issue elsewhere though: textfields jumping a fraction of a pixel upon rollover of their container. It seems to have something to do with whether or not one of the fields within the container has a filter applied.

today's update

 

persist

The kerning seems improved overall.

I don't get a slight pixel shift anywhere, or I don't know where to look.

 

baron ruhstoff

The shift is very slight and happens on rollover of the items in the timeline. It's something I've run into before but I can't recall what the solution was (if any).

As for addressing the autoSize bug, I just noticed that while CENTER took care of the spacing jump, it seems to clip a few pixels off of each line:


frown

 
first
 

Forums: Flash: kerning change on rollover of an href within a textfield

 
New Post
 
You must be logged in to post