# Detecting the end of an external swf file in an empty mc or loader

**URL:** <https://forum.kirupa.com/t/detecting-the-end-of-an-external-swf-file-in-an-empty-mc-or-loader/230602>\
**Category:** Uncategorized\
**Created:** [June 27, 2007, 4:31pm UTC](https://forum.kirupa.com/t/detecting-the-end-of-an-external-swf-file-in-an-empty-mc-or-loader/230602 "2007-06-27T16:31:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lill](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@Lill](https://forum.kirupa.com/u/Lill)\
**Post date:** [June 27, 2007, 4:31pm UTC](https://forum.kirupa.com/t/detecting-the-end-of-an-external-swf-file-in-an-empty-mc-or-loader/230602/1 "2007-06-27T16:31:32Z")

</div>

Hi!  
Im currently trying to upload an external swf file trough an empty mc.  
But since in this case i will be changing the swf file at times, i hope i could have an actionscript that detects the end of the external swf file and then gets the command gotoAndPlay(2).

thanks for reading

hope someone know how
