all groups > macromedia flash sitedesign > june 2007 >
You're in the

macromedia flash sitedesign

group:

why do Buttons with over states sometimes...



why do Buttons with over states sometimes... sinewave zero
6/27/2007 1:43:21 AM
macromedia flash sitedesign: aloha all,

i notice sometimes my buttons will move a little on their over states. yes i
am adding features to the over state but i am not adjusting the buttons
location on the stage. sometimes different ones move in different preview
modes. for instance, if i do a flash preview of my site buttons #A and #C will
glitch a little to the left on a mouse over event. but if i do a html preview
of the same site buttons #B and #D will glitch a little to the right. what
gives? very annoying. is there something i am missing here.

as a work around i have tried to go and move the over state a pixel in the
opposite direction but this always makes matters worse because then it will
actually start to move the direction i moved it in.

any feedback is appreciated.

aloha

d~
Re: why do Buttons with over states sometimes... abeall
6/27/2007 7:37:56 PM
If the over state graphics are not in the *exact* same position, this can
happen. It's more than just pixels, graphics can be on sub pixel locations. But
since you view everything in pixels, even a .001 difference can create a single
pixel that changes.

The easiest way to ensure graphics are on exact same position is to copy them
on one frame, then paste-in-place(ctrl/cmd + shift + v) on all other frames.
Re: why do Buttons with over states sometimes... sinewave zero
6/29/2007 1:09:36 AM
thanks, but i do create my over states like that. nothing gets moved at all.
and as mentioned it will do it differently on different browsers and in
different preview modes. for instance a button that moves a little in a flash
preview will not move during an html preview. a button that moves a little in
safari will not move on firefox.

very odd

d~
Re: why do Buttons with over states sometimes... abeall
7/2/2007 3:17:51 PM
AddThis Social Bookmark Button