# Control flv using cue points

**URL:** <https://forum.kirupa.com/t/control-flv-using-cue-points/281919>\
**Category:** Uncategorized\
**Created:** [February 15, 2009, 8:42am UTC](https://forum.kirupa.com/t/control-flv-using-cue-points/281919 "2009-02-15T08:42:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![smallDot](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@smallDot](https://forum.kirupa.com/u/smallDot)\
**Post date:** [February 15, 2009, 8:42am UTC](https://forum.kirupa.com/t/control-flv-using-cue-points/281919/1 "2009-02-15T08:42:18Z")

</div>

is there any way to control the external flv.  
lets say:

- the main timeline play
- in frame 5 it loads the flv
- in frame 30, the playhead stops as well as the flv
- in frame 31, the playhead play as we as the flv

i tried cue point as event, when i convert the “clouds” i added “stopFlv” as event.  
and i gave the FLVPlayback the instance “cloud\_mc”  
this is my code at frame 30:  
ActionScript Code:

```
 [LEFT][COLOR=#0000ff]stage[/COLOR].[COLOR=#000080]addEventListener[/COLOR][COLOR=#000000]([/COLOR]Event.[COLOR=#000080]ENTER_FRAME[/COLOR], con[COLOR=#000000])[/COLOR]

```

[COLOR=#000000] **function** [/COLOR] conCOLOR=#000000[/COLOR]:[COLOR=#0000ff]void[/COLOR][COLOR=#000000]{[/COLOR]  
cloud\_mc.[COLOR=#0000ff]stop[/COLOR]COLOR=#000000[/COLOR]  
[COLOR=#000000]}[/COLOR]  
[/LEFT]
