1 Reply Latest reply on Apr 14, 2011 3:39 AM by mfriasvega

    Fade in TitleWindow

    mfriasvega

      Hi,

       

      I would like to apply a fade effect to a TitleWindow when a I click the close button.  The fade is always being ignored and the popup closes immediately. Why?

       

          <mx:Fade id="fade" duration="1000" target="{this}" alphaFrom="1.0" alphaTo="0.0"/>

       

       

          private function closeMe():void
                  {
                      fade.play();
                      PopUpManager.removePopUp(this);

                }

       

      Thanks,

      Manolo