Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

closing flash movie with actionscript 3

Status
Not open for further replies.

simonWMC

Programmer
Dec 2, 2002
180
GB
hello, i feel a bit stupid asking this question, as i really should know........

what is the actionscript command to close down the movie ?

ta muchly
 
close_btn.onRelease = function(){
getURL("javascript:self.close()");
}
 
that is brilliant Bill - thankyou.

only, what about if not viewing in a browser, i need to publish for projecter. ie, as an exe
 
Then it's:

close_btn.onRelease = function(){
fscommand('quit');
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top