# FLV Cue Points - Scene Selection

**URL:** https://forum.kirupa.com/t/flv-cue-points-scene-selection/185229
**Category:** Uncategorized
**Created:** [April 11, 2006, 9:31pm UTC](https://forum.kirupa.com/t/flv-cue-points-scene-selection/185229 "2006-04-11T21:31:25Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![lorrendo](https://avatars.discourse-cdn.com/v4/letter/l/ad7895/32.png) [@lorrendo](https://forum.kirupa.com/u/lorrendo)
#### Post date: [April 11, 2006, 9:31pm UTC](https://forum.kirupa.com/t/flv-cue-points-scene-selection/185229/1 "2006-04-11T21:31:25Z")

</div>

I have an FLV file which plays back using the playback component.

I have added cue points into the FLV file.

I would like to create buttons that will go to the specified cue points. So If someone clicks on a button, it takes them to that part of the video. (kind of like a dvd scene selection menu).

Is this even possible? How would I go about doing it?

Thanks!

---

<div class="post-metadata">

### Author: ![lorrendo](https://avatars.discourse-cdn.com/v4/letter/l/ad7895/32.png) [@lorrendo](https://forum.kirupa.com/u/lorrendo)
#### Post date: [April 12, 2006, 1:50pm UTC](https://forum.kirupa.com/t/flv-cue-points-scene-selection/185229/2 "2006-04-12T13:50:21Z")

</div>

Does anyone know how this is done? I’m desperate.

I came across this solution on the macromedia site:  
“seekToCuePoint( “introduction” );”

But I don’t think thats right? Shouldn’t I have a tell target or something?

Thanks!

---

<div class="post-metadata">

### Author: ![claudio](https://avatars.discourse-cdn.com/v4/letter/c/7cd45c/32.png) [@claudio](https://forum.kirupa.com/u/claudio)
#### Post date: [April 12, 2006, 2:48pm UTC](https://forum.kirupa.com/t/flv-cue-points-scene-selection/185229/3 "2006-04-12T14:48:28Z")

</div>

This link might enlighten you.

[http://www.macromedia.com/devnet/flash/articles/media\_behaviors.html](http://www.macromedia.com/devnet/flash/articles/media_behaviors.html)

---

<div class="post-metadata">

### Author: ![lorrendo](https://avatars.discourse-cdn.com/v4/letter/l/ad7895/32.png) [@lorrendo](https://forum.kirupa.com/u/lorrendo)
#### Post date: [April 12, 2006, 4:48pm UTC](https://forum.kirupa.com/t/flv-cue-points-scene-selection/185229/4 "2006-04-12T16:48:44Z")

</div>

Thanks Claudio!

That seems to work.

However, I have another issue. It only appears to work with the Media Playback component. I’m using the FLV Playback Component (Flash 8) with a custom skin, and I can’t get it to work.

Is there another way I can accomplish this? Worst case, I guess I’ll have to use the old media player component.

Thanks again!

---

<div class="post-metadata">

### Author: ![claudio](https://avatars.discourse-cdn.com/v4/letter/c/7cd45c/32.png) [@claudio](https://forum.kirupa.com/u/claudio)
#### Post date: [April 12, 2006, 5:07pm UTC](https://forum.kirupa.com/t/flv-cue-points-scene-selection/185229/5 "2006-04-12T17:07:02Z")

</div>

Well, i have never tried the FLV Playback component, but i have just read the methods available and there is a seekToNavCuePoint method there 😉

---

<div class="post-metadata">

### Author: ![lorrendo](https://avatars.discourse-cdn.com/v4/letter/l/ad7895/32.png) [@lorrendo](https://forum.kirupa.com/u/lorrendo)
#### Post date: [April 12, 2006, 6:03pm UTC](https://forum.kirupa.com/t/flv-cue-points-scene-selection/185229/6 "2006-04-12T18:03:10Z")

</div>

So basically, I need something like this:

on (click) {  
this.\_parent.myMediaControl1.seekToNavCuePoint(“cue1”); }

I know basic scripting, but this is going over my head… It gives me the error message “Invalid seek”.

---

<div class="post-metadata">

### Author: ![claudio](https://avatars.discourse-cdn.com/v4/letter/c/7cd45c/32.png) [@claudio](https://forum.kirupa.com/u/claudio)
#### Post date: [April 12, 2006, 6:21pm UTC](https://forum.kirupa.com/t/flv-cue-points-scene-selection/185229/7 "2006-04-12T18:21:23Z")

</div>

> [@lorrendo](#):
>
> So basically, I need something like this:
> 
> on (click) {  
> this.\_parent.myMediaControl1.seekToNavCuePoint(“cue1”); }
> 
> I know basic scripting, but this is going over my head… It gives me the error message “Invalid seek”.

Then maybe cue1 is not a cue point. Check that.

---

<div class="post-metadata">

### Author: ![lorrendo](https://avatars.discourse-cdn.com/v4/letter/l/ad7895/32.png) [@lorrendo](https://forum.kirupa.com/u/lorrendo)
#### Post date: [April 12, 2006, 6:55pm UTC](https://forum.kirupa.com/t/flv-cue-points-scene-selection/185229/8 "2006-04-12T18:55:32Z")

</div>

Thanks Claudio!

It was definitely a cue point. However, I went back into Flash Video Encoder, and started playing around. I created one cue point with the type “Navigation”. and then used that video in my project. When I clicked the button. It went to that cue point.

The script I used was:

on (click) {

this.\_parent.myMediaControl1.seekToNavCuePoint(“cue1”);

}

Thanks again for your help!

---

<div class="post-metadata">

### Author: ![claudio](https://avatars.discourse-cdn.com/v4/letter/c/7cd45c/32.png) [@claudio](https://forum.kirupa.com/u/claudio)
#### Post date: [April 12, 2006, 6:59pm UTC](https://forum.kirupa.com/t/flv-cue-points-scene-selection/185229/9 "2006-04-12T18:59:56Z")

</div>

Anytime man, glad i could help. 🙂
