Announcement

Collapse
No announcement yet.

Creating Link in a Text Object

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Creating Link in a Text Object

    We just bought AMS4 yesterday for our project.

    I've created a Text Object which contains some text with URLs and email address.

    How can I make the URLs and the email address clickable and when the user clicks on an URL or email address, the users default browser or email applications starts?

    Maybe it's not correct way, so any ideas or help is welcomme.

    AMS4 is a great product, its easy to use and has many features.

  • #2
    Re: Creating Link in a Text Object

    You're in for a treat -- what you want to do is really, really easy. [img]/ubbthreads/images/icons/smile.gif[/img]

    The best way is probably to split up those URLs and email addresses into separate text objects, so each one can be clicked separately.

    (You could also use a bunch of hotspot objects to make different parts of your existing text object clickable, but that would be harder to maintain in the long run.)

    Then, add a File - Open action to each text object's On Click event, to open the appropriate URL or mailto: address.

    See Chapter 8: Actions in the User's Guide, and Example: Opening a web page in the user's default browser in the Command Reference.
    --[[ Indigo Rose Software Developer ]]

    Comment


    • #3
      Re: Creating Link in a Text Object

      I would suggest using a list box if you have a list of links as opposed to a bunch of separate objects. Much easier to build and maintain. One example of that can be found at http://www.indigorose.com/temp_web/list_click.zip

      Corey Milner
      Creative Director, Indigo Rose Software

      Comment

      Working...
      X