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

    Is there any concept of AUTOHIDE button in Flex?

      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?

      <?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]">
      public function launch1():void {

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