-
Hello all gurus. I am new to Actionscripting and was wondering if there is an action to close the window a Flash movie is playing in once it has run its course? Rather than looping it incessantly or having it stop and stare at the viewer. I would just like it to disappear. Any help would be greatly appreciated.
Thanks in advance,
Reeses
-
Moderator
I hate when my movies stare at me !!
Put this in the last frame of the movie:
getURL ("javascript:window.close()");
-
Dear Mr. Estudioworks,
That indeed worked. And I thank you very much. Sorry if I seem nitpicky, but when it reaches the command to close the window, a dialogue window opens stating that it is trying to close the window and the viewer has to click yes or no. Anyway around that, or is that just the way it is.
Thanks again.
Reeses
-
Moderator
It should only do that if your closing the main browser window. Use a pop window:
http://www.flash-db.com/PopUp/
And the names ERIC
-
Thank you, Eric.
I appreciate your time and knowledge.
Reeses
-
Owner of the ™ thread
Originally posted by estudioworks
And the names ERIC
lol , Mr.Estudioworks .... makes you feel realy old , no ?
-
Moderator
I am old !!
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
|