Be a Supporter!

how to make a button?

  • 262 Views
  • 1 Reply
New Topic Respond to this Topic
bowman353
bowman353
  • Member since: Aug. 27, 2008
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
how to make a button? 2008-09-06 19:54:02 Reply

hey im a nub with flash but i wanna start makin a movie...i wanna know how to make a button that will start the movie plz

Jurgen
Jurgen
  • Member since: Sep. 6, 2008
  • Offline.
Forum Stats
Member
Level 22
Animator
Response to how to make a button? 2008-09-06 20:03:40 Reply

Hey! draw you picture or whatever you want to use for your button. Then right click on it, go to CONVERT TO SYMBOL, then check off button and name it. THEN. Double click the button and this window will pop up. And your timeline will change. it'll say "UP",which is what it'll look like when its just sitting there "OVER" which is what it'll look like when the persons mouse goes over it, and "DOWN" is what it'll look like when when someone is clicking on it. And hit is pretty obvious(what it'll look like after its been hit)

then you have to to do some actionscripting, right click on your button and go down to ACTIONS, another window will pop up. type in:

on(release) {
gotoAndPlay(2);
}
in the brakets after gotoAndPlay is the frame number. So it is probably 2 because when you make your button, its on frame 1, so ya.

theres your play button
it should work :)


GamerTag: MEGAxCptnWalrus