Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Flash - Button Tutorial

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,581
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 9, 2010

Okay, I started to create a rectangle and do a corner radius in 5 points. My button was just randon, and I spended too long time at mine!

When your button is done, choose the whole button and convert it to a symbol (F8, or right click-convert to symbol) and choose the Button, cuz thats what we are going to use.

Once you are done with creating your button and convert it, double click the symbol. Now your inside it! Add 4 new frames at your button layer ( UP, OVER, DOWN, HIT, wich means that the first frame is when the button are'nt touched, the OVER frame is when you hold your mouse ove it, and DOWN, when you have clicked it, then the hit is showing). Frame 1: the button is normal, Frame 2: the button is a bit lighter (Since you are choosing it), Frame 3: the button is a bit darker than the original (thats cuz you have "used" your first click) and Frame 4: the original button

THE ACTIONS
The button frame must have the action: stop();
The Symbol must have the action:

on(release){
_root.gotoAndPlay(the frame you want the button to play)
}

SONGS:
Unreeal Superhero (Keygen Digital Insanity music)
Bass Pirates (you can fint at www.newgrounds.com/audio

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (illgiveyoufun)

  • Hey dude i did everything you did but i cant set the button to stop?

    It sez current selection cant have actions applied to it? :s

    Did i do something wrong?

  • well, as you see I first clicked on the frame where you wants you button to stop. That means that when you click on your frame and press F8, then the actionbar is coming up, next is to write "stop();" (without the " ") and then your button will stop until you click the button and make is running the rest of your movie :)

see all

All Comments (5)

Sign In or Sign Up now to post a comment!
  • Question, what does the "_root" mean/do in the "on(release){

    _root.gotoAndPlay(the frame you want the button to play)

    }" action?

  • i love the music from keygens

  • EPIC Sony Multikeygen xD

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more