Page 1 of 1

Combine flash.ocx with f_in_box__form

Posted: Thu Jan 14, 2010 10:23 am
by doubletw
Hi,

I use System::Windows::Forms::Form inherited f_in_box__form to create a transparent flash form.

I would like to execute the form in PC without installing flash player.

I look up F-IN-BOX .NET Edition Help and then find "Embedding swflash.ocx/flash.ocx code into application".

However, the document and example code, "Sample03_StandalonePlayer", only mention "f_in_box__control".

My environment is VC++ .NET, not C# or VB .NET.

How do I embed flash.ocx and combine it with f_in_box__form?

Or can you provide example code for VC++ .NET?

Thanks a lot for your help!!

Posted: Thu Jan 14, 2010 8:53 pm
by Softanics
Thank you for your question.

f_in_box__form have the same costructor:

Code: Select all

public f_in_box__form(AxCode code)
{
   ...
}


So use the same code:

Code: Select all

public class MyTranslucencyForm : f_in_box__lib.f_in_box__form
{
   ...
      public MyTranslucencyForm(f_in_box__lib.AxCode axcode) : base(axcode)
      {
          ...
      }
   ...
}
...
f_in_box__lib.AxCode axcode = new f_in_box__lib.AxCode(Stream);
MyTranslucencyForm MyForm = new MyTranslucencyForm(axcode);
...


Thank you.