# Detect end of external file (swf) from main file

**URL:** <https://forum.kirupa.com/t/detect-end-of-external-file-swf-from-main-file/306217>\
**Category:** Uncategorized\
**Created:** [March 11, 2010, 9:52am UTC](https://forum.kirupa.com/t/detect-end-of-external-file-swf-from-main-file/306217 "2010-03-11T09:52:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![verlee](https://avatars.discourse-cdn.com/v4/letter/v/bcef8e/32.png) [@verlee](https://forum.kirupa.com/u/verlee)\
**Post date:** [March 11, 2010, 9:52am UTC](https://forum.kirupa.com/t/detect-end-of-external-file-swf-from-main-file/306217/1 "2010-03-11T09:52:23Z")

</div>

hi guys,

I have a video in .flv format that I have converted into .swf. And this .swf file, I have added it in into my main flash file by using Loader. And now, I want to detect when this video will finish playing so that I can go to the next frame which is not looping the video again and again.

So, any idea on how to do that?

many thanks…
