A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Actions/Frame Text Hyperlink Help!!!!!!!!

  1. #1
    Junior Member
    Join Date
    Mar 2005

    Actions/Frame Text Hyperlink Help!!!!!!!!

    It seems so simple and yet it is so hard! All I want to do is create a text hyperlink in the Text Variables area of my actions frame...I have modified all of my content in there and everything looks great with the excetion of this issue!

    If someone could give me an example of the correct script from the beginning to end I would be SO VERY GRATEFUL...I am loosing my patience and have spent way too much time with syntax errors to last a LIFETIME!

    Right Now I am only displaying this text in the text variable frame...

    text ="<b>Ultimate Trade Shows:</b> www.tsnn.com"+newline+newline+"<b>Seminar Information:</b> www.seminarinformation.com"+newline+newline+"<b>Juvenile Product Manufacturers Association:</b> www.jpma.org"+newline+newline+"<b>GiftWare News:</b> www.giftwarenes.com"

  2. #2
    Rainy Day Member eightamrock's Avatar
    Join Date
    Jun 2003
    Neshanic Station NJ
    you would have to do something like this

    textvar = "blah blah blah <a href=\"http://www.rainydaymedia.com/\" target = \"blank\">my website</a>blah blah blah";

    you need to break out of the code line with the reverse slash before putting in more quotation marks.

    you will however need to manually add the colors you want the link to be in the same fashion with html codes. Flash will not recognize that it is a link and make it blue, underlined or whatever.

    here is an fla with an example .

    You have to make sure that you are using a dynamic text field and it is rendered as html.

    Last edited by eightamrock; 03-01-2005 at 08:16 PM.
    "Shhhhh I have insomnia and Im trying to sleep it off."

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