all groups > flash actionscript > april 2006 >
You're in the

flash actionscript

group:

restarting a Flash game afresh



Re: restarting a Flash game afresh pickle jar
4/28/2006 6:16:14 PM
flash actionscript: Does this help?

Re: restarting a Flash game afresh shyaway
4/28/2006 7:48:04 PM
Re: restarting a Flash game afresh shyaway
4/28/2006 8:47:46 PM
don't be shying away from trying before asking :)
restarting a Flash game afresh aa
4/28/2006 9:52:15 PM
When a user restarts an FLASH game I have to remove all the objects
dynamically created as well as to reset all the variables which were changed
in the course of the game.
Is there a function in AS which fould have an effect of closing down and
resrating an swf file so that the new game will start afresh?

Re: restarting a Flash game afresh aa
4/28/2006 11:35:44 PM
If you mean Delete mentioned there, then not really. It requires manually
applying it to every object to delete which I already am doing, and for this
purpose I need to keep track of all the objects created and variables
changed.

I wonder if using loadMovie(url,0) passing tha name of this very clip as a
paramenter to load itself will have an effect desired?

[quoted text, click to view]
http://www.sephiroth.it/reference.php?id=200&cat=1http://www.sephiroth.it/re
ference.php?id=200&cat=1

Re: restarting a Flash game afresh aa
4/29/2006 12:27:41 AM
And then loadMovie() ?

[quoted text, click to view]

Re: restarting a Flash game afresh aa
4/29/2006 4:40:23 AM
I need toREload a movie. Why do you think that UNload would suffice?

[quoted text, click to view]

AddThis Social Bookmark Button