开发者

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

开发者 https://www.devze.com 2023-04-12 10:29 出处:网络
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'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

精彩评论

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