Folks,
I am pulling all my Flash (pure AS3 project, not Flash CS3) content from a Drupal back-end for SEO purposes. This works great, except the HTML rendering built in
Does your swf need to fill all of the web page? Why not have your swf call some javascript that will populate a DIV or whatever. Or just have the PHP generate that. I guess I need more information what you're trying to do...
You could try out this AS3 HTML Parser Library ... works well for my needs, It currently supports most elements (including img, span, div).
2Synthmax http://as3htmlparser.sourceforge.net/
Try using this Flex iFrame, which is modeled after it's HTML iframe counterpart. I haven't used this solution in my Flex applications yet, but it looks promising.
http://deitte.com/archives/2006/08/finally_updated.htm
However, please note that this same author now recommends against using this.
As always, your mileage may vary, Randy Stegbauer
AIR introduces a DisplayObject
called flash.html.HTMLLoader
. It's powered by WebKit, so if your content is compatible with Safari, it will work with HTMLLoader
.
you might also want to try: http://code.google.com/p/htmlwrapper/
I haven't used it but it looks like it does what you want.