|
Software
: Flash v4
Tutorial : Creating a simple button in flash ...
Step 1.
Boot Flash ... for this tutorial im using flash version 4.
Step 2.
Draw a simple shape ... ill use a rectangle for this tutorial.
Step 3.
Maybe add some text to describe your button ... you can do this by clicking
the text button in the main toolbox.

Step 4.
Select the shape and the text then press F8 to convert your shape to
a symbol.
Give your symbol a name and ensure you select the Button option.
Step 5.
Now double click your symbol on the main stage.
Select the actions tab.

Step 6.
Click the add (+) button and select
Step 7.
Ensure you select the press parameter.

Step 8.
Click the add (+) button again and this time select Get URL

Step 9.
Add the URL you wish to open and click ok.
Step 10.
Now if you test your movie in flash .... you'll notice the button
wont work but if you preview your movie in a web browser or export the
movie and run it from your desktop the button should work fine.
Results
Opens browser window from a swf/flash file.
NB.
Under the mouse click events you can change the behaviour of your movie
on button clicks for example like in this tutorial we called a URL you
could use the mouse click event to jump to a frame/scene or submit a
form.
Experiment its the best way to learn in Flash.
Return to the tutorials page.
|