Flash CS3 FLV question

  • Started
  • Last post
  • 3 Responses
  • ********

    hey guys, i have an FlV with a cue point in it linked to a listener and a function - for some reason right when it hits the cue point during playback it flashes the little FLV symbol (new to CS3 i think)...anyone know why it does this or how to get around it? thanks in advance!

    ********
  • milo0

    are you pulling it in with the flv component or coding it?

    + I'm currently tearing my hair trying to access event cue point params...

  • ********
    0

    just imported the video with flash's own interface - ie file, import video, and then i set my cue point...I think that if its loaded dynamically or if the FLV is made differently it may be gone - if your curious my code looks like this:

    function onCuePoint(cp:Object) {
    cp.info.name = "loadContent"
    openingSeq.gotoAndPlay(1);
    loadContent();
    //trace("something");
    };
    openingSeq.addEventListener("cue... onCuePoint);

    function loadContent() {
    image_mc.gotoAndPlay(2);
    };

  • milo0

    just been reading about this - the general consensus is not to embed you pram's in your flv - just use the cuepoint to trigger other function... makes sense really

    as for your icon issue it maybe worth looking at coding the flv import rather then using flash's own thing..

    I followed the 8 step tutorials from gotoandLearn..

    the import code is tiny compared to using the flash flv component.

    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    var ns:NetStream = new NetStream(nc);
    ns.setBufferTime(1);
    theVideoInstance.attachVideo(ns...
    ns.play("whatever.flv");