AS3 questions

  • Started
  • Last post
  • 2 Responses
  • voiceof

    I have little to know flash experience and my co-worker is still relatively new, so we are stumbling around in the dark right now.

    We are streaming an .flv file and using the stream time to trigger animations that utilize Caurina transitions. For whatever a few parameters aren't working; for example the delay function and a few transitions are ignored.
    So my question is, should the stream time be used as a trigger and/or is the stream time causing conflicts?

    An example of what we are doing is below:

    conn= new NetConnection();
    conn.connect(null);
    stream=new NetStream(conn);

    framesCurrent=(stream.time)*1000...

    if (framesCurrent>=15400)
    {
    Tweener.addTween(bullet01_mary, {alpha:1, delay:2, time:1, transition:"easeInOutSine"});
    }

    Thanks for any help

  • kumori040

    probably a better idea to embed CuePoints in the .FLV to trigger animations?

  • uan0

    I think your if statement will fire multiple times, as once your framesCurrent is bigger it will stay bigger.