Translucency has problem in win7

F-IN-BOX for Delphi / Builder C++ / VCL
coolshadow
Posts: 67
Joined: Fri Oct 10, 2008 7:42 am

Translucency has problem in win7

Postby coolshadow » Mon Aug 23, 2010 3:03 pm

I have turned to win7, but I found that Translucency of this component doesn't work in win7.

if set Translucency to true than the swf only show the first frame. but if set Translucency to false, everything is OK.

I just use the compiled demos from the website.
:cry:

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

Postby Softanics » Mon Aug 23, 2010 3:41 pm

Hello,

What version of Flash ocx is installed?

Thank you.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

coolshadow
Posts: 67
Joined: Fri Oct 10, 2008 7:42 am

Postby coolshadow » Mon Aug 23, 2010 3:45 pm

I just re installed the lastest ocx and test, all the same.

But when I test it in anyother pc with xp system, it's ok

coolshadow
Posts: 67
Joined: Fri Oct 10, 2008 7:42 am

Postby coolshadow » Tue Aug 24, 2010 12:53 pm

And any other win7 users have also this problem?

coolshadow
Posts: 67
Joined: Fri Oct 10, 2008 7:42 am

Postby coolshadow » Tue Aug 24, 2010 3:36 pm

And I found another bug in win7
I using delphi 2010
If I create a new project and place a flashplayercontrol and a TransparentFlashPlayerControl on the form,then compile and run the application, I got this result.

Image

The flashplayercontrol will also show wrong results. You can only see a black image in flashplayercontrol.
But if you using flashplayercontrol only , not with TransparentFlashPlayercontrol on the same form, every thing is well.

And there are another strange thing, if I run the compiled demo "Sample1_SWF_And_FLV_Player", it works well , if I using delphi 2010 and the f-in-box to compiled the demo, it works wrong as I said above.

coolshadow
Posts: 67
Joined: Fri Oct 10, 2008 7:42 am

Postby coolshadow » Tue Aug 24, 2010 3:41 pm

In XP system, the compiled demo from the website and the one I compiled myself using delphi 2010 all give right results.

coolshadow
Posts: 67
Joined: Fri Oct 10, 2008 7:42 am

Postby coolshadow » Wed Aug 25, 2010 1:59 pm

I think I found the key for the second problem.
When TTransparentFlashPlayerControl is added to a form ,the doublebuffered property is set to true by TTransparentFlashPlayerControl.

And if at the same time ,there is a TFlashPlayerControl on the form. and the app is compiled by delphi 2010, the app will work wrong in win7 system.
If you turn the doublebuffered property of the form to false.
The tflashplayercontrol will give right results.

But the first problem is the same. TTransparentFlashPlayerControl only shows the first frame of flash files in win7 system. I haven't found the results. :cry: :cry:

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

Postby Softanics » Mon Aug 30, 2010 7:58 pm

Hello,

Going to check this information.

Thank you so much.
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

coolshadow
Posts: 67
Joined: Fri Oct 10, 2008 7:42 am

Postby coolshadow » Tue Aug 31, 2010 1:45 am

Softanics wrote:Hello,

Going to check this information.

Thank you so much.


Thanks, waiting for your fix.

coolshadow
Posts: 67
Joined: Fri Oct 10, 2008 7:42 am

Postby coolshadow » Thu Sep 02, 2010 11:50 am

Any progress in solving these bugs? :oops:

coolshadow
Posts: 67
Joined: Fri Oct 10, 2008 7:42 am

Postby coolshadow » Mon Sep 06, 2010 6:49 am

Any progress ? Please :oops:

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

Postby Softanics » Mon Sep 06, 2010 10:33 pm

Hello,

We tried under several Win7 machines with latest version of flash player, and each time we found that translucency works well.

Could you please write me what does the following show you:

Code: Select all

var   
  dwUsingFlashVersion: DWORD;   
begin   
  dwUsingFlashVersion := FlashPlayerControl.GetUsingFlashVersion;   
 
  ShowMessage   
  (   
    Format   
    (   
      'Using version: %d.%d.%d.%d',   
      [   
        HIBYTE(HIWORD(dwUsingFlashVersion)),   
        LOBYTE(HIWORD(dwUsingFlashVersion)),   
        HIBYTE(LOWORD(dwUsingFlashVersion)),   
        LOBYTE(LOWORD(dwUsingFlashVersion)),   
      ]   
    )   
  );   
end;   


Thank you.

PS so sorry for the delay.
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

coolshadow
Posts: 67
Joined: Fri Oct 10, 2008 7:42 am

Postby coolshadow » Tue Sep 07, 2010 2:21 pm

the version is 10.1.52.14

And after your reply ,I tested the compiled app in enother win7 computer, and it works well.

I don't why :cry:

I have installed Adobe Web Premium CS5(include flash cs5), is a result of this?

coolshadow
Posts: 67
Joined: Fri Oct 10, 2008 7:42 am

Postby coolshadow » Tue Sep 07, 2010 2:44 pm

God
I go to "C:\Windows\System32\Macromed\Flash" and uninstall the flash ocx

then download the latest version of ocx from adobe and installed it.

I found the compiled app work fine now.

And also the problem that occurs when tflashplayercontrol and TTransparentFlashPlayerControl exist in the same form is solved.

I'm confused by this.

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

Postby Softanics » Tue Sep 07, 2010 6:15 pm

coolshadow wrote:the version is 10.1.52.14


Could you please send me this flash ocx to support (at) f-in-box.com, so I could check it?

Thank you.
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html


Return to “Delphi / Builder / VCL Edition”

Who is online

Users browsing this forum: No registered users and 23 guests

cron