# Slideshow xml issue. I think

**URL:** <https://forum.kirupa.com/t/slideshow-xml-issue-i-think/80628>\
**Category:** Uncategorized\
**Created:** [February 23, 2005, 4:02pm UTC](https://forum.kirupa.com/t/slideshow-xml-issue-i-think/80628 "2005-02-23T16:02:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naughty\_boy](https://avatars.discourse-cdn.com/v4/letter/n/4da419/32.png) [@Naughty\_boy](https://forum.kirupa.com/u/Naughty_boy)\
**Post date:** [February 23, 2005, 4:02pm UTC](https://forum.kirupa.com/t/slideshow-xml-issue-i-think/80628/1 "2005-02-23T16:02:04Z")

</div>

I have a movie that loads automattically on \_level3.

When I click on a button I want the movie to unload then go to a particular frame and a new movie to load.  
Button script

```auto
on (release) {
unloadMovieNum("_level3");
gotoAndPlay(80);
}

```

Script on frame 80

```auto
loadMovieNum("slideshow.swf", "_level3");
stop();

```

The new movie is an xml driven slideshow with some mods to make it automatically fade the pictures in and out.  
Everything is working up to this point.

Now I want to click on another button and have the new movie unload then go to another frame and have another new movie load.  
Button script

```auto
on (release) {
 unloadMovieNum("_level3");
 gotoAndStop(85);
}

```

Script on frame 85

```auto
loadMovieNum("slideshow2.swf", 3);

```

What is happening when I click to see the secod slide show is I go to the correct frame and the new slideshow starts to run, I see one picture then I get the first slide show again (the one that was supposed to have been unloaded), and it starts to run buggy.

Any ideas?
