Has anyone been able to solve the airspace issues when trying to play a flash (swf) movie in a WPF application? I've been able to play the swf file using a WinForms control and a WindowsFormsHost element, and also using the WebBrowser element - but both have the airspace issues.
+2
A:
It depends on exactly what you're trying to do but I've used a transparent overlay window with success.
- Track the underlying window's location and update the overlay window's position accordingly.
- Ensure that you update the overlay window with minimize/restore/maximize modes.
- Set the overlay window's Background to Transparent and the AllowsTransparency to true.
It's a bit of a hassle but not too bad.
dpp
2009-06-05 20:55:07
Just tested with my scenario and you're right - it is a bit of a hassle, and it does work. I'm still holding out hope for a single window solution...
Lee Roth
2009-06-08 18:56:38
OK - not my favorite solution - but it works
Lee Roth
2009-06-10 14:40:44