-
What
s the best way to init a number of variables in AS3. Can
t stick a onClipEvent (load) on the MC itself anymore (no script on MC`s themselves), so any sugestion? -
Also, I noticed and remember reading that one can
t define (or actually...
override`) one variable in multiple frames of a MC timeline, e.g. in keyframe 1
var aaa:int;
Copy-pasting it to keyframe 2 gives an error message.
But it seems that if you define it once and only in first frame (and the MC loops at end of its timeline ) then its ok and flash doesn
t give any error when replaying from frame 1 and encountering the statement again.
So this is ok? I won`t encounter any problems if I assume above correct and continue working?
P