Internet Commerce

Partners & Affiliates














Developer Channel

internet.com


Tutorials Home What's New Top Rated Submit myTutes Random!

Search Tutorials


Tutorials Tutorials » Actionscripting

Categories Creating Flash Pop-Up Windows with the attachMovie method
Author: Elizabeth Whalen

 
Page 3
«prev 1 2 3

3: Add a button to your movie clip to close the pop-up window

The next step is to add a close button to your pop-up window. To do this, you’ll add a little more script to your movie clip.

  • Open your movie clip for the pop-up window.
  • Create or add a close button.
  • Add the following script to your close button:
on (press) {
 this.removeMovieclip("window");
}

The above script removes the "window" instance of your movie clip off the stage once the close button is pressed.

Enjoy your pop-up windows!

«prev 1 2 3

» Level Intermediate

Added: : 2003-03-01
Rating: 8.48 Votes: 110
Hits: 3981
» Author
Elizabeth Whalen is a technical writer interested in Flash and the Web.
» Download
Download the files used in this tutorial.
Download (8 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.
10 9 8 7 6 5 4 3 2 1
Read or Post Comments
 
   
 


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers