# Controlling/loading/unloading external swf's

**URL:** <https://forum.kirupa.com/t/controlling-loading-unloading-external-swfs/180247>\
**Category:** Uncategorized\
**Created:** [February 27, 2006, 8:26am UTC](https://forum.kirupa.com/t/controlling-loading-unloading-external-swfs/180247 "2006-02-27T08:26:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Curtsong](https://avatars.discourse-cdn.com/v4/letter/c/87869e/32.png) [@Curtsong](https://forum.kirupa.com/u/Curtsong)\
**Post date:** [February 27, 2006, 8:26am UTC](https://forum.kirupa.com/t/controlling-loading-unloading-external-swfs/180247/1 "2006-02-27T08:26:09Z")

</div>

Flash 8 Pro/AS 2.0

I’m working on my website below. I’m not a brilliant Actionscript genius yet, far to go. Looking for Tutorial on how to load external movies, while controlling the loaded movies from action with in the \_root movie.

Goal: have the nav buttons load in the pages (separate created swf movies) into a Host movie container. While each swf movie has a transition playing out from it’s stop point to animate the page swiping off, I give the buttons this AS:

//play out loaded movie  
on(release) {  
\_root.myHost.gotoAndPlay(“Playout”);  
//load linked movie  
\_root.content\_mc.loadMovie(“Home.swf”);  
}

“Playout” is a label in each movie, because each movie is not the same frame length, I can’t use a frame number.

This works for the “HOME” nav button, but, I’m not getting it to work for other buttons, when I use the loadMovie(“Film.swf”) for example.

I would like to find a simple tutorial on this subject. I’m so eager to learn AS and yet, I find mySelf overwhelmed due to beginner’s fatigue. Any recommendations for tutorials and Books is welcome. Just a great place to start, would be helpful. 🙂

[www.curtsong.com](http://www.curtsong.com)
