# Play then unLoad and load New clip

**URL:** <https://forum.kirupa.com/t/play-then-unload-and-load-new-clip/297910>\
**Category:** Uncategorized\
**Created:** [October 10, 2009, 3:38am UTC](https://forum.kirupa.com/t/play-then-unload-and-load-new-clip/297910 "2009-10-10T03:38:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daimz](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/daimz/32/2383_2.png) [@Daimz](https://forum.kirupa.com/u/Daimz)\
**Post date:** [October 10, 2009, 3:38am UTC](https://forum.kirupa.com/t/play-then-unload-and-load-new-clip/297910/1 "2009-10-10T03:38:31Z")

</div>

```auto
aboutBtn.addEventListener(MouseEvent.CLICK, aboutLoad);
function aboutLoad(e:MouseEvent):void {
    ldr.source = "about.swf";
}

```

I am using the Ul Loder in Flash to load the pages of my website when the buttons are clicked. When my page loads it animates for a bit and I am also wanting it to animate befor it unloads. How do I tell it that on click of say ‘home’ it should play frame 6 of about.swf then when it’s finished playing ulLoad about.swf and load home.swf?
