# Need help loading and playing movies on multiple levels

**URL:** https://forum.kirupa.com/t/need-help-loading-and-playing-movies-on-multiple-levels/157999
**Category:** Uncategorized
**Created:** [August 5, 2005, 6:20pm UTC](https://forum.kirupa.com/t/need-help-loading-and-playing-movies-on-multiple-levels/157999 "2005-08-05T18:20:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Fireflight](https://avatars.discourse-cdn.com/v4/letter/f/85e7bf/32.png) [@Fireflight](https://forum.kirupa.com/u/Fireflight)
#### Post date: [August 5, 2005, 6:20pm UTC](https://forum.kirupa.com/t/need-help-loading-and-playing-movies-on-multiple-levels/157999/1 "2005-08-05T18:20:21Z")

</div>

Ok, I keep hitting Command-left arrow and deleting my message in progress, so I’m going to try and get through this without having to type this out for a fourth time.

I’m using site.swf to load different sections of my site (profile, portfolio, contact, etc.) each into their own level (level 1 for profile, 2 for portfolio, and so on).

The problem that I’m having is once I’ve loaded profile into level 1 and have a new navbar on screen I want to load and play the portfolio movie without having to go to site.swf. So instead of the user going profile.swf \> site.swf \> portfolio.swf I’d like them to be able to go from profile.swf \> portfolio.swf. Basically move from subsection to subsection without interacting with site.swf (unless they hit the home button).

Now as I said earlier, I wanted each subsection to load into it’s own level. So profile.swf is level 1 and portfolio.swf is level 2. I thought all that would be needed would be to load the portfolio into level 2, unload level 1 and then play level 2. So users could hop from subsection to subsection and each movie would get loaded and unloaded as needed.

The problem is that I can’t get the portfolio movie to start playing after it’s loaded into level 2. Here’s one version of the code I was playing with.

```auto
on (release) {
	loadMovieNum("portfolio.swf", 2);
	unloadMovieNum(1);
	_level2.play();
}

```

I’ve tried adding \_root in front of the loadmovie and play commands, but nothing seems to work!

Can anyone help? Thanks!
