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

Creating a simple button in Flash CS3

Loading...

Sign in or sign up now!
19,278
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 16, 2008

A tutorial on how to make a simple, functioning button in Adobe Flash CS3.
If you have any questions, please leave a comment and i'll do my best to answer all questions.
Thanks.

Note: If you want to go to the next frame on your timeline when the button is clicked instead of opening a URL, simply switch out the 'getURL' line of code for this:
nextFrame();

You can also go backwards a frame by using this:
prevFrame();

Alternatively you can go to different frames by using this line of code:
gotoAndStop(2);
Just change the number 2 to the frame number that you want to navigate to.

The gotoAndStop code does what it says, goes to the frame you want and stops the playhead. If you want to go to a frame and play the timeline, if you have an animation sequence for example, you can use this:
gotoAndPlay(2);
Again, change the number 2 to the frame that you want to go to.

  • likes, 3 dislikes

Link to this comment:

Share to:

Uploader Comments (flash276)

  • For every who was asking about navigating frames with a button; I have updated the video description with details.

  • hey thats nice but i really need to know how to make the button, when pressed, go to my next frame.

  • You mean when you button's clicked, it goes to the next frame on your timeline? I'll send you a message about it.

see all

All Comments (38)

Sign In or Sign Up now to post a comment!
  • Action script 2 or action script 3?

  • @flash276 send me one to

  • Can you sent that message to me too? I'm wondering same thing too.

  • i want to know how to use the button...when click on the button then the object wa show.

  • i want to know how to use the button...when click on the button then the object wa show.

  • thats cool but how do you make it play a movie clip??

  • You Suck

  • @flash276 can you send me that exact same message because thats what I came for too

  • BRILLIANT simple tutorial and one that actually works. Thanks very much :)

Loading...

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