Reputation: 3206
My question of the day is: in the same way a UIWebView on XCode behaves, is it possible to embed a website or browser window in an Adobe Flash movie? Like an iframe, but within Flash itself.
Is this even technically possible? Do I even want to attempt this?
Thanks in advance.
Upvotes: 4
Views: 1594
Reputation: 8619
The true answer is no.
But there are workarounds, one of them is the Flex Iframe mentioned above.
The workaround is based on a real iFrame rendered by JavaScript above the Flash and smart communication between Flash and that JavaScript.
The big drawback though is the wmode=opaque you have to use in order to enable anything to render above the Flash. There are accessibility issues, performance issues and even stability issues associated with the opaque mode, however sometimes you got to do what you got to do.
Check my question on this topic, especially note the Adobe Flash Player Bug and Issue link, do some investigation first to make sure it won't kill your project.
Upvotes: 1
Reputation: 1025
It would seem that it is possible. I have come across a few examples in the past, but never done it myself.
This link might help you with your research... http://code.google.com/p/flex-iframe/
as might this, which has an explanation and further links... http://www.deitte.com/archives/2008/07/dont_use_iframe.htm
I don't know how up to date this content is though.
Upvotes: 1