# Moviecliploader target timeline

**URL:** <https://forum.kirupa.com/t/moviecliploader-target-timeline/294683>\
**Category:** Uncategorized\
**Created:** [August 18, 2009, 3:19pm UTC](https://forum.kirupa.com/t/moviecliploader-target-timeline/294683 "2009-08-18T15:19:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![halian](https://avatars.discourse-cdn.com/v4/letter/h/45deac/32.png) [@halian](https://forum.kirupa.com/u/halian)\
**Post date:** [August 18, 2009, 3:19pm UTC](https://forum.kirupa.com/t/moviecliploader-target-timeline/294683/1 "2009-08-18T15:19:06Z")

</div>

For some reason I can’t access the timeline of the movie i’m loading.

currently, I have a swf (we’ll call it “loadME”) to be loaded. it sets a \_global variable for the timeline like so:

```auto

_global.mainTimeline = this

```

So then in another movie I load the aforementioned clip like so:

```auto
var mc:MovieClip = this.createEmptyMovieClip('holder',0);
var loa:MovieClipLoader = new MovieClipLoader();
loa.addListener(this);
loa.loadClip("loadME",mc);

function onLoadInit(mc:MovieClip){
trace('initialized'); //traces 'initialized'
trace(mc); //traces the instance
trace(mainTimeline); //traces undefined
trace(_global.mainTimeline); //traces undefined
}

```

the actual content loads, but I just can’t seem to access its timeline. I should mention that the \_global.mainTimeline is a movieclip on the stage of the clip to be loaded.
