-
Hi,
I was wondering if anyone knew what ActionScript I need to put inside a button for a 'close window' command. I've searched through the AS Reference Guide and can't find it anywhere in there.
Thanks in advance.
-
try
onMouseEvent
Press
getURL (Javascript:Window.Close())
"of course you'll need to put in all the appropriate tags in this script"
see if this works
-
Hey, monstermash,
Thanks for your help. Right after I posted my original message, I stumbled across my answer in the AS Reference Guide. I finally wound up using:
on(release)
fscommand("quit","true")
Thanks a million for your reply.
H.C.
-
no problem
i'm glad you found an answer. i've heard that fs commands are somewhat tricky on occasion so you might also try the javascript method. good luck.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|