# Communicating with external swf

**URL:** https://forum.kirupa.com/t/communicating-with-external-swf/204872
**Category:** flash
**Created:** [October 24, 2006, 7:31am UTC](https://forum.kirupa.com/t/communicating-with-external-swf/204872 "2006-10-24T07:31:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![l\_affreux](https://avatars.discourse-cdn.com/v4/letter/l/b3f665/32.png) [@l\_affreux](https://forum.kirupa.com/u/l_affreux)
#### Post date: [October 24, 2006, 7:31am UTC](https://forum.kirupa.com/t/communicating-with-external-swf/204872/1 "2006-10-24T07:31:47Z")

</div>

This is my question, how can I communicate with an external swf, thats loaded into an empty movieclip?  
I would like to know if Im heading the right direction.

On the root timeline I put this script.

this.createEmptyMovieClip(“box”, 1);  
box.loadMovie(“test.swf”);

And then when I click on a button I want the external swf, which is test.swf to gotoAndPlay at keyframe.

On the button

on (release) {  
\_level1.gotoAndStop(“frame”);  
}

But somehow its not working.  
Help please.

Thanks in advance.
