# Flv detection

**URL:** <https://forum.kirupa.com/t/flv-detection/202792>\
**Category:** Uncategorized\
**Created:** [October 4, 2006, 10:29pm UTC](https://forum.kirupa.com/t/flv-detection/202792 "2006-10-04T22:29:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigbstanley](https://avatars.discourse-cdn.com/v4/letter/b/977dab/32.png) [@bigbstanley](https://forum.kirupa.com/u/bigbstanley)\
**Post date:** [October 4, 2006, 10:29pm UTC](https://forum.kirupa.com/t/flv-detection/202792/1 "2006-10-04T22:29:09Z")

</div>

How can I tell when an FLV file is done playing to then perform some kind of action on my main timeline? I have a skin for the FLV file that is playing - I’m not sure if that makes a difference.

For example:

mymovie.onEnterFrame = function () {  
if (movie is done playing){  
\_root.gotoAndPlay(“partII”);  
}  
}

Thanx in advance!
