Hello,
I have an FLV Playback component with a custom navigation system. I am using AS3. I used navigation cue points for navigating through the video. I also have dynamic text that is updated as the video plays. Now, I need to also have event cue points that trigger graphics that go along with the video. What I am trying to do can be found here: http://www.kauzmic.com/Demos/flash/vod/vod.html
To load the images dynamically during the playing of the video, should I perhaps use the UL Loader Component?
My Actionscript is as follows:
import fl.video.VideoEvent;
import fl.video.MetadataEvent;
import fl.controls.List;
cueList.addEventListener(Event.CHANGE, playCue);
vid.addEventListener(MetadataEvent.CUE_POINT, cueText);
function playCue(e:Event):void {
vid.seekToNavCuePoint(e.target.selectedItem.data);
}
function cueText(e:MetadataEvent):void{
var cuePointName = e.info.name;
if(cuePointName == "One"){
info.text ="One";
slide.text="1";
;
}else if(cuePointName =="Two"){
info.text ="Two";
slide.text="2";
}else if(cuePointName =="Three"){
info.text = "Three";
slide.text="3";
}
}
Thank you for your help! It has been very difficult to find tutorials on this. I only made it this far because of a subscription to lynda.com