0 Replies Latest reply on Sep 7, 2007 10:56 AM by Arne_Jacobsen

    NetStream.onStatus handler for end of FLV

    Arne_Jacobsen
      Hey,
      Basically I want to cue an event when an FLV playing through a netConnection/netStream is finished - if anybody has any tips it'd be much appreciated.

      I could put a CuePoint on the last frame of each FLV and use an onCuePoint Event Handler - but there must be an easier way?

      I'm assuming the 'NetStream.Play.Stop' Code Property won't do the job because then simply pausing the Video would cause the event to trigger, whereas I only want to trigger it at the very end of the stream.

      Is there a way of coding 'When my_ns.time == the last second of the stream then perform function X'?

      Thanks in advance for any assistance,
      Justin.