Making buttons in Flash
September 11th, 2006 by awesty
In this tutorial you will learn how to make buttons in flash. It would help if you had taken my ‘Motion Tweening’ tutorial already. If you haven’t you can click here.
I am using flash 8 for this tutorial, but as far as I know all versions should work.
Now open flash and enjoy the tutorial.
Thanks for taking the time to veiw the tutorial. Please take your time to veiw some more tutorials here or leave some feedback on this one.
Filed under Flash Tutorials















Wrong link! Goes to the Motion Tween tutorial not buttons… :o/ help!!
Sorry about that, it is fixed now.
how do you put actions on the button???
CAN YOU MAKE A SHAPE TWEENING TUTORIAL
@Dan: It says that in the tutorial. Just click on the button and open the actions panel (F9).
@Alex: Yep. I might make one today, if not maybe during the week sometime.
Great tutorials, i have seen all of them and there very helpfull.
say I was wondering.. how do you make the button link to a url? i always get an error
on(release){
getURL(”http://yoursite.com”);
}
how do you get the button to start at scene 24 or 12 or something higher than 2 so that I can make more than one button that lead to different things????
on(release){
gotoAndPlay(”Scene Name”, Frame);
}
If you wanted it to go to a scene called RaWR and frame 4 you would use
on(release){
gotoAndPlay(”RaWR”, 4);
}
THANKS!!!!
thx very much just wat i was looking 4!!!
Thanks! your tutorials help so much. Thx. I just finished my game with this tutorial!
[…] If you test your movie (Ctrl+Enter) now you should see a fully functioning game. But we still have to add a 2nd frame. To do this just click on the second frame and hit F6 to make a keyframe. Now just put a message like “You killed it” or something along those lines, and maybe a “Play Again?” button. If you dont know how to make buttons have a look at my Button tutorial. […]
hey, so dose this mean i could put sounds in my button?
Sure does.
HEEY AWESTY, I’VE BEEN WONDERING, WHAT DOSE “AQUA” BUTTON MEAN?
Umm… what aqua button?
HEY AWESTY, from the fight tute, i got the v-cam and it rocks!!!!!!!!!!
and an aqua button is like a 3-d button
i was wondering if there was a way i could make a start button for a game i have tried a few things but the wont work
on(release){
gotoAndStop(FRAME);
}
i got stuck at the part where you edit the button cuz when i do it every frame changes
That is the point. SO it changes when the mouse is over it, pressing on it and not touching it.
Great! thanks!
Hi awesty, I’ve made a button and I have a document in flash named “Speed Variable”, I put in:
on(release){
gotoAndPlay(”SpeedVariable”);
}
And nothing happens, also when do I put the stop and in my example where would I put the SpeedVariable in the stop()?
I dont understand what you are talking about. The .fla is called SpeedVariable?
Yes it is, oh and also if the .fla I was using was called Bikes and I wanted the button to go to frame 6 would the code be:
on(release){
gotoAndPlay(”Bikes”, 6);
}
huh? You just need to put the frame number.
Yeah, I have done that but it just keeps flashing one to another.
Is there more than 1 frame in the Bikes scene?
If any one wants to know how to make advanced buttons just put movieclips in to the buttons so like on the OVER FRAME insert a cool movie clip
Awesty how do you make URL’s come up in the same window not in a diffrent window?
(WEBSITES)
yeah, I would also like to know how to determinate where the page opens… I want my page to open in one of my frames when you click on it. (kind of a actionscript version of HTMLs target=”" would be very usefull)
HTML frames that is.. not the frames on flash
on(release){
getURL(”URL”);
}
cayenne pepper lemon juice diet…
one week Detox Plan lemon diet lemon juice diet…
Christmas and Holiday Gift Baskets and Gifts….
Get Well Gift Baskets…
I cant add script to the button =\ help
hey awesty i cant do the coding f i want the button to go to frame 2 what would it look like