Shivering

my letters shivering
why please help

are you assigning their posistion with AS? or did you use the align tool?

If you use the align tool, sometimes it will select sub decimal numbers, and last time i checked, theres no such thing as half a pixel:)

yes I use the align tool.
I try to fix that with anti-alias for animation but…
what is AS for aligning?:ear:

I don’t even see it shaking.

I usually use AS to posistion all my stuff on the page, You could use a loop to build the mc at the right height then posistion that main mc to the correct spot.

I think somewhere within code, your moviing and x position, or you may have another, unwanted frame.

my question was:
:geek: what is AS for aligning?:geek:

Positioning your objects using ActionScript.

yes I know what is AS
and what is code for “positioning objects using ActionScript”
(sorry if it is because of my english)

Positioning your objects using ActionScript.
what is the code?

???:-/

it would help if you can post your .fla for people to look at ?


instanceName._x = 100;
instanceName._y = 100;

The text is shifting in almost all the buttons when you roll over one of the buttons. I’m guessing that in the rollover frames of your buttons, the text is in a slightly different position than it is in the ‘Up’ frame. You should probably just eliminate the key frame in the ‘Over’ frame in the layer where your text is.

that’s not his issue, if you view the file you’ll notice that all the buttons are wiggin’ out when you mouseOver another button. It’s most likely a pixel alignment issue.

As for the code, try something like this:

Say your buttons were named button1, button2, button3, button4, etc…

for (var i=0;i < 10;i++) {
   ["button"+i]._y = i*20
   ["button"+i]._x = 100
}

you’d end up with buttons perfectly aligned along the Y axis. Of course, you’ll have to play with the values a little to get it the way you like, but this will stop the button seizures:)

that is the instances of one button
txt is in another layer

that’s it
I change anti-alias for readability to anti-alias for animation
but color of letters are changed and that is not it

2 views???

I think you discovered a semi-bug in flash in that anti-aliasing for readibilty creates different results… just go with the version that doesn’t shift. Even after all the changes to font rendering in flash 8, you may still just have to live with the results of imperfect text. :moustache

anti-alias for animation