Be a Supporter!

"Replay" Button?

  • 842 Views
  • 3 Replies
New Topic Respond to this Topic
iamgeoffrowley
iamgeoffrowley
  • Member since: Dec. 15, 2002
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
"Replay" Button? 2002-12-24 03:23:52 Reply

I need some help. See, I just started out in Flash, and I've learned some basic stuff, and I need to know how to add a "replay" button to the end of my movie, in case anyone would like to see my crappy movies again. Any help is much appreciated, thanks in advance.

DutchClock
DutchClock
  • Member since: Nov. 28, 2002
  • Offline.
Forum Stats
Member
Level 15
Blank Slate
Response to "Replay" Button? 2002-12-24 09:05:05 Reply

In Flash MX go to Insert>New Symbol and choose button then you can start creating your button, for every state (Up, Down, Over, Hit) you put in a keyframe and for every state you can (if you want) make the button slightly different! Then leave the edit screen and select the button and then go to the actionscript window and add a goto & play (I dunno the exact actionscript, search for it in the actionscript menu in the "movie control" area) action and let it play the frame your movie starts! Then if you click the button you created, the movie replays!

Elementsk8er506
Elementsk8er506
  • Member since: Jul. 23, 2002
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to "Replay" Button? 2002-12-24 11:10:54 Reply

first in the stage area(the white box in the middle of the screen) draw up ur button. then after that, click on the BLACK arrow in the tool selection center in the left of the screen. then, use the black arrow to hightlight the button by clicking and draging to form a box around ur button. then after that the button should be highlighted with a bunch of dots on it. WITH IT highlighted, press F8 at the top of ur keyboard. a menu should show up. check it for the button symbol and MAKE SURE to name it to stayed organized. then after that, click ok. when u r done with this, click on the button directly left of the macnification setting(middle right)in the screen. the button looks like it has a bunch of toy blocks. when u click on this a menu should appear of the stuff u drew up. click on the name that u named ur button. when u do this a whole diff. section of keyframes and stuff shows up. in the timeline(top screen) you will c: up over down ect. right click on the second keyframe shown and choose convert to keyframe. then, u can draw ur button diff. IF YOU WANT. U DON'T HAVE TO. do the same with the other keyframes. when u r done go to edit(top of screen) then click on edit document from there. it should bring u back to where u first drew up ur button. if not, click on the button next to the magnification settings that likes like one of those movie things. when u r back tot eh stage where u drew ur button in the first place, go to control(top of screen) and then enable all simple buttons. this enables the button to be used when exported. now u need to set the button. right click on ur button and go to action. a menu shows up at the bottom of the screen. double click on the top button which opens up to another set of buttons. then double click on goto. on the right side u will see the menu for setting the button to what frame u want it to go to. set it for the next frame (example button on frame 1 set to got to frame 2.) after that, make sure the button seetings is set to be on goto and play. u can check this setting(above the frame settings). after that click on the actions bar which minimizes that menu. now u can fully c the stage. click on the frame up in the timeline(the frame the button is on) and right click on it. go to actions just like be4. then STOP. don't go to all hat goto button crap. this time double click on the "stop" button. look back up and the frame in the timeline and u should c a little a in the frame. now after that minimize the actions menu like be4. u should c the whole stage again. right click on the white bar behind ur frame and click on convert to keyframe. now there should be two frames in ur timeline. click on the forst frame and then click on the button to test if it went to the next frame. now after that, go to the second frame and right click on the button and click on "cut". now the button is only in the first frame with the button set to go to the next frame. note: the frame set for stopping ONLY works when u go to control test movie or exporting the movie. don't wonder why it plays through the frame when it was set to stop._ well thats about it on how to make a button. if u weren't able to make a button after reading this, well then u got a problem. it should work though. (u can also it F8 and then choose symbol or movieclip but those are COMPLETLY diff.) if u were succesful in making ur button, then reply to this.

Mr-Y
Mr-Y
  • Member since: Apr. 28, 2000
  • Offline.
Forum Stats
Member
Level 38
Blank Slate
Response to "Replay" Button? 2002-12-24 11:18:39 Reply

Just create a new button (by insert/new symbol/button or selecting something you want to turn into a button and going to insert/convert to symbol). Right click the button after it's created and you are back in the scene, and go to actions. Enter "gotoandstop" to make the movie go somewhere and stop, or "gotoandplay" to make the movie go somewhere and play, in your actions window for the button, and set the frame value of the action to the frame number you want the button to lead to and replay from. Make sure the actions of the frame (go to the actions button in the frame by right clicking it) say "stop", or the movie may continue running when the button appears, making the button quickly disappear during your movie. It's very easy.