Display Flash Web Widget in a Delphi form

匿名 (未验证) 提交于 2019-12-03 02:33:02

问题:

I would like to display the yahoo weather widget (or any similar flash or java based widget) in a Delphi application. I freely admit I don't quite understand what would be required to make this work.

Any suggestions on how this could be accomplished would be appreciated.

I'm using Delphi 7. All of the Widgets are just HTML Code, which when I cut & paste them to my Blogger page for instance, show up and work fine. I'm not sure how to take that same html code and use it in a Delphi form to get similar results.

Detailed instructions would be appreciated as well as an explanation. Clearly I don't quite understand how this works... I only know what outcome I'd like ;-)

Thanks Rob, it wasn't a memory issue, butt he admins did take care of it as you suggested.

Mark

回答1:

Basically, you want to host the SWF ActiveXObject.

http://delphi.about.com/od/graphics/l/aa040103a.htm



回答2:

As mentioned above you could host Flash's active X control for a flash control.

The other option is to use an embedded webpage (possibly loaded off the local disk) using the built in Delphi TWebBrowser control to show any web content including Java or Flash controls (as long as they are installed on the client).

Hope that helps.



回答3:

I have a video on embedding flash into Delphi Applications Available Here. If the widget is a flash file (.swf) it should be fairly easy. The other option (as already mentioned) is to use the Delphi TWebBrowser component.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!