# Document class, display object, methods, order

**URL:** https://forum.kirupa.com/t/document-class-display-object-methods-order/242500
**Category:** Uncategorized
**Created:** [October 26, 2007, 4:40pm UTC](https://forum.kirupa.com/t/document-class-display-object-methods-order/242500 "2007-10-26T16:40:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![vmedium](https://avatars.discourse-cdn.com/v4/letter/v/8baadc/32.png) [@vmedium](https://forum.kirupa.com/u/vmedium)
#### Post date: [October 26, 2007, 4:40pm UTC](https://forum.kirupa.com/t/document-class-display-object-methods-order/242500/1 "2007-10-26T16:40:07Z")

</div>

When you write a document class, and have a method of that class called on frame 1 of the timeline, that tells the playhead to go to frame 10, and on frame 10 you have a movie clip, and in that function where you goto And Played, you also called this.checkForClip();, and checkFoCclip traces out the instance name of the clip that is on stage… why does it not know it’s there until some time in the future (86 milisecondsish) when the ENTER\_FRAME event fires… ?

Basically, how do you know from your document class, about movie clips that exist somewhere on the time line other than frame 1?

var
