2 Replies Latest reply on Jul 3, 2006 10:12 AM by resqbull123

    Dynamic text question

    resqbull123
      I need help as a new user on how to make a dynamic text box pop-up text on rolling over a button in a frame.

      Any help you could provide would be greatly appreciated.

      Thanks
        • 1. Re: Dynamic text question
          jag57
          Give the button a name using the property inspector on the button.

          Click on the frame with the button and press F9 to open the Actions panel.

          Type this code:

          buttonName.onRollOver = function()
          {
          this.createTextField("TextToDisplay", 1, 0, 0, 300, 100);
          }

          Replace buttonName with the name you gave the button. This code creates a TextField with dimensions 300x100, a depth of 1, and coordinates (0,0).
          • 2. Re: Dynamic text question
            resqbull123 Level 1
            I do not get an error anymore, but i still do nto se anything when i test the flash on roll over. Any other ideas?

            I appreciate your help.