UseColorKey Property

Sprite Control

Sets or retrieves the property that specifies whether to use the sprite's transparency information. Read-write at run time; write access is available at run time only when the sprite is stopped.

Syntax

HTML<PARAM NAME="UseColorKey" VALUE="0 | 1">
ScriptingspriteObj.UseColorKey=fFalse

Possible Values

fFalse
Boolean value, True (1) or False (0). A value of True specifies that the transparency information set by the ColorKey property is used. A value of False specifies that the ColorKey transparency information is not used. The default is False.

Remarks

If the ColorKey property value is set in a PARAM tag, then you should also set the UseColorKey value in a PARAM tag.


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