Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
Opening a customized popup window from SWF movie.
Author: Mohamed Karmastaji
| Website: http://www.hawkuae.com |
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.
| » Level Intermediate |
|
|
Added: : 2002-09-19
Rating: 9.01 Votes: 443
Hits: 2226
|
| » Author |
|
Computer Science Student
|
| » Download |
|
Download the files used in this tutorial.
|
|
Download (237 kb)
|
|
Get conversion and unzipping tools
for PC and Mac here!
|
| » Forums |
|
More help? Search our boards for quick answers!
|
|
Please rate this tutorial, 10 is the top rating, you can also click the
comments link to read/write a review.
|
|
|