kennethkawamoto
Technical User
Apart from local variables used within a function, all Flash variables are global variables and can be defined anywhere (not only in the main timeline) and accessible from anywhere.
In Director, in addition to local variables and
variables, there are
variables.
's scope is limited to within its script object but can be accessible from anywhere.
variable can be defined absolutely anywhere in the Director movie and once defined, it is available from anywhere, anytime.
To define and access
variables, you need to declare:
That's it!
In Director, in addition to local variables and
Code:
global
Code:
property
Code:
property
Code:
global
To define and access
Code:
global
Code:
global someVariable