MouseEventsEnabled Property

Determines whether mouse events will be processed against the sprite object. Mouse events are processed against the visible pixels sprite object. Read/write at run time; write access is available at run time only when the sprite is stopped.

Syntax

HTML<PARAM NAME="MouseEventsEnabled" VALUE="0 | 1">
ScriptingspriteObj.MouseEventsEnabled [=fBoolean]

Possible Values

0 | 1, fBoolean
Boolean flag that specifies whether to process mouse events. In HTML PARAM tags, the possible values are 0 (False) or nonzero (True). In script, the flag can support either 0 or False, 1 (a nonzero value) or True. The default is True.

Remarks

Mouse events are z-order dependent. For example, if you have two objects positioned on top of each other, whichever object has a higher z-order will receive the mouse event when the user clicks, releases, or moves over that region.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.