just declare you variable in the first frame of the main timeline. Unless you put Var infront of it, it will be global. i.e. var variable = 100; this is a local variable variable = 100; is a global variable and can be referenced from any timeline as _root.variable
Hope this helps
A
----- Original Message ----- From: judre Perreault <judre@hotmail.com> To: <flasher@chinwag.com> Sent: Wednesday, December 27, 2000 9:56 PM Subject: FLASH: how to set global variable
> Hi - > > I would like to set up a global variable and play with it. Is there anyway > to do that in Flash??? > > Thanks! > ____ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > flasher is generously supported by... > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > flashforward2000 and the Flash(tm) Film Festival > November 27-29, 2000, LONDON, National Film Theatre > > Produced by United Digital Artists and lynda.com > -Sponsored by Macromedia, Adobe Systems and Apple Computer > -http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526 > Register before November 10 and save £200 > http:// www.flashforward2000.com > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > To unsubscribe or change your list settings go to > http://www.chinwag.com/flasher or email help@chinwag.com > >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ flasher is generously supported by... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ flashforward2000 and the Flash(tm) Film Festival November 27-29, 2000, LONDON, National Film Theatre
Produced by United Digital Artists and lynda.com -Sponsored by Macromedia, Adobe Systems and Apple Computer -http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526 Register before November 10 and save £200 http:// www.flashforward2000.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To unsubscribe or change your list settings go to http://www.chinwag.com/flasher or email help@chinwag.com