This content has been marked as final. Show 4 replies
as2 or as3?
and in both a variable defined in a timeline frame is available to all subsequently played frames.
> Are variables global?
Not by default.
> if not, is there a way to make them global?
_global.varName = value;
> I have one frame where i would set a variable that would be used on another frame, would it work?
If the frames are on the same timeline then you should be fine accessing
the variable's value. If not, then the _global method is one that CAN
I'm sorry, AS3. And they are on the same timeline.
Thank you sberry and kglad. :)
You are both very helpful.
with as3 there is no global prefix for making timeline variables available everywhere.