I am using Flash CS3 and ActionScript3.0 for development. I
am trying to run some sample codes from Adobe site [and also from
Flash Help, copied directly] but on compiling it throws "1037:
Packages cannot be nested.". I m totally clueless... my only
assumption is... this might be a Flash/Environment setting issue.
Even if it is an Env issue... how to resolve it? Any help!!
Thanks in Advance,
The example code in the online help is horribly inconsistent.
The example that you site is meant to be pasted into an .as
external file. If you want to use this code in an actionscript
frame space then you'll have to de-package the code. Look at my
example. You have to remove the package wrapper and the sprite
extension wrapper. Then remove the "Public" and "private" prefixes
from the functions. Finally you have to call the first