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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

making a close window button

Status
Not open for further replies.

mxg257

Programmer
Jul 11, 2003
10
0
0
US
Anyone know what commands to use on a button so it will close the current movie window on a 'mouseDown'? Thanks!
 
Do you mean you have a single director movie playing and you want to close it?

on mouseup me
quit
end

OR do you mean that your original Director movie opened up several windows and you want to close the current one:

on mouseUp me
closeMe = the activeWindow
close window (closeMe)
end


3Y3
 
Probably the former... Thanks for your help, for some reason I could not find it anywhere... simple as it might be!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top