Help: How to create RollOut animations in Flash
|
Author |
Message |
ProperBritish
Daddy Proper
Posts: 5,666.3250 Threads: 192
Joined: 19th Nov 2008
Reputation: -2.36574
E-Pigs: 147.7035
|
Help: How to create RollOut animations in Flash
I've been trying for ages to get a button to animate back to how it was, i have the tweens and everything, but no matter what i do it doesn't work. I tired parking a clip and playing it on rollOut, which worked, but meant the image below it wasn't on the 'over' state (as it was covering it, even though it was transparent until rollout) and it didnt fade in to being with.
i tried editing it by adding actionscript to the movie on the 'over' state of the button to no avail. when the mouse isn't on it it's not on the 'over' state anymore and cannot run the script. incidentally i wrote this:
i applied it to the clip but of course it does not work. anyone with an idea help me?
(This post was last modified: 22/03/2010 10:36 AM by ProperBritish.)
|
|
22/03/2010 10:34 AM |
|
Cyonix
I'm No Longer Here...
Posts: 1,333.1456 Threads: 270
Joined: 12th Aug 2007
Reputation: -5.05677
E-Pigs: 43.9829
|
RE: Help: How to create RollOut animations in Flash
hmmm...methinks you need to catch a Geodude and have it use Defense Curl before using Rollout for maximum damage :P
|
|
22/03/2010 10:50 AM |
|
Mythos
protoman
Posts: 573.1637 Threads: 31
Joined: 18th Apr 2007
Reputation: -1.8373
E-Pigs: 24.3694
|
RE: Help: How to create RollOut animations in Flash
well i dunno how it is called in english, but you dun even need action script for that.. on the right in your library you can create a new button with 4 states: normal, hover, pressed and active.. hope that helps
if you wanted something else just drop me a message, can help ya with AS as well
|
|
22/03/2010 01:21 PM |
|
ProperBritish
Daddy Proper
Posts: 5,666.3250 Threads: 192
Joined: 19th Nov 2008
Reputation: -2.36574
E-Pigs: 147.7035
|
RE: Help: How to create RollOut animations in Flash
Mythos Wrote:well i dunno how it is called in english, but you dun even need action script for that.. on the right in your library you can create a new button with 4 states: normal, hover, pressed and active.. hope that helps
if you wanted something else just drop me a message, can help ya with AS as well
yeah i tried that i can make it animate on hover
but upon leaving the hover state it cannot execute the AS to make it fade back. as it is not on the hover state anymore because you took the mouse off. i ended up making a plain movie clip and typing this in.
this was applied to frame 1 on the actions layer of the movieclip:
and on the final frame was this:
![[Image: capturexb.png]](http://img688.imageshack.us/img688/9133/capturexb.png)
movieclip timeline ^
keep this as reference or some thing i unno xD
|
|
22/03/2010 02:14 PM |
|
User(s) browsing this thread: 1 Guest(s)