Michael von Aichberger <[EMAIL PROTECTED]> wrote:
> I want the cursor to change when the mouse enters the sprite of a bitmap
> cast member.
> If the sprite with the bitmap cast member is placed over a sprite with a
> text cast member, it won't work...

Hi Michael,

It sounds as if you are using a text member with hyperlinks.  Director
automatically sets "the cursor of sprite" property for such sprites.  The
"cursor of sprite" property has precedence over the "cursor x" command.
When the mouse is over a hyperlink, the sprite's cursor is set to 280, if it
is elsewhere over the sprite, it is set to -1 (arrow).

If you switch off useHypertextStyles for the member, the cursor of the text
sprite will remain as it was set by Director.  You need to reset this to 0
deliberately for the symptom to disappear.

  tSprite = sprite(<hypertext sprite>)
  tSprite.member.useHypertextStyles = 0
  tSprite.cursor = 0

Cheers,

James



[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