Hi,
I am showing a HTML page with a Flash video player on it in a Silverlight app using the WebBrowser control. The site itself is displayed perfectly and everything works just fine.
But when I want to close the player component, I somehow need to completely dispose the current HTML page with the flash player.
I tried navigating to about:blank, or even to other pages like google.com before the player component is hidden. But the flash video keeps on playing and the WebBrowser shows several Script Errors, which must be clicked in order to really leave the flash page.
Is there any way to instantly "clear" the WebBrowser control or to surpress the Script Errors so that it leaves the html/flash page?
In WPF there seem to be some methods for that, but I couldnt find any on the Silverlight WebBrowser control.
Any hints are appreciated,
Whiskas