# Problem with export classes frame

**URL:** https://forum.kirupa.com/t/problem-with-export-classes-frame/274131
**Category:** flash
**Created:** [October 25, 2008, 1:35pm UTC](https://forum.kirupa.com/t/problem-with-export-classes-frame/274131 "2008-10-25T13:35:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Stratboy](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/stratboy/32/3054_2.png) [@Stratboy](https://forum.kirupa.com/u/Stratboy)
#### Post date: [October 25, 2008, 1:35pm UTC](https://forum.kirupa.com/t/problem-with-export-classes-frame/274131/1 "2008-10-25T13:35:19Z")

</div>

Hi! Well, briefly (fla attached):

- there’s a movie clip in the stage (box)
- box has some code like this inside:

```auto

stop();

var holder:Sprite = new Sprite();
holder.mask = masker;
addChild(holder);

```

From the stage main timeline, frame 5, there’s a command like this:

```auto

trace(box);
trace(box.holder);

```

it traces:

```auto

"[object box_1]"
"[object Sprite]"

```

THE PROBLEM:

as soon as I set the export classes frame to something different form 1 (for ex. 4), the trace actions traces this:

```auto

"[object MovieClip]"
"undefined"

```

So, THE QUESTIONS:

- Why are the trace different?
- How can I reference box.holder from the stage main timeline when I export classes to a frame different from 1?

Please help! 🙂
