开发者

How can I include Flash in VB.NET?

I would like to create a .exe wrapper for a Flash Player using VB.NET. I am having a few problems.

1.I seem to remember being able to import Flash Player as a control into Visual Studio (2008 Pro). For some reason, I can't seem to VS to import it anymore. (I tried using the OCX from Visual Studio) Perhaps I'm looking for the wrong file. What file am I looking for?

2.Is including Flash inside of a VB program legal?

3.When a control is included in a VB.NET program (such as Flash) does the control开发者_运维技巧 need to be distributed in a separate file, or will the compiled application contain it in the ".exe"?

Thanks.

edit:

I was able to import the control as the Flash10b.ocx from c:\Windows\System32\Macromed directory as a COM component. Question 2 and 3 still remain.

Edit 2:

Is there documentation on the ActiveX control? I am trying top figure out the API for ExternalInterface. Any tips on that?


  1. Using flash inside a VB program is perfectly legal, it is just an activeX control.
  2. You will need to distribute the interop library with your application (it will be in your output directory) and the ActiveX object (flash10b.ocx) will need to be installed on the system, it wont package it all up for you.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜