0 Replies Latest reply on Jan 12, 2007 6:36 AM by gluip

    ViewStack children show event?


      I use a viewstack containing some components and one of them is a component showing a video (using the mx:VideoDisplay). Now my problem is that i want the movie to start when the user sees the component (onShow?) and not before. So i cant use autoplay of the display control and no init on creationcomple. My code is like this

      <mx:ViewStack id="vs" height="100%" width="100%" >

      I also would like to be able to stop the movie when the user goes from VideoView to EndView. Is there some kind of event i can use to detect whether the VideoView just got (in)visible? I allready tried : show,activate,render.