# Go to a frame when FLV has finish playing

**URL:** <https://forum.kirupa.com/t/go-to-a-frame-when-flv-has-finish-playing/283070>\
**Category:** Uncategorized\
**Created:** [March 2, 2009, 11:17am UTC](https://forum.kirupa.com/t/go-to-a-frame-when-flv-has-finish-playing/283070 "2009-03-02T11:17:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![grahammcuk](https://avatars.discourse-cdn.com/v4/letter/g/439d5e/32.png) [@grahammcuk](https://forum.kirupa.com/u/grahammcuk)\
**Post date:** [March 2, 2009, 11:17am UTC](https://forum.kirupa.com/t/go-to-a-frame-when-flv-has-finish-playing/283070/1 "2009-03-02T11:17:36Z")

</div>

[SIZE=1](apologies if ive submitted this question twice, i think this is where is should live!)[/SIZE]

Hey Guys,

As the title suggests, Ive got a standard flash file with the option to play one of three FLVs and when each flv is clicked it makes the others stop.

What I need to do is set an action so that when an flv reaches the end of its duration it goes to a specific frame in the timeline?

Im new to Actionscripting so any help will be appreciated!

Thanks!

ps. here is my code

```auto

stop();
import flash.events.MouseEvent;
import flash.media.SoundMixer;

//---People --//

people.addEventListener(MouseEvent.MOUSE_OVER, peopleover);
people.addEventListener(MouseEvent.MOUSE_OUT, peopleout);
people.addEventListener(MouseEvent.CLICK, peopleclick);

function peopleover(event:MouseEvent):void{
    people.alpha = 1;
}
function peopleout(event:MouseEvent):void{
    people.alpha = 0;
}

function peopleclick(event:MouseEvent):void{
    SoundMixer.stopAll();  
    gotoAndStop("getpeoplevid");
}

//---Ethics --//

ethics.addEventListener(MouseEvent.MOUSE_OVER, ethicsover);
ethics.addEventListener(MouseEvent.MOUSE_OUT, ethicsout);
ethics.addEventListener(MouseEvent.CLICK, ethicsclick);

function ethicsover(event:MouseEvent):void{
    ethics.alpha = 1;
}
function ethicsout(event:MouseEvent):void{
    ethics.alpha = 0;
}

function ethicsclick(event:MouseEvent):void{
    SoundMixer.stopAll();  
    gotoAndStop("getethicsvid");
}

//---ambition --//

ambition.addEventListener(MouseEvent.MOUSE_OVER, ambitionover);
ambition.addEventListener(MouseEvent.MOUSE_OUT, ambitionout);
ambition.addEventListener(MouseEvent.CLICK, ambitionclick);

function ambitionover(event:MouseEvent):void{
    ambition.alpha = 1;
}
function ambitionout(event:MouseEvent):void{
    ambition.alpha = 0;
}

function ambitionclick(event:MouseEvent):void{
    SoundMixer.stopAll();  
    gotoAndStop("getambitionvid");

```
