Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Are variables global in a flash movie?
From: KTewes
Date: Sun, 19 Dec 1999 17:33:40 GMT

Hi Kal,
let�s say, you set your variable in the main timeline. Now - if you want
change this variable or simply get it�s value you always have to write down
the full path to the variable. So, in this example it would be /:yourvari or
_level0/:yourvar. If the Var. was set in a MC in the maintimeline (let�s call
the mc "counter" by instance-name) the path would be:
_level0/counter:yourvar. So, variables are global, but you must know the
correct path to them. I usually have my variables in the main-timeline, so
variables are quite easy to adress - always in the same way. You could also
think about a separate film, just for variables, loaded in its own level - it
depends.

Hope, this helps
Kalle

Kalle


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]