Tutorial Request - Relative Rollouts (flash)
Posted 14 July 2004 - 11:50 AM
I currently have flash5 (mx soon, but for now flash5 is the best). Ok here is the deal, I can design in flash quite well, but my action script knowledge is very limited (I never really got on with prog languages). Now and again I see rollover buttons using movie clips that have a relative roll over state. Imagine a bar that streches from 1 pixel in length, to 100 pixels when the mouse rolls over and then back down to 1 pixel on roll out. When you rollover and rollout very quickly, it only rolls out as much as it has rolled in. so while the mouse hovers over it long enough to roll in 5 pixels in, on roll out it goes from 5 pixels, back down to 1 pixel.
Normally when I design a rollout movie clip, even if I only hover over for those 5 pixels, when I roll out, the movie skips to the roll out frame of 100pixels and plays the full 100 - 1 pixel sequence.
You guys must be pretty confused now, yes?
P.S, i have managed to achieve the relative rollout function by breaking down the frames into small segments on the timeline, but would ideally like to use code as it is less time consuming.
Thank you all for even bothering to read this...
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users