Flash video not disappear

F-IN-BOX for Delphi / Builder C++ / VCL
Clebson
Posts: 6
Joined: Sun Apr 24, 2011 11:59 pm

Flash video not disappear

Postby Clebson » Mon Apr 25, 2011 12:05 am

We're loading and viewing a video swf perfectly within a application (C++Builder):

Flash1->LoadMovie(0,url);

(with property MakeParentTransparent=true)

but we are not able to make the video disappear; even when the application is minimized the video still is shown. It disappears only if the application is closed. How to solve?

void __fastcall TFFlash::Stop2Click(TObject *Sender)
{
Flash1->Stop(); // the video stop, but not disappear
Flash1->Visible=false; // try property visible, but not resolve
FFlash->Hide(); // try hide the form without success
FFlash->Visible=false; // also not resolve
}

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

Postby Softanics » Mon Apr 25, 2011 8:01 am

Hello,

What if to set MakeParentTransparent to false before hiding?

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

Clebson
Posts: 6
Joined: Sun Apr 24, 2011 11:59 pm

Postby Clebson » Tue Apr 26, 2011 10:27 pm

Yes, we try do makeparenttransparent=false (the form is viewed with o video within), but the form is not closed:

void __fastcall TFFlash::StopClick(TObject *Sender)
{
Flash1->Stop();
Flash1->MakeParentTransparent=false;
FFlash->Close();
FFlash->Hide();
}

can you help?

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

Postby Softanics » Mon May 02, 2011 8:07 pm

Hello,

In my tests, Hide() works well. Could you please send me your movie to support (at) f-in-box.com?

Thank you in advance.
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 24 guests

cron