0 Replies Latest reply on Apr 9, 2008 10:36 AM by Tikis_Mikis

    Default AS3 Text component bounce effect help

    Tikis_Mikis
      I tried posting this in an Actionscript forum without much help. I hope someone here can point me in the right direction.

      So I need help trying to figure out how to add an AS3 effect to an AS3 Text component.

      var savedNote.Text = new Text();
      savedNote.text = "Selected options have been saved!";
      savedNote.visible = false;

      var submitButton.Button = new Button();
      submitButton.label = "Save selected options";
      submitButton.addEventListener(MouseEvent.CLICK, onSubmitButtonClickedHandler);

      public function onSubmitButtonClickedHandler(event:Event):void
      {
      //here set the visible for the text to true but i want a bouncing effect
      // to be applied to the text component "savedNote" each time the button is clicked - HOW
      savedNote.visible = true;
      }

      so each time the user clicks on the button I want the text to appear the first time and then have a bouncy effect so that the user know the action to save when button is clicked actually took place.

      HOW do I do this with AS3??? Thank you! if anyone can point me to online tutorials that would be great!