Hosted WebBrowser control attempts to download Flash content rather than playing it
I am hosting an IE browser control in a simple, .NET winforms app. When I make the control navigate to certain content on disk, the control attempts to download the file (rather than displaying the content.) The exact same URL when pasted into the IE browser will properly display the swf file in question along with processed XML data that is passed as a parameter.
Abbreviated example of the URL:
file:///C:/...SomeSwfFile.swf?dataXML=%3C ... assume well-开发者_运维百科formed XML here
What can i do to get the browser control to behave just like the IE application with that type of URL?
Additional per feedback: HTML files are loaded into the control just fine.
The issue was that i was trying to host a Flash control inside a web browser control built on a x64 dev box. At this point in time Flash doesn't do well in 64 bit processes. When i set the app to build for x86 everything worked fine.
精彩评论