Hi list...
What would cause a cursor command not to work in a mouseWithin handler?
Below, it gets to the cursor line, but doesn't do anything.
Thanks,
Michael M.
on mouseWithin(me)
if pContentType = text then
if pSp.member.type = #text then
theChar = pSp.pointToChar(the mouseLoc)
On Mar 22, 2004, at 9:10 AM, Mendelsohn, Michael wrote:
Hi list...
What would cause a cursor command not to work in a mouseWithin handler?
Below, it gets to the cursor line, but doesn't do anything.
Of course it doesn't. You have about six skillion conditionals to be
tested first, with deep
What would cause a cursor command not to work in a mouseWithin handler?
Below, it gets to the cursor line, but doesn't do anything.
Of course it doesn't. You have about six skillion conditionals to be
tested first, with deep bracket access. The poor Lingo interpreter
doesn't have time to get to
Hi Colin and WthmO...thanks for answering.
Colin: yes, the cursor and its mask are both 1-bit members.
When I type the following into the message window, the cursor changes.
cursor [member(linkCursor, sharedAssets),member(linkCursorMask,
sharedAssets)]
Then, I move the mouse (with said changed
That's quite the if statement.
You want to change the cursor while you're in there? First, you're doing
this on mouseWithin, so it will get executed a lot, just so you know.
You might want to toss an 'updateStage' command after the cursor.
Also, cursors behave differently in MIAWs, so if you
Then, I move the mouse (with said changed cursor) over the text member
that has the mouseWithin handler, and it automatically goes to cursor
-1. That's fine, but it doesn't doesn't change when it's supposed to.
I've got put statements before the cursor command in the handler, so I
know it gets
On Mar 22, 2004, at 10:20 AM, Mendelsohn, Michael wrote:
WthmO: Would you have any suggestions to optimize this?
I don't have the code before me any longer, so offhand no, but the
suggestion to drop the within event and change to enter only is still a
good one.
Do you think it
would work
Are you trying to make a something that behaves like a hypertext link?
btw - doing a repeat loop inside a mouseWithin seems like it will
cause performance problems
there must be a better way to do what you are trying to do.
hth
-Buzz
At 10:10 AM -0500 3/22/04, you wrote:
Hi list...
What would
On 22/3/04 3:10 pm, Mendelsohn, Michael [EMAIL PROTECTED]
wrote:
What would cause a cursor command not to work in a mouseWithin handler?
Hi Michael,
Are you using sprite(x).cursor = y anywhere in the movie for that particular
sprite channel?
sprite(x).cursor = y has priority over cursor(z).
Thanks everyone for the additional responses! It's all much
appreciated.
Tab:
Also, cursors behave differently in MIAWs, so if you are doing this in
a
MIAW, say so.
Yes it's in a MIAW, so wouldn't you know it, when I wrapped the cursor
command in a tell the stage/end tell, it worked! When
And, yes, I do see a performance hit in doing that. Has anyone done
this with better efficiency?
set a flag when you change it skip checking for that condition
since you've already got that condition
AND
use the #text member's .ref property to make a list of the
hyperlinked text ranges
11 matches
Mail list logo