# Flash\[CS3\]AS 2.0 help, load button after video finishes

**URL:** <https://forum.kirupa.com/t/flash-cs3-as-2-0-help-load-button-after-video-finishes/256635>\
**Category:** flash\
**Created:** [April 4, 2008, 9:39pm UTC](https://forum.kirupa.com/t/flash-cs3-as-2-0-help-load-button-after-video-finishes/256635 "2008-04-04T21:39:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![prospicience](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@prospicience](https://forum.kirupa.com/u/prospicience)\
**Post date:** [April 4, 2008, 9:39pm UTC](https://forum.kirupa.com/t/flash-cs3-as-2-0-help-load-button-after-video-finishes/256635/1 "2008-04-04T21:39:28Z")

</div>

Ok so here’s my problem:

I have 1 flash file in which has an animation playing. Once you press the play button I made it clears the animation and loads a .swf (we’ll call it 2.swf). Code looks like this

```php

on (release) { 
    stop();
    clip1_mc.gotoAndStop(1);
    unloadMovie(clip1_mc);
    unloadMovie(play_btn);
    loader_mc.loadMovie("2.swf"); 
} 

```

The 2.swf has a .flv inside of it which is loaded from our server (not embedded). I’d like once the .flv stops playing for a button I named replay\_btn to show up and be able to load the .flv one more time. I tried load commands but am probably doing it wrong. So I’m having one hell of a time trying to figure this out, [SIZE=5]big[/SIZE] thanks in advance if anyone can help!

Edit: heck if anyone knows just how to recall the 2.swf with the replay button that would be awesome.
