PDA

View Full Version : [AS3] cue point navigation problem


param115
07-02-2009, 10:23 AM
Hi, I have problem with Actionscript cue point. my problem is when i click the button then how to reach the certain action script cue point. Please help me.
my flvPlayback instance name is vid and button name is my_btn.


vid.addASCuePoint(6.02, "one");//time cue
vid.addASCuePoint(3.02, "two");//time cue
my_btn.addEventListener(MouseEvent.CLICK,cueHandle r)
function cueHandler(event){

vid.seekToNavCuePoint("two")


}

param115
07-02-2009, 07:36 PM
Hi, I have problem with Actionscript cue point. my problem is when i click the button then how to reach the certain action script cue point. Please help me.
my flvPlayback instance name is vid and button name is my_btn.


vid.addASCuePoint(6.02, "one");//time cue
vid.addASCuePoint(3.02, "two");//time cue
my_btn.addEventListener(MouseEvent.CLICK,cueHandle r)
function cueHandler(event){

vid.seekToNavCuePoint("two")


}