Also interesting to note here.

If you make two layers in the timeline and in the top layer you put

x = 10;

And the bottom layer you put 

trace(x);

you'll get 10.

However, if in the top layer you put

import SomeStaticClass;

And in the bottom layer you put

SomeStaticClass.someMethod();

It doesn't work.  Imports only work in the scope of the specific script
itself, not the clip those scripts are in, even though scripts in layers in
Flash allegedly work from top to bottom as if they were one big script.

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to