A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: hyperlink text

  1. #1
    Member
    Join Date
    Jun 2001
    Posts
    43
    I have a text block in flash and I want to hyperlink some text to open a new window. Highlighting the type and adding the url in the text options panel works fine if I want to replace the window. But is there any way to add coding so the hyperlink opens up a new window on top [much like adding a _blank in the window option on a getURL action script]. And to take it a step further, is there a way to add coding similar to when loading a pop up window with action script?

    Thanks gurus.

  2. #2
    Senior Member
    Join Date
    May 2002
    Location
    Sioux Falls, SD
    Posts
    1,155
    make your text a button and put:

    on (release) {
    getURL ("www.yoursite.com", "_blank");
    }

    hope this helps

  3. #3
    If you press the html tag on in the text option box it will read html for you and you would need some code. like this...<a href=http://www.yoururl.com">text you want to highlight</a>

    and if you have a html ref it would be <a href="the name of page.htm">text you want to highlight</a>

    hope that helps

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center