# External swf problem

**URL:** <https://forum.kirupa.com/t/external-swf-problem/75079>\
**Category:** flash\
**Created:** [January 5, 2005, 8:51pm UTC](https://forum.kirupa.com/t/external-swf-problem/75079 "2005-01-05T20:51:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kiliaan856](https://avatars.discourse-cdn.com/v4/letter/k/67e7ee/32.png) [@kiliaan856](https://forum.kirupa.com/u/kiliaan856)\
**Post date:** [January 5, 2005, 8:51pm UTC](https://forum.kirupa.com/t/external-swf-problem/75079/1 "2005-01-05T20:51:35Z")

</div>

Hello everyone, I am a bit new to the world of externally loaded swf’s and I was wondering if someone could help answer a few questions.

I am trying to load an swf into my main movie, and then access/control the movieclips within that newly loaded swf, but for some reason it is not working. Could someone explain how this can be done? Here is a quick example:

```auto

    this.menu.createEmptyMovieClip("myMovieClip_mc",this.menu.getNextHighestDepth()+1); 
   this.menu.myMovieClip_mc.loadMovie("\\menu\\standard.swf",this.menu.getNextHighestDepth()+1); 
   this.menu.myMovieClip_mc._lockroot = true;
   
   trace(this.menu.myMovieClip_mc.option); 
  
   this.menu.myMovieClip_mc.onRollOver = function() { 
  trace("Hello?"); 
   this.bounce(120); 
  }
   
    

```

Okay this code does sucessfully create the movieclip but my onRollOver function does not work, and I cannot access any of the movieClips within myMovieClip\_mc such as option, it traces out as undefined.

```
Thanks for your help
```
