Step 1: Creating the button
and adding Actions to it:
In this Step you will create a button in
flash and I assume that you already now how to do this. After that we will
apply the actions on the button:
Right Click on the button> Select Actions
Apply the following Actions:
on (release) {
getURL("JavaScript:popup();");
}
What this code does is when you click on the button it will
call the popup function in the HEAD of the HTML file. popup is the name of
the function that we will generate.
You will have something like this:
After adding the Actions save the movie and
Publish it: File> Publish.
You should have 3 filrs: FLA, SWF, and the
HTML file.