Results 1 to 2 of 2

Thread: Event Cue Points Triggering Graphics

Threaded View

  1. #1
    Join Date
    Jul 2009

    Cool Event Cue Points Triggering Graphics


    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 {

    function cueText(e:MetadataEvent):void{
    var cuePointName = e.info.name;
    if(cuePointName == "One"){
    info.text ="One";
    }else if(cuePointName =="Two"){
    info.text ="Two";
    }else if(cuePointName =="Three"){
    info.text = "Three";

    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
    Last edited by MultiMediaMan; 08-25-2009 at 03:53 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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

Recent Articles