Have you tried :
member("source").media = member("source").media
to wake up the member?

Worked for me when I created hyperlinks on the fly.



Bertil Flink
Creative Media


----- Original Message ----- 
From: "Irv Kalb" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 19, 2003 6:22 PM
Subject: <lingo-l> on hyperlinkClicked


> I must be missing something basic here - 'cause I've made this work before.
> 
> I have a text member that I've put on stage.  I have a field member 
> called "source"  with some valid HTML - it has one or more links in 
> it that look like this:
> 
>    <a href="somelink">Some text</a>
> 
> Then attach a behavior that to puts the text into the html of a 
> member and waits for a click on a hyperlink:
> 
> property spriteNum
> 
> on beginSprite me
>    sprite(spriteNum).member.html = member("source").text
> end
> 
> on hyperlinkClicked me, data, range
>    put data
>    put range
>    nothing
> end
> 
> I put a breakpoint in the hyperLinkClicked routine above and run. 
> The text shows up, the links are blue and underlined.  But the on 
> hyperlinkClicked never gets called.  What's up with that??
> 
> Irv
> -- 
> 
> Lingo / Director / Shockwave development for all occasions.
> 
>    (Home-made Lingo cooked up fresh every day just for you.)
> [To remove yourself from this list, or to change to digest mode, go to 
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
> PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
> with programming Lingo.  Thanks!]
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to