PDA

View Full Version : alpha tween rollover


schwinghammer
05-25-2006, 04:57 AM
i need a graphic symbol on the stage to fade in from 0% alpha to 100% alpha AS WELL AS have another graphic symbol fade from 100% alpha to 20% alpha at the same time when a specific button is rolled over. i need the exact opposite to occur on rollOut.

I know how to just make things snap to a different alpha state (this code is IN the button):
on(Rollover){
picture._alpha=100;
otherPicture._=20;
}

but i need them to FADE for 10 frames from one state of opasity to another.

get me?

i got this to work by using the timeline with all sorts of "gotoAndPlays" but if you rollOver and rollOut before the object is done fading, the object "freezes". so, i think that this needs to be done in actionscript for it to really work.