A Flash Developer Resource Site

Results 1 to 1 of 1

Thread: Go to a Cue Point via a Button

  1. #1
    Junior Member
    Join Date
    Apr 2002
    Location
    Memphis
    Posts
    27

    Go to a Cue Point via a Button

    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!
    Last edited by ddane; 02-24-2006 at 01:38 PM. Reason: Clarification

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center