Topic: Animated Buttons (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=11263" title="Pages that link to Topic: Animated Buttons (Page 1 of 1)" rel="nofollow" >Topic: Animated Buttons <span class="small">(Page 1 of 1)</span>\

 
InSiDeR
Maniac (V) Inmate

From: Oblivion
Insane since: Sep 2001

posted posted 12-12-2001 22:03

Ok, I suck with flash so I came here . How do I make it so when I hover my flash buttons, it animates or fades to a color instead of just changing to that color instantly? I'm sure you flash gurus will give me a hand

kretsminky
Maniac (V) Inmate

From: A little lower... lower... ahhhhhh, thats the spot
Insane since: Jun 2000

posted posted 12-12-2001 22:09

You'd have to do that with something like an onClipEvent so that when someone mouses over the button it sends them to a series of frames with a simple shape tween for your color change.

I'll play around and come up with something.

kretsminky
Maniac (V) Inmate

From: A little lower... lower... ahhhhhh, thats the spot
Insane since: Jun 2000

posted posted 12-12-2001 22:26

Someting like deees?

<EMBED src="http://www.curryburgers.net/misc/buttonmovie.swf" quality=high bgcolor=#0066CC WIDTH=100 HEIGHT=35 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>




[This message has been edited by kretsminky (edited 12-12-2001).]

kretsminky
Maniac (V) Inmate

From: A little lower... lower... ahhhhhh, thats the spot
Insane since: Jun 2000

posted posted 12-12-2001 22:33

Here's how I did that one....

#1. Make a movie clip where frame 1 is the normal state of the button. Frame 1 should have a stop action on it.

#2. Frames 2 through 20 or whatever are just going to be a simple shape tween from one rectangle to another. Your last frame (in my case frame 20) should have a stop action on it to keep the color fade from repeating)

#3. Make a transparent button by creating a button with only something in the hit state.

#4. Drag your movie from the library onto your main stage and give it an instance name of buttonMovie. Now drag the button and put that on a layer over the top of your movie.

#5. On the button put the following action:

on(rollOver) {
_root.buttonMovie.gotoAndPlay(2);
}

on(rollOut) {
_roo.buttonMovie.gotoAndStop(1);
}


Thats it! You can add more to the movie and more on(mouseEvent) actions. One for on(press) etcetera.

If you want the fla file just let me know.



InSiDeR
Maniac (V) Inmate

From: Oblivion
Insane since: Sep 2001

posted posted 12-13-2001 02:22

yes krets exactly, but umm, how the hell did u post that flash in ur post?

InSiDeR
Maniac (V) Inmate

From: Oblivion
Insane since: Sep 2001

posted posted 12-13-2001 02:24

nm krets i figured out how you did it , thanks for the quick tut too

Dark
Neurotic (0) Inmate
Newly admitted Neurotic (0) Inmate
Newly admitted
posted posted 12-16-2001 00:05

psssst! psssst! html is turned..... "ON" shhhhh!


:: Jon ::

[This message has been edited by Dark (edited 12-16-2001).]

Petskull
Maniac (V) Mad Scientist

From: 127 Halcyon Road, Marenia, Atlantis
Insane since: Aug 2000

posted posted 12-16-2001 05:59

HTML is on in this forum... it's the only one, so people don't start throwing /TD tags around and stuff...


"A kleptomaniac is a person who helps himself because he can't help himself." --Henry Morgan
ICQ: 67751342

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 12-16-2001 15:35

yea, /td tags could be horrible! so dont even try it!


(although... hehehe... i am somehow... uh, what's that strange feeling?)



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu