开发者

Show HTML in flash

You can build apps in HTML using Adobe AIR which parses it using Webkit, can this be done in Flash?

For example you have a开发者_StackOverflow中文版 string that contains <html><body><b>hello world</b></body></html> and then call a function that runs the WebKit parser over it and then outputs 'hello world' in bold to the stage?


Using the htmlText property of a multiline TextField object could be a substitute, although very limited. (You can use text formatting tags like <b>, lists, <p>, <span>, <img> and I guess that's about it.)


Nope...that works just in AIR.

Closest thing you've got is this HTMLWrapper library as far as I know. Not the same thing, but could be handy.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜