# External flv's, using cue points, and pausing video

**URL:** <https://forum.kirupa.com/t/external-flvs-using-cue-points-and-pausing-video/229867>\
**Category:** Uncategorized\
**Created:** [June 20, 2007, 8:18pm UTC](https://forum.kirupa.com/t/external-flvs-using-cue-points-and-pausing-video/229867 "2007-06-20T20:18:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wlw](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/wlw/32/3745_2.png) [@wlw](https://forum.kirupa.com/u/wlw)\
**Post date:** [June 20, 2007, 8:18pm UTC](https://forum.kirupa.com/t/external-flvs-using-cue-points-and-pausing-video/229867/1 "2007-06-20T20:18:52Z")

</div>

hey all,  
I need some help with the combination of these things. I dont know that much actionscript so this is an even more daunting problem. ANY help I can get even if its just how to use cue points that would be much appreciated.

Ok, after about a day and a half of searching how to use cue points I still have a vague idea of how to use cue points. but first, I’ll explain what i’m doing.

I have a FLA that I am loading an external movie into that I converted to a FLV. (easy enough) next I want the video to pause at a certain point (cue point). Then I want it to play again after you press a button.

I think using an actionscript cue point would be ok because I dont need it to stop “on a dime” but a general area of a few seconds. after a user presses a button, I want it to play again from either the same cue point or another one that I can create a little after the first. I have seen the “ns.onCuePoint = function(infoObject:Object)” function but I dont understand how to use it. Can anyone please help me?

so to re-itterate I have a few problems:

1. I need to create a/two actionscript cue point(s).
2. I need the video to pause at the first cue point.
3. I need it to play after the user presses a button at a the same cue point or a second cue point.

Currently this is the only code I have in to play the flv.

var nc:NetConnection = new NetConnection();  
nc.connect(null);  
var ns:NetStream = new NetStream(nc);  
videoPlayer.attachVideo(ns);  
ns.play(“00\_Site7.flv”);

Thanks in advance!  
wlw
