flex程序Firefox下中文输入乱码的bug
firefox下当flash设置参数 wmode 为 transparent 或者 Opaque 时候文本框中输入中文会出现问题。
低版本的firefox中无法输入中文,高版本中则出现乱码。
乱码与flash和页面编码方式都没有关系,是firefox的bug造成的。
解决方法只有使用wmode的默认值,但是这样使得flash在整个页面的最上层,div等都会被其遮挡住。
记录一下,希望firefox尽早修复这个问题。
相关文档:
<?xml version=
"1.0"
encoding=
"utf-8"
?>
<mx:Application xmlns:mx=
"http://www.adobe.com/2006/mxml"
xmlns:assql=
"com.maclema.mysql.mxml.*"
& ......
Flash To EXE
Flex端
Flex创建一个Flex Project命名为Demo1,类型选Web application(runs in Flash Player)
在Demo1.mxml上添加一个按钮,并未按钮添加点击事件
private function ButtonClick(event:MouseEvent):void
{
......
import flash.display.DisplayObject;
import mx.core.Application;
import mx.managers.PopUpManager;
var win:TestWindows= PopUpManager.createPopUp(DisplayObject(Application.application),TitleWindows,true) as TitleWindows;
PopUpManager.centerPopUp(win); ......
本文编译后的补丁下载链接 http://download.csdn.net/source/1908278
多模块应用,每加载一个模块都会重复加载模块所使用的RSL,现在增加一个
private static var loadedRSLs:Dictionary = new Dictionary(); 来保存是否已加载
mx.core.RSLListLoader
//////////////// ......