# Loaded movies control

**URL:** <https://forum.kirupa.com/t/loaded-movies-control/198053>\
**Category:** Uncategorized\
**Created:** [August 22, 2006, 2:39am UTC](https://forum.kirupa.com/t/loaded-movies-control/198053 "2006-08-22T02:39:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![freshair](https://avatars.discourse-cdn.com/v4/letter/f/7ab992/32.png) [@freshair](https://forum.kirupa.com/u/freshair)\
**Post date:** [August 22, 2006, 2:39am UTC](https://forum.kirupa.com/t/loaded-movies-control/198053/1 "2006-08-22T02:39:25Z")

</div>

I loaded a movie “A” into a \_placeholder by pressing a button. When that movie gets to the end (frame 5), it should automaticlaly unload and load movie “B” in the same \_placeholder. Specifically, how do I address the movie “A”?

so far:

\_button.onRelease = function () {  
\_placeHolder.loadMovie(“A.swf”, 1);  
}

if ((\_placeHolder.\_currentframe) ==5) {  
unloadMovie (\_placeHolder);  
\_placeHolder.loadMovie(“B.swf”,1);  
}
