Display HTML in an Actionscript 3 project

后端 未结 8 1886
一向
一向 2021-02-04 15:47

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

相关标签:
8条回答
  • 2021-02-04 15:49

    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...

    0 讨论(0)
  • 2021-02-04 15:49

    You could try out this AS3 HTML Parser Library ... works well for my needs, It currently supports most elements (including img, span, div).

    0 讨论(0)
  • 2021-02-04 15:52

    2Synthmax http://as3htmlparser.sourceforge.net/

    0 讨论(0)
  • 2021-02-04 15:56

    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

    0 讨论(0)
  • 2021-02-04 16:05

    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.

    0 讨论(0)
  • 2021-02-04 16:06

    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.

    0 讨论(0)
提交回复
热议问题