ColorKey Property

Sprite Control

Sets the transparency color to use with this specific sprite. Read-write at run time; write access is available at run time only when the sprite is stopped.

Syntax

HTML<PARAM NAME="ColorKey" VALUE="r, g, b">
ScriptingspriteObj.ColorKey=lib.DAColor

Possible Values

r
Integer that specifies the red value (0-255).
g
Integer that specifies the green value (0-255).
b
Integer that specifies the blue value (0-255).
DAColor
DAColor object that specifies the sprite's color.

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