0 Replies Latest reply on May 21, 2008 2:24 PM by Tikis_Mikis

    LinkButton click animation

    Tikis_Mikis
      Ok so I have this mxml component:

      <mx:Canvas x="0" y="2" width="469" height="22"
      id="filterHideCanvas"
      visible="true">
      <mx:LinkButton id="showFilterForm" label="Filter Results" click="displayFilterForm();"/>
      </mx:Canvas>

      and my click event handler function:

      public function displayFilterForm():void
      {
      //Alert.show("sdf");
      var move:Move = new Move();
      move.xFrom = 0;
      move.xTo = 150;
      move.easingFunction = Bounce.easeOut;
      move.duration = 1000;

      showFilterForm.setStyle("showEffect", move);
      }

      But no animation takes place! can anyone help me!! Thank you