I don't know anything about flash cursors, but Director won't change the
cursor if it doesn't think it needs to be changed. If you changed it
elsewhere (like in Flash) then Director won't know about. This is really
an operating systems bug because the operating system lets you SET the
cursor, but not query the cursor to see what it is.
Anyway, to try a workaround (this is good practice anyway) set it to
something else (I like to use 0) and then to what you want, as in:
on changeCursor whichCursor
put whichCursor
cursor 0
case whichCursor of
#pointFinger: cursor 280
... etc.
end case
end
Forcing it to 0 forces it to something else, then your call SHOULD work.
If that DOESN'T do it, then it must be some specific interaction between
Flash and Director, so I'll defer that to someone else.
- Tab
At 07:51 PM 5/10/02 +0100, Nick Crossland wrote:
>Hi again
>
>Cursors are driving me mad!
>
>Are there any issues with Flash stopping Director from changing cursor?
>
>I have set up a handler to deal with changing cursors, which looks like:
>
>on changeCursor whichCursor
> put whichCursor
> case whichCursor of
> #pointFinger: cursor 280
> #arrow: cursor -1
> #palm: cursor 260
> #clench: cursor 290
> #watch: cursor 4
> end case
>end
>
>This works fine from within element within Director, e.g
>
>on mouseLeave
> changeCursor(#arrow)
>end
>
>Within the Flash sprites, buttons call the same handler - e.g.
>
>on (rollover) {
> getURL("lingo:changeCursor(#pointFinger)")
>}
>
>This also works.
>
>But - after leaving the Flash sprite, it no longer works anywhere, with the
>cursor remaining defiantly an arrow, no matter what.
>
>Restarting the movie, and it all works again, but only until going instead
>the Flash sprite.
>
>The changeCursor handler is still receiving the messages, when over the
>Flash sprite, and afterwards, because the state that should be showing is
>still appearing in the message window. It is just not changing the cursors.
>I have tried replacing the calls for system cursors with calls to custom
>(castmember) cursors, but exactly the same result.
>
>I have looked all around the Director technotes, but no luck. What am I
>missing?
>
>best regards,
>
>~nick~
>
>
>
>
>
>
>[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!]