# 1037 Error

**URL:** <https://forum.kirupa.com/t/1037-error/225245>\
**Category:** flash\
**Created:** [May 10, 2007, 12:18am UTC](https://forum.kirupa.com/t/1037-error/225245 "2007-05-10T00:18:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Icy\_Penguin](https://avatars.discourse-cdn.com/v4/letter/i/f6c823/32.png) [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)\
**Post date:** [May 10, 2007, 12:18am UTC](https://forum.kirupa.com/t/1037-error/225245/1 "2007-05-10T00:18:29Z")

</div>

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:

```auto

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.
