• Flash / Flex application: Can’t type chinese character

    Posted on August 3, 2009 by in ActionScript, Blog, Flex, Flex Note

    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/

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>