1037 Error

Hey everyone,

Just downloaded the CS3 Trial (just to fool around a bit).

Keep on getting a 1037 error (packages cannot be nested) whenever I publish my movie with a package. I just have some basic code I found from the AS3.0 TOTD Thread:


package {

    public class EnumerateClass {

        public var variable:String = "value";
        public function method():void {
        }
    }
}
var example:EnumerateClass = new EnumerateClass();
for (var key:String in example) {
    trace(key + ": " + example[key]);// no output
}

Anyone know why this is up? Thanks.