A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Using FLV QuePoints to Play a MC

  1. #1
    Senior Member
    Join Date
    Dec 2000
    Posts
    620

    Using FLV QuePoints to Play a MC

    I have an FLV player using the Flash Components that plays an FLV.

    The FLV has 2 QuePoints, and 2 separate MCs to play.

    On QuePoint 1, I'd like it to play MC1.
    On QuePoint 2, I'd like it to play MC2.

    I know this is probably really simple, but I'm not finding a tutorial or explanation anywhere!

    Thanks a million in advance!
    -manny
    -could just be me though

    mannyme80

  2. #2
    Senior Member
    Join Date
    Dec 2000
    Posts
    620

    Boom!

    pop2 is the cuePoint
    cueTest is the FLV Playback Controller
    mcName is the MovieClip!


    var listenerObject:Object = new Object();
    listenerObject.cuePoint = function(eventObject:Object):Void {
    if (eventObject.info.name == "pop2") {
    mcName.gotoAndStop(2);
    }
    };
    cuetest.addEventListener("cuePoint", listenerObject);
    -could just be me though

    mannyme80

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