Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #1

    Default hyperlink bug?!

    Hi There,

    Director seems to have a problem return dynamic hyperlinks such as the following:

    [url]http://www.google.com/search?num=50&hl=en&lr=lang_en%7Clang_pt&ie=UTF-8&oe=utf-8&safe=off&q=dynamic+hyperLink+director+lingo&btnG =Google+Search[/url]

    It seems to get stuck on the = characters and therefore it only returns the following:

    [url]http://www.google.com/search?num[/url]

    Anyone is aware of this and/or knows of a solution or workaround?

    Any help would be extremely appreciated.
    Thanks in advance.

    ------------------------------------------
    Here it is the code, hope it helps:

    on mouseWithin
    if pointInHyperlink(sRef, the mouseLoc) = 1 then
    wordNum = sRef.pointToWord(the mouseLoc)
    link = sRef.member.word[wordNum].hyperlink
    put link
    end if
    end



    Siulca webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. hyperlink
      In my older version of publisher I could just make a link to the pdf file on my hard drive, and when I uploaded it to my ftp site the link would...
    2. No hyperlink
      The help function directs my to go to "insert" and choose "hyperlink" . These items do not exist on the tool bar, anywhere. Whats going on? Am I...
    3. asp:hyperlink
      Does anyone know when you NEED to use asp:HyperLink versus a regular Href? An example would be greatly appreciated.
    4. Need Help with Hyperlink in a SWF
      Hello, I recently purchased a nice little flash based web site. I am by no means a flash expert, however I know just enough to be dangerous. I am...
    5. Dynamically Hyperlink and Event Handler for the Hyperlink ?
      Hi, I´m creating an Hyperlink dynamically for my DataGrid: HyperLink hl = new HyperLink(); hl.Text = "MyLink"; hl.NavigateUrl = "#";...
  3. #2

    Default Re: hyperlink bug?!

    I hand entered your link path in the text inspector on dir 8, mac os9
    and got back your whole link using;

    put member(1).word[2].hyperlink


    an alternative is to use lookup tokens in the hyperlink entries


    linklist = ["A":
    "http://www.google.com/search?num=50&hl=en&lr=lang_en%7Clang_pt&ie=UTF-8&
    oe=utf-8&safe=off&q=dynamic+hyperLink+director+lingo&btnG =Google+Search"]

    token = sRef.member.word[wordNum].hyperlink

    link = etaprop( linklist, token)
    JB Guest

  4. #3

    Default Re: hyperlink bug?!

    Hi JB,

    Thanks for the suggestion.
    I have solved my problem in a different way.

    Since the links are set with lingo, I search for any = signs and replace then for example by a *

    When the link is clicked a repeat loop swaps any * by the original = sign. This is very probably not the most effective way of doing it but, so far, it seems to work like a charm :)

    Thank you for your input anyways.

    Very bests,
    Siulca

    -- By the way, I am using Director MX on Windows XP (service pack 1), AMD Thunderbird.



    Siulca webforumsuser@macromedia.com Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139