Hey Geoff,
A couple things. First if you set a cursor in an LDM is actually does change it but as soon as the mouse moves the stage takes over and sets the cursor to its preferred setting. So most of the time you will not see the change or see it as a quick flash. The way around this is to target the stage with all your cursor changes. Which version of director are you using? If pre-MX04 then use
tell the stage to cursor 280
in MX04
_player.activeWindow.movie.cursor(280)
As far as the hypertext bleeding stuff can you post some sample files someplace. If you do I'll have quick look and see if I can come up with a work-around.
later,
Rob
On Mon, 26 Jul 2004 11:28:27 -0400, Baker, Geoff <[EMAIL PROTECTED]> wrote:
Situation:
Text member on stage with a hyperlink which opens an LDM with a hyperlink text member.
Once the LDM is overtop of the stage text member, the stage's hyperlink
bleed's through the LDM (shows the hand cursor)AND the LDM hyperlink fails
to show the bloody cursor.
The relevant code:
on mouseWithin me
-- find if word pointed to is part of a link
-- get word number tWord = pSprite.pointToWord(the mouseLoc)
-- Kick out if invalid number if tWord < 1 then exit
-- get hyperlink tLink = pSprite.member.word[ tWord ].hyperlink
-- Kick out if not a link if tLink = "" then
-- Set to pointer if pSprite.cursor <> 0 then pSprite.cursor = 0 end if
exit
end if
-- Set to finger cursor if pSprite.cursor <> 280 then pSprite.cursor = 280 end if
end
My goal is to have both text members play nice and show the finger cursor
when over a valid hyperlink and not get confused as to which hyperlink has
focus. Note that the actual hyperlinks work just fine. It's the cursor's
that are not behaving.
In the LDM I've tried putting a dontpassevent in the background graphic for
mouseEnter, leave, within etc.
Does anyone have the mojo workaround in order to make hyperlinks work in LDM's?
[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!]
