3 Replies Latest reply on May 25, 2009 8:42 AM by Ned Murphy

    Stopping an flv using a conditional statement


      How would you stop an FLV using a conditional statement where the condition is if the FLV is playing?


      I'm using AS 3.0. My best shot was this:


      if (demo.flv == play){


      I'm sure the "== play" part is wrong, but I cannot find the correct code that checks to see if the video is currently playing.


      My flv component does have an instance name of "demo". The command "demo.flv.stop(); works fine as a non-conditional, but the flv is not always playing with my navigation set-up when you land on the frame with the code, so I need a conditional.