TRANSPARENT property (Animate)
Description
Indicates that the animation should be displayed using a transparent background.
Property Value
The TRANSPARENT property is a Boolean value of "0" (FALSE$) or "1" (TRUE$). When set to TRUE$ the top-left pixel in the animation frame is assumed to be the AVI file background color - any pixels matching this color are instead painted the same color as the control's BACKCOLOR property.
Property Traits
Development | Runtime | Indexed | Scaled | Synthetic |
---|---|---|---|---|
Get/Set | Get/Set | No | No | No |
Remarks
N/A
Example
// Example: // // Open an AVI file called "FileCopyXP.avi" and begin playing // immediately with a transparent background $Insert Logical ObjxArray = @Window : ".ANI_COPYING" PropArray = "AUTOPLAY" DataArray = TRUE$ ObjxArray := @Rm : @Window : ".ANI_COPYING" PropArray := @Rm : "BACKCOLOR" DataArray := @Rm : -1 ; * // transparent ObjxArray := @Rm : @Window : ".ANI_COPYING" PropArray := @Rm : "TRANSPARENT" DataArray := @Rm : TRUE$ ObjxArray := @Rm : @Window : ".ANI_COPYING" PropArray := @Rm : "CLIPNAME" DataArray := @Rm : ".\avi\filecopyxp.avi" Call Set_Property_Only( ObjxArray, PropArray, DataArray )
See Also
N/A