alert This appears to be a flash file, you cannot see a preview because flash player is no longer supoorted in browsers, but you can still download the file to study it's source code.
You can open/play the swf file with Flash Player exe
user bullyjosh
bullyjosh (7)

Animate Unanimate Buttons V2

*EDIT* This is an updated, simplified version of this already simple file, providing for ease of use and more flexibility. Enjoy!

These button's animation reverses on roll out, so you get a nice "unanimate" visual on roll out. They're full customizable (minimal actionscript) via timeline-based animation, and I've commented some tips on the first keyframe of the timeline. Only my second file,...
more >
5930 downloads, 42901 views
Download (14.83 KB)

Comments

You need to login to post a comment.

user bilgi89
bilgi89 12 years ago

really well done. thanks for sharing! Very very practice

user redrum
redrum 12 years ago

I like it.

user iangogo
iangogo 14 years ago

thanks

user yakuphan
yakuphan 14 years ago

Thanks. It's a good technic.

user muzaffer
muzaffer 15 years ago

thanks

user pavlicko
pavlicko 15 years ago

really well done. thanks for sharing!

user AudioVoyuer
AudioVoyuer 15 years ago

BullyJosh: YOUR FILE ROCKS - really well commented & the Actions are clean & well considered. This is a file all us noobs can learn from! Great Form, Thank You!

user bullyjosh
the listing author bullyjosh 15 years ago

There is plenty of actionscript, it's just not attached to the timeline. Rather, the actionscript is on each button, and on each movieclip the button is controlling. It's actually very straightforward: there are two parts to each button - the hit area, which is an actual button, and the movieclip underneath it that the button controls. The hit area has two states (although of course you can add more if you desire - I've added an on(release) action with the actual action commented out, for your convenience): on(rollOver) and on(rollOut). Most of the actionscript is in this button's actions. Click on the button and open your actions tab to see the actionscript. The on(rollover) state does two things: set's the rewind value of the mc underneath it to false and plays the mc (there's a stop on the first frame of each mc that keeps it from playing until the rollover). The on(rollout) state does one thing: sets the rewind value of the mc to true, which reverses the playhead. (with the help of another piece of actionscript, which I'll cover now.) The last piece of actionscript is actual on the movieclip itself. This makes sure of two things: when the mc loads, the rewind value is set to false from the very beginning, and that if the rewind value has been activated (by rolling out) that the playhead reverses (this.prevframe) until it meets a stop. That's as plainly I can put it - hope this helps you understand! Cheers.

user setel
setel 15 years ago

Hi, can u explain me more about the creation of this buttons. There's some programin behind it? In .FLA files there's no actionscript, so how it works? I'm breaking my mind to understand how the buttons go on and reverses the animation.

user mindcontrol
mindcontrol 15 years ago

He he i manage to figure it out. I got CS4 myself at the moment and discovered the program native Fla format as you pointed out. Refreshing to get a knowing persons attention on a subject.

user bullyjosh
the listing author bullyjosh 15 years ago

My .fla files are authored in Adobe Flash CS3. Although I don't use Swish at all, my understanding is that it has it's own native extension (.swi) that takes the place of the .fla. I'd recommend getting Flash, but that's just me. Outside of that, there seems to be limited support for importing .swf files, although it doesn't seem to be consistent. (http://forums.swishzone.com/index.php?s howtopic=58597) If you need that file format, I'll see what I can do to get the attachment here edited to include a .swf. Cheers.

user mindcontrol
mindcontrol 15 years ago

I need to know what software i need to edit this. Its not possible with the swish software. Tell you that much!

user JND
JND 15 years ago

So Cool

user Shane_D
Shane_D 15 years ago

Love it :X

user tojoshan
tojoshan 15 years ago

i really like it! good visual style! Ty!

user vanguardista
vanguardista 15 years ago

basic and functional... Excellent..
10/10

user leefy
leefy 15 years ago

yup...i likey.

user adrianTNT
adrianTNT (admin) 15 years ago

The source is now included. Leboiss, you can download again if you like.
Thanks Bullyjosh.

user adrianTNT
adrianTNT (admin) 15 years ago

Bullyjosh, I will send you an email so that you can rpely with the source attached, ok?

user bullyjosh
the listing author bullyjosh 15 years ago

leboiss - I just attempted to replicate what you said happened, and it is an empty file. I'll see what I can do to remedy that.

user bullyjosh
the listing author bullyjosh 15 years ago

leboiss - what version of Flash do you use? I use CS3, and you may be trying to access it from an older version of Flash. This is a common issue on this site - be sure to check the version the file was produced in before you attempt to download it. Sorry!

user leboiss
leboiss 15 years ago

Hello
cool effect but I don't understand your .fla is empty ...

user adrianTNT
adrianTNT (admin) 15 years ago

Looks nice.