Stick Page Forums Archive

making a button in flash 8

Started by: Ridho | Replies: 3 | Views: 735

Ridho
Banned

Posts: 14
Joined: Jun 2014
Rep: 10

View Profile
Jun 15, 2014 5:15 AM #1207024
hi i'm new to flash...so, i'm still a beginner and i have a question. How to make a button in flash 8?
Saintorin
2

Posts: 436
Joined: Jun 2013
Rep: 10

View Profile
Jun 15, 2014 8:03 AM #1207088
Hi. Make sure to first check Flash Tutorials section here: http://forums.stickpage.com/forumdisplay.php?18-Flash-Tutorials

Then, what kind of button do you want ? Here' the tutorial of Play and Replay buttons: http://forums.stickpage.com/showthread.php?35425-Play-and-REplay-button
Arch-Angel
2

Posts: 9,496
Joined: Jan 2007
Rep: 10

View Profile
Jun 15, 2014 12:20 PM #1207127
It requires action script. To make a generic play button, select your first frame, hit F9 to open the actions panel, and type: stop();

Next you will have to create your button. Draw a box and add some text over it that says "play". Select the box and text and use F8 to convert it to a button symbol. Select your button and press F9. Then type in:

On (release){
gotoAndPlay(2);
}

And now you have a button. For a replay button all you would have to do is both of these steps on the last frame of your animation, except instead of the "(2)" on the button script you would replace the "2" with a "1". Because that is the frame number that you're choosing to go to.
Ridho
Banned

Posts: 14
Joined: Jun 2014
Rep: 10

View Profile
Jun 15, 2014 11:41 PM #1207328
Thanks, that really help me
Website Version: 1.0.4
© 2025 Max Games. All rights reserved.