# Load and unload movie

**URL:** https://forum.kirupa.com/t/load-and-unload-movie/5318
**Category:** flash
**Created:** [September 7, 2002, 12:11pm UTC](https://forum.kirupa.com/t/load-and-unload-movie/5318 "2002-09-07T12:11:36Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![puneetbatra](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@puneetbatra](https://forum.kirupa.com/u/puneetbatra)
#### Post date: [September 7, 2002, 12:11pm UTC](https://forum.kirupa.com/t/load-and-unload-movie/5318/1 "2002-09-07T12:11:36Z")

</div>

My flash movie has two scenes at end of scene 2 i have load another movie using loadmovie. Now I wanna unload the loaded movie and directly go to scene 2 . Is there anyway by which I can directly jump to scne 2 instead of going through scene 1. I am using flash 5 and both moovies have same dimensions.

Please help  
Puneet Batra

* * *

free your mind

:pirate:

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 7, 2002, 12:30pm UTC](https://forum.kirupa.com/t/load-and-unload-movie/5318/2 "2002-09-07T12:30:33Z")

</div>

um well if ur loading up into a movie clip just use removeMovieClip

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 7, 2002, 12:41pm UTC](https://forum.kirupa.com/t/load-and-unload-movie/5318/3 "2002-09-07T12:41:31Z")

</div>

bezzer  
see both the movies have same dimension. i.e. i cant see movie 1 i can only see movie 2 … can movie remove itself …and waht about going to scene2 directly instead of scene1

puneet

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 8, 2002, 7:28am UTC](https://forum.kirupa.com/t/load-and-unload-movie/5318/4 "2002-09-08T07:28:29Z")

</div>

#### 

Availability  
Flash 2.

Usage  
gotoAndPlay(scene, frame)

Parameters  
scene The scene name to which the playhead is sent.  
frame The frame number or label to which the playhead is sent.

#### 

```
                                taken from Reference...

```

I gues…

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 8, 2002, 9:45am UTC](https://forum.kirupa.com/t/load-and-unload-movie/5318/5 "2002-09-08T09:45:29Z")

</div>

this doesnt works…suggest some other method. i have tried this method before posting for help here

Puneet

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 9, 2002, 3:40am UTC](https://forum.kirupa.com/t/load-and-unload-movie/5318/6 "2002-09-09T03:40:26Z")

</div>

I gues its becos you are trying to control main movie from loaded one…  
its inposible… I faced that fact too…  
I am lookig into this problem…

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 9, 2002, 4:23am UTC](https://forum.kirupa.com/t/load-and-unload-movie/5318/7 "2002-09-09T04:23:41Z")

</div>

\_root.gotoAndPlay(frame);

should work fine from a loaded movie. Ignore the scene name it’s not necessary.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 9, 2002, 4:33am UTC](https://forum.kirupa.com/t/load-and-unload-movie/5318/8 "2002-09-09T04:33:05Z")

</div>

by using \_root.gotoAndPlay(frame), u wont be able to go back to that scene.  
i have even tried \_level1.gotoAndPlay(frame), but it still doenst work…  
I need to go back to that scene since that scene have all the navigation bar.

:pirate:

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 9, 2002, 7:48pm UTC](https://forum.kirupa.com/t/load-and-unload-movie/5318/9 "2002-09-09T19:48:01Z")

</div>

it seams that i have same problem . . .

☹

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 10, 2002, 6:02am UTC](https://forum.kirupa.com/t/load-and-unload-movie/5318/10 "2002-09-10T06:02:49Z")

</div>

Is this a Flash 5.0 FLA? if so send it and the swf that get’s loaded to me in a zip file to [upuaut@centerspin.com](mailto:upuaut@centerspin.com).

The method I describe above is sound… if it’s not working then I’ll need to take a look at the rest of the production to figure out why it’s not working.
