开发者

How to pass string from virtual keyboard in AIR to an embedded HTML Page

i'm a newbie in Flex/Air. I'm developing an AIR web browser and i want to use a virtual keyboard to write in the HTML pages.

I integrated this component as keyboard: http://www.uibuzz.com/2011/adobe/flex/github-flex-4-component-virtualkeyboard/ it works well when i try to write in a text area, but i don't know how to write in the html page.

EXAMPLE: To write in textarea, i just have 开发者_开发百科to call this:

textarea.text = event.keyLabel;

how could i pass the string:

event.keyLabel

to an:

<mx:HTML id="HTML" .../>

?

I really hope that is all clear, thank u in advance for your help, and i apologize for my bad english.

Fab


You can use the htmlText property

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜