Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Director hyperlinks problem

Director hyperlinks problem

Director hyperlinks problem

Hello, I´ve a problem with a hyperlink behavior...
I´ve a text member with several hyperlinks to open xls external files, and an attach handler with this code:

on hyperlinkClicked me, whereTo
  -- 101
  if whereTo="tab_101" then
    baOpenFile(the moviePath&"\tabelas\Tab_101_N2.xls","maximised")
  end if
  -- 102
  if whereTo="tab_102" then
    baOpenFile(the moviePath&"\tabelas\Tab_102_N2.xls","maximised")
  end if


When opening the files by the sequence of the links in the text (tab_101, tab_102... tab_n) it works perfectly.
But if I try to open the 1st file and after open the 3rd , this link doesn't work, and the 4th link acquires the parameter whereTo=tab_101, opening the wrong file.
On debugging, I conclude it has nothing to do with the use of the buddy api function, is a problem related with the hyperlinks only. If removing the line breaks in the text member, the bug disappears, but unfortunately I´ve to have a hyperlink in each line... 

Can anyone give me a hand?... I´m kind of lost in this problem

RE: Director hyperlinks problem

It was a Director 11 bug... in the version 11.5 it performs perfectly.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close