Simple Flash Button
Posted by Matthew Hancock
Tutorials April 11th, 2007 at 9:28 pmIn this tutorial I will explain how to make a simple flash button. This will be part one of the Flash button series.
To complete this tutorial, you must have Flash 8 installed. If you do not have Flash 8, you can download the 30 day trial.
Open flash and create a new document 250px by 250px. Select the Rectangle tool and draw a rectangle about 200px wide by 50px tall.
After creating the rectangle, select it by double-clicking the rectangle and select Modify > Convert to symbol from the toolbar (Or press F8) to convert the rectangle to a symbol. Name your symbol button_mc.
Once you have created your symbol, click it and select Window > Actions from the toolbar (Or press F9) to open your Actions code window. In the Actions panel, with your symbol selected, type the following code:
on (release) {
getURL("http://www.noobflash.com");
}
Select Control > Test Movie from the toolbar (Or press CTRL+Enter) to test your Flash movie. Click your button and you should be taken to the Noob Flash homepage.
That’s it! Pretty easy, huh? In the next lesson we will learn how to create this same button using nothing but ActionScript.
If you want you can download the Flash 8 Source File.




Recent Comments