Avatar

Level 1

What do you mean by "I want to display some html contents"? Are you talking about displaying arbitrary web pages, including executing their Javascript? If so, your only options are AIR or a browser window or frame.

Or are you talking about rendering simple HTML markup like "<b>Hello</b> World"? If so, the htmlText property on many Flex components can do this, but the subset of HTML that is supported is very limited.

Flex 4 will use a new Text Layout Framework that can render a larger subset of HTML, but it's still is nowhere near equivalent to a browser or AIR. The WebKit HTML+Javascript engine that AIR uses is something like 20 MB of code, which is far too large for Adobe to put into the regular Flash Player.

Gordon Smith

Adobe Flex SDK Team