Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: [flasher] Help Resetting Variable |
From: | Steve Couture |
Date: | Mon, 26 Mar 2001 20:32:53 -0000 |
Hi!
One way to create variables on a game, is to create them on a movieclip.
for example you put all variables on a MC named variables.
(_root.Variables:MyVar = BLABLA)
To reset them you simply remove the MC on a frame and call this frame when
your game is over (or when you want to reset them).
If all is done and you put all your variables on the root, mmm... you will
have to reset them manually.. or you could also call a new scene.. I think
it could reset your variables.
bye
Steve
> > Hello,
>
> Can anyone please tell me how to reset a variable?
> I am using a variable in a game and I want the values to reset when they
start
> over.
> Any help would be greatly appreciated.
>
> Thanks
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> The Chinwag site carries a wealth of Flash resources.
> Find useful links, suggested reading and archives at:
>
> ** http://www.chinwag.com/flasher **
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> You are subscribed to flasher as: stevesarbakan [dot] com
> To unsubscribe, email leave-flasher-479416Klists [dot] chinwag [dot] com
>
>
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]