3 Replies Latest reply on Jun 3, 2008 1:14 PM by ntsiii

    Is there any concept of AUTOHIDE button in Flex?

    Shelady
      Hi,
      In my project there is a .flv which starts playing as soon as I click on it. I want to put a Play / Pause Button on "top" of the .flv which should hide as soon as user has no mouse movement on the .flv area and appear as soon as mouse move inside the .flv area.
      Any suggestions?
      Thanks

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml"
      layout="absolute" backgroundColor="#ffffff"
      backgroundGradientAlphas="[1.0, 1.0]"
      backgroundGradientColors="[#000000, #000000]">
      <mx:Script>
      <![CDATA[
      public function launch1():void {
      myVid.play();
      }
      ]]>
      </mx:Script>

      <mx:VideoDisplay id="myVid" height="270" width="290" source="MachineDefrag.flv"
      autoPlay="false" buttonMode="true" useHandCursor="true" click="launch1()"/>
      </mx:Application>