Yeah is there a equvilant to a _global. property only so that its not _global.
Printable View
Yeah is there a equvilant to a _global. property only so that its not _global.
well if you put this on a timeline (_root timeline for this example)
var something:String = "hello";
then this will not be global in the _global sense.... for e.g if you were within a movieclip on that timeline then to access it from the movieclips timeline you would need to use a relative path _parent.something or absolute path _root.something
if you define it using the var keyword within a function then it will be a 'local' variable only available within the scope of that function..