14 Replies Latest reply on Dec 9, 2010 9:59 AM by kglad

    How to add "Smooth Motion" Action Script

    csjthomas Level 1

      Hello,

       

      Can anyone show me how to add AS3 code for "Smooth Motion" into the below code?

       

      Thank you!

       


      btnCloseBox.addEventListener(MouseEvent.CLICK, fl_ClickToHide_2);

       

      function fl_ClickToHide_2(event:MouseEvent):void
      {
          btnCloseBox.visible = false;
          imageBar.visible = false;
          closeFlag.visible = false;

       

      }

       

      btnOpenBox.addEventListener(MouseEvent.CLICK, fl_ClickToShow_2);

       

      function fl_ClickToShow_2(event:MouseEvent):void
      {
          btnCloseBox.visible = true;
          imageBar.visible = true;
          closeFlag.visible = true;

       

      }