Can't play flash with no transparency ?

DLL Edition of the F-IN-BOX
Brizzly
Posts: 5
Joined: Mon Feb 13, 2006 5:50 pm

Can't play flash with no transparency ?

Postby Brizzly » Tue Feb 14, 2006 10:54 am

Hello

I'd like to force flash rendering with no transparency for better perf.

I'm testing the DirectX sample. When I put the "FPCS_TRANSPARENT" param out of CreateWindow, then the flash rendering does not occur. Any idea ?

Regards,
JM.

Code snippet:

g_hwndFlashPlayerControl =
CreateWindow(WC_FLASH,
L"flash", // NULL
WS_CHILD, // | FPCS_TRANSPARENT,
0,
0,
width,
height,
m_hWnd,
NULL,
NULL,
NULL);

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Re: Can't play flash with no transparency ?

Postby Softanics » Tue Feb 14, 2006 11:30 am

Brizzly wrote:I'm testing the DirectX sample. When I put the "FPCS_TRANSPARENT" param out of CreateWindow, then the flash rendering does not occur. Any idea ?

Regards,
JM.

Code snippet:

g_hwndFlashPlayerControl =
CreateWindow(WC_FLASH,
L"flash", // NULL
WS_CHILD, // | FPCS_TRANSPARENT,
0,
0,
width,
height,
m_hWnd,
NULL,
NULL,
NULL);


Haven't you forgotten to add WS_VISIBLE style?

If with WS_VISIBLE it doesn't work too, please download demo ZIP from our site and test first sample project.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html


Return to “DLL Edition”

Who is online

Users browsing this forum: No registered users and 12 guests