# Code for quickly loading and unloading a movie - AS2 in CS3

**URL:** <https://forum.kirupa.com/t/code-for-quickly-loading-and-unloading-a-movie-as2-in-cs3/258387>\
**Category:** Uncategorized\
**Created:** [April 23, 2008, 4:05pm UTC](https://forum.kirupa.com/t/code-for-quickly-loading-and-unloading-a-movie-as2-in-cs3/258387 "2008-04-23T16:05:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eLearningDev](https://avatars.discourse-cdn.com/v4/letter/e/a698b9/32.png) [@eLearningDev](https://forum.kirupa.com/u/eLearningDev)\
**Post date:** [April 23, 2008, 4:05pm UTC](https://forum.kirupa.com/t/code-for-quickly-loading-and-unloading-a-movie-as2-in-cs3/258387/1 "2008-04-23T16:05:44Z")

</div>

I have a custom swf player, in which content is preloaded. Some of the third-party Flash content (from Captivate) I load in the player needs to be unloaded and loaded again in order to completely reset its content (rewinding, going to frame 0, does not work). Does anyone have an example of a good way to do this, as I am rather new to Flash?
