;

PDA

Click to See Complete Forum and Search --> : Go to a Cue Point via a Button


ddane
02-24-2006, 12:34 PM
I know this should be simple, but I'm just not getting it. I have an flv file being read into a FLVPlayback component. The video had navigation cue points added in the Falsh 8 video encoder. I have successfully made the cue points trigger events in the Flash file. What I'm having difficulty with is doing the flipside - talking to the cue points from the Flash file.

I want to simply send the flv to a specific cue point depending on the button that is selected. Each button calls the same function with its own parameter.

---The buttons are NOT component buttons, they are button class objects that I created. If I put a button component on the stage and use it with a listener, it works. I also tried my buttons with an event listener, but it doesn't work. Can I make this work with my own buttons?---

What I have on the main timeline is...

function selectMovie(thumbSelected) {
my_FLVplybk.seekToNavCuePoint(thumbSelected.toStri ng());
}

Doing a trace on thumbSelected, I can see that it's the correct name for each cue point. What am I doing wrong? Thanks for the help!