3 Replies Latest reply on Mar 27, 2013 9:55 AM by resdesign

    Can text within a box be given an action?

    ladal9

      I'm using Animate to create a lesson/course and I would like to be able to click on a word in the text and have a new text box open with a definition/explanation of the word clicked.  Is there a way to do that in Animate?  I haven't been able to figure it out.

       

      Thanks

        • 1. Re: Can text within a box be given an action?
          resdesign Adobe Community Professional & MVP

          You can do that with html. I also do courses. I usually create an array with the data I need and then update the text boxes with that data.

          You can use any event on your text boxes too.

          Let us know if you need more guidance and example files.

          • 2. Re: Can text within a box be given an action?
            elainecc Adobe Employee

            Hi, ladal9-

             

            In order for text to have an action posted to it, you will need to have only the text you're clicking to be in its own text div.  There is no way for you to isolate one word in a paragraph in a text div and have that display.  You could always try putting together a hit point of a transparent div, but since the text will flow differently depending on the user's zoom settings, etc., it's not a good solution.

             

            Hope that helps,

             

            -Elaine

            • 3. Re: Can text within a box be given an action?
              resdesign Adobe Community Professional & MVP

              I guess I did not quite understand the question.

              It seems that trunkating the text would work best in this case but again it seems a little dangerous considering the many possible resolutions and zoom settings as you mentioned. A different approach may be needed.