Skip to content


Flash / Flex application: Can’t type chinese character

If you have added parameter “wmode” (e.g. opaque, transparent) into the flash application object tag in the HTML. You may not able to type non-English character into the text input of the flex application by using non-IE browsers.

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

id="flashapp" width="100%" height="500"

codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">

<param name="movie" value="teacher.swf" />

<param name="quality" value="high" />

<param name="bgcolor" value="#869ca7" />

<param name="allowScriptAccess" value="sameDomain" />

<param name="wmode" value="opaque" />

<embed src="teacher.swf" quality="high" bgcolor="#869ca7"

width="100%" height="500" name="flashapp" align="middle"

play="true"

loop="false"

quality="high"

allowScriptAccess="sameDomain"

wmode="opaque"

type="application/x-shockwave-flash"

pluginspage="http://www.adobe.com/go/getflashplayer">

</embed>

</object>

To solve this issue, you can simply remove the wmode paramater. And you can type Chinese normally.
References:

http://blog.rive.be/2009/03/25/flash-wmodetransparent-breaks-textinput-field/

Posted in ActionScript, Flex, Flex Note.

Tagged with , , , , , , .


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.