Page 1 of 1

How to get the Movie background Color ???

Posted: Sat Mar 19, 2005 12:06 pm
by Guest
Hi there,
Does anyone know how to get the Movie Background color and CONVERT IT TO TCOLOR ....

it looks like the control returns an integer but it is not the same as TCOLOR...

Thanks.

Posted: Thu May 19, 2005 5:47 pm
by Guest
I am asking the same.

Please tell us how to make the movie background transparent in delphi without affecting movie inside.

Posted: Tue Oct 25, 2005 6:04 pm
by onad
See the new updated control, supports transparancy.

Posted: Wed Oct 26, 2005 2:07 pm
by Pete
The following will convert between Flash and delphi colours.


function FlashToTColor(const FColor:dword):TColor;
var
r, g, b:byte;
begin
R := (FColor and $00FF0000) shr 16;
G := (FColor and $0000FF00) shr 8;
B := FColor and $000000FF;
result:=RGB(r,g,b);
end;

function TColorToFlash(const AColor:TColor):integer;
var
r, g, b:integer;
begin
result:=$000000;
result:=result or(AColor and $00FF0000) shr 16;
result:=result or(AColor and $0000FF00) ;
result:=result or(AColor and $000000FF) shl 16;
end;

Hope this helps

Pete

Posted: Tue Nov 01, 2005 4:58 pm
by onad
Pete, your great again... thanks.