cue


    private function nextCue():void{ //Jump to next cue
     myVD.pause();
     if(index == cueArray.length-1){index=0}
     else {index++;}
     myVD.playheadTime = cueArray[index];
    }
    
    private function gotCue(event:CuePointEvent):void{ //Updating the index and traces
     index = cueArray.indexOf(event.cuePointTime);
     
     ta.text+= "Cue Point Namen : "+event.cuePointName+"\n";
     ta.text+= "Cue Point Time : "+event.cuePointTime+"\n";
     ta.text+= "----------------------------------------------\n";   
     
    }
   ]]>
  </mx:Script>