0 Replies Latest reply on Jan 31, 2011 3:53 PM by EMelville

    Can't get VideoDisplay Event to Fire when Loading is 100% Complete.

    EMelville Level 1



      I'm simply trying to get the VideoDisplay Component to play an alert after the current video is 100% loaded. Can anyone help? This is what I have:



      private function loadMyVideo():void
           myVideoWindow.source = "myvideo.flv";
           myVideoWindow.addEventListener(VideoEvent.READY, ambientVideoReady);
      private function ambientVideoReady(event:VideoEvent):void
           mx.controls.Alert.show ( "Video Ready!" );