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

    LinkButton click animation

    Tikis_Mikis Level 1
      Ok so I have this mxml component:

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

      and my click event handler function:

      public function displayFilterForm():void
      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