Hello Mr Grimmwerks!
Strange problem you got... it works over here:
bhv dropped on a text mem that contains a link:
--------------
property spriteNum
on hyperlinkClicked me, data, range
currentMember = sprite(spriteNum).member
anchorString = currentMember.char[range[1]..range[2]]
put "The hyperlink on"&&anchorString && "was just clicked."
put "link name: " && data
end
--------------
Yields result in message window:
-- "The hyperlink on Some link was just clicked."
-- "link name: http://www.konstfack.se"
Maybe your problem has somethin to do with how you define the links
in the text member? I think that's a real pain in the rear...
-Andreas
>On 3/9/01 3:46 AM, "g r i m m w e r k s" <[EMAIL PROTECTED]> wrote:
>
>> I've got 2 simple scripts. One that on enterframe I check that the mouseloc
>> is in a hyperlink and give the cursor the finger (works)...the other is
>>
>> on hyperlinkclicked me, thedata
>> put thedata
>> end
>
>
>Stranger still, I just put
>
>On enterframe me
> if sprite(me.spritenum).pointInHyperlink(the mouseloc) then
> put "hit one"
> end if
>End
>
>
>
>And of course it works...I just can't figure out why the damn hyperlink
>isn't sending info...worst comes to worse I can do a kludge with the above
>to see what the mousechar is and then where that is in the hyperlinks to get
>the hyperlinkrange and then get the hreff from that but PLEASE
>
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/LUJ/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/LUJ/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!]