# Button in loaded swf controlling stuff in loading swf?

**URL:** <https://forum.kirupa.com/t/button-in-loaded-swf-controlling-stuff-in-loading-swf/231069>\
**Category:** flash\
**Created:** [July 2, 2007, 12:01am UTC](https://forum.kirupa.com/t/button-in-loaded-swf-controlling-stuff-in-loading-swf/231069 "2007-07-02T00:01:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ohls](https://avatars.discourse-cdn.com/v4/letter/o/59ef9b/32.png) [@Ohls](https://forum.kirupa.com/u/Ohls)\
**Post date:** [July 2, 2007, 12:01am UTC](https://forum.kirupa.com/t/button-in-loaded-swf-controlling-stuff-in-loading-swf/231069/1 "2007-07-02T00:01:15Z")

</div>

I got a swf that loads various other .swfs. I’m trying to make a button inside the loaded swf that will load another swf in its place.

The script I used is:

[AS]this.invbut.onRelease = function() {  
loadMovie(“pages/frost.swf”, “stageloader”);  
};  
[/AS]

I’ve tried using \_root.loadMovie(), \_level0.loadmovie()(this replaces everything and dispays just the loaded swf). But neither worked.

Heres an image I made to try and explain things:

![](http://hundsteg.se/Erik/explain.jpg)

thanks!
