# Acessing a .swf through another .swf (loading issue)

**URL:** <https://forum.kirupa.com/t/acessing-a-swf-through-another-swf-loading-issue/290106>\
**Category:** flash\
**Created:** [June 9, 2009, 10:01pm UTC](https://forum.kirupa.com/t/acessing-a-swf-through-another-swf-loading-issue/290106 "2009-06-09T22:01:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flashdaddy](https://avatars.discourse-cdn.com/v4/letter/f/e36b37/32.png) [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Post date:** [June 9, 2009, 10:01pm UTC](https://forum.kirupa.com/t/acessing-a-swf-through-another-swf-loading-issue/290106/1 "2009-06-09T22:01:20Z")

</div>

Hey All,

So I have another issue that has me stumped (it’s been happening a lot on this project). I have three movieclips

1. clip1.swf
2. clip2.swf
3. clip3.swf

The way it works now is that clip1.swf loads the clip2.swf and clip2.swf loads the clip3.swf. I named clip2.swf to clip\_2 and so forth. I’m trying to access the main timeline of clip3.swf (clip\_3) which looks like:

from the main timeline of clip1.swf

```auto

trace(clip_2) //returns [Object MainTimeline]

```

but when I do

```auto

trace(clip_2.clip_3) //returns [null]

```

It’s because clip\_3 hasn’t fully loaded into clip\_2 and if I do an EnterFrame, I it says null twice, then it accesses the timeline of clip\_3 so it’s definitely a loading issue. Just need to figure out how to make clip\_1 load clip\_2 AFTER clip\_3 has loaded into clip\_2 any ideas on that one?
