Page 1 of 1

Flash video not disappear

Posted: Mon Apr 25, 2011 12:05 am
by Clebson
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
}

Posted: Mon Apr 25, 2011 8:01 am
by Softanics
Hello,

What if to set MakeParentTransparent to false before hiding?

Thank you.

Posted: Tue Apr 26, 2011 10:27 pm
by Clebson
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?

Posted: Mon May 02, 2011 8:07 pm
by Softanics
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.