with Hollywood 5.3 I want to load a brush such that the alpha channel is enabled if available.
Code: Select all
LoadBrush(2, self.picture, {LoadAlpha=True})
Code: Select all
LoadBrush(2, self.picture)
If GetAttribute(#BRUSH, 2, #ATTRHASALPHA)
DebugPrint("!!!!alpha*****")
ChangeBrushTransparency(2, #ALPHACHANNEL)
EndIf