# Do something after flv video finishes

**URL:** https://forum.kirupa.com/t/do-something-after-flv-video-finishes/245736
**Category:** Uncategorized
**Created:** [December 3, 2007, 3:28pm UTC](https://forum.kirupa.com/t/do-something-after-flv-video-finishes/245736 "2007-12-03T15:28:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![alapimba](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@alapimba](https://forum.kirupa.com/u/alapimba)
#### Post date: [December 3, 2007, 3:28pm UTC](https://forum.kirupa.com/t/do-something-after-flv-video-finishes/245736/1 "2007-12-03T15:28:43Z")

</div>

Hello  
i have a flv video playing in a frame. i’m using the flvplayback component. i want to when the video finish to do an action. like gotoandplay(“home”) but i can’t figure how to do that.  
i tried to add this code to the flvplayback instance but this didn’t worked:

```auto

on (complete) {
gotoAndPlay("home");
}

```

What i’m doing wrong?
