# FLV Cuepoint Question -- go to CuePoint?

**URL:** https://forum.kirupa.com/t/flv-cuepoint-question-go-to-cuepoint/231520
**Category:** flash
**Created:** [July 5, 2007, 2:39pm UTC](https://forum.kirupa.com/t/flv-cuepoint-question-go-to-cuepoint/231520 "2007-07-05T14:39:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![GeoffR](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@GeoffR](https://forum.kirupa.com/u/GeoffR)
#### Post date: [July 5, 2007, 2:39pm UTC](https://forum.kirupa.com/t/flv-cuepoint-question-go-to-cuepoint/231520/1 "2007-07-05T14:39:44Z")

</div>

Hi, I am new to FLV, and am having difficulty working out a few things about playing the FLV (for player 8).

1. Is there a way to prevent the black box appearing at the start and end of my video clip? It looks nasty. ( I have a white page… even white would look OK, but black is bad).

2. To try to get around this, I have been trying to send my playhead to a point near the start once the video is all but over (before it goes black). However, I can’t get it to go to the cue point… I can test for a cuepoint, but not sure how to navigate to it… It just keeps going to the very start, including the black!

Answer to these above questions greatly appreciated!

Here’s my code:

[COLOR=gray]var my\_flvPb:mx.video.FLVPlayback;  
var listenerObject:Object = new Object();  
listenerObject.cuePoint = function(eventObject:Object) {  
if (eventObject.info.name == “End”) {  
// go back to previous cuepoint from current time  
my\_flvPb.seekToPrevNavCuePoint(eventObject.info.time);  
//my\_flvPb.pause();  
}[/COLOR]

[COLOR=gray]};  
my\_flvPb.addEventListener(“cuePoint”,listenerObject);[/COLOR]

[COLOR=black]Thanks[/COLOR]  
[COLOR=black]Geoff[/COLOR]
