# Preloading External .swf and then some

**URL:** <https://forum.kirupa.com/t/preloading-external-swf-and-then-some/175404>\
**Category:** Uncategorized\
**Created:** [January 14, 2006, 1:03am UTC](https://forum.kirupa.com/t/preloading-external-swf-and-then-some/175404 "2006-01-14T01:03:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hogfish](https://avatars.discourse-cdn.com/v4/letter/h/b19c9b/32.png) [@hogfish](https://forum.kirupa.com/u/hogfish)\
**Post date:** [January 14, 2006, 1:03am UTC](https://forum.kirupa.com/t/preloading-external-swf-and-then-some/175404/1 "2006-01-14T01:03:41Z")

</div>

Hey guys - I have an issue. I have an external swf file called com1.swf that I load in a MC called “comHolder”. I used the script below to load com1.swf.  
\_root.com.comHolder.loadMovie(com1.swf);

Here is what I want to do.

I need to know how to capture through action script when com1.swf reaches it’s end (when it has played all the way). Once I have captured that info I want to then go to Frame 2 where I have another script to load com2.swf.  
\_root.com.comHolder.loadMovie(com2.swf);

What it is part one tells a situation and then part two has the answers.

Thank you guys for your help.
