Lingo Dictionary > T-Z > useAlpha |
![]() ![]() ![]() |
useAlpha
Syntax
member(
whichCastMember
).useAlpha
imageObject
.useAlpha
Description
Bitmap cast member and image object property; for 32-bit cast members and image objects with alpha channel information, determines whether Director uses the alpha information when drawing the image onto the Stage (TRUE
), or whether Director ignores the alpha information when drawing to the Stage (FALSE
).
Example
This toggles the alpha channel of cast member "foreground" on and off.
member("foreground").useAlpha=not member("foreground").useAlpha
![]() ![]() ![]() |