A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: dynamic text boxes - would like to target html link to "_top"

Hybrid View

  1. #1
    Member
    Join Date
    Apr 2001
    Posts
    47
    I have text boxes (within a standalone projector) that have links to web sites. I have specified the following for the text box:


    TEXT OPTIONS TAB:

    Dynamic Text
    Multi Line
    Variable is: TextField101
    The HTML box is checked.


    CHARACTER TAB:

    URL= http://www.website.com (I would like to specifiy target="_top" here but it removes it)


    Is this something that needs to be specified in ActionScript or somewhere else?

    Thanks for the help!

  2. #2
    Junior Member
    Join Date
    Jan 2001
    Posts
    23

    use actual html

    Hey, what's up?

    instead of using the url box, just insert the html into the text like so:::::

    var Text = "lets <a href=\"http://www.mysite.com\" target=\"top\"> go here </a>

    the key is to specify the target in the html link in the text box,

    hope that helps.


  3. #3
    Member
    Join Date
    Apr 2001
    Posts
    47

    I must be missing something....

    I must be dumb today.... or I may need you to draw me a picture of this with Crayons

    I tried the code you suggested but am not getting the right results


    You suggested putting this code right in the text box with all the other text, correct?
    --------------------------
    For example:

    This is the text in the text box and you should visit this link, so
    var Text = "lets <a href=\"http://www.mysite.com\" target=\"top\"> go here </a> .
    --------------------------

    The result I thought I would get is:

    This is the text in the text box and you should visit this link, so lets go here.
    ------------------------------

    I tried different variations of the code you gave me... what am I doing wrong (besides working today)

    Am I missing some "'s or anything?

    Thanks again....




  4. #4
    Junior Member
    Join Date
    Jan 2001
    Posts
    23

    no sweat

    we all have days like this.


    I'm assuming you know html

    http://www.jemayhew.com/untitled-1.gif

    hope that helps

  5. #5
    Junior Member
    Join Date
    Jan 2001
    Posts
    23


    lets try that agian

  6. #6
    Member
    Join Date
    Apr 2001
    Posts
    47

    Thanks!

    All I can say is "DUH!!!"

    Thanks for the AWESOME picture!
    You draw well with Crayons

    Just needed a picture to get it though my head. You are wonderful!!! Many thanks!

  7. #7
    Junior Member
    Join Date
    Jan 2001
    Posts
    23

    anytime

    don't mention it...

    Here's my secret to good flash coding...

    drink mocha cappacunios right up to the point where you think you'll puke from all the caffiene...then go to it.

    really gets the brain cooking.

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