Ask a Question related to Macromedia Director Lingo, Design and Development.
-
Siulca webforumsuser@macromedia.com #1
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
-
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... -
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... -
asp:hyperlink
Does anyone know when you NEED to use asp:HyperLink versus a regular Href? An example would be greatly appreciated. -
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... -
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 = "#";... -
JB #2
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
-
Siulca webforumsuser@macromedia.com #3
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



Reply With Quote

