trace("当前安装的系统的IME : "+System.ime);
当前安装的系统的IME
注册 ime组件 事件
在该实例上调用 addEventListener()
trace("flash player使用的当前的内存总字节数 : "+System.totalMemory+" B");
flash player使用的当前的内存总字节数
trace(System.useCodePage);
返 回的boolean值将告知 Flash Player 去编译外部txt文件,当其属性设为false时,Flash Player
会以Unicode的编码格式去编译外部txt文件,(当你保存的时候必须将其存为Unicode的编码格式)当其设为true时,Flash
Player 运行其播放器的操作系统所带的传统的代码的方式进行编译,默认情况下useCodePage 为false
当你通过使用 flash.display.Loader类的load() 或 flash.net.URLLoader 或
flash.net.URLStream 或 XML 类加载的外部txt文本,文本必须存成Unicode,以便flash player
可以将其以Unicode进行编码
一般来讲 英文操作系统使用 CP1252 日文操作系统使用 Shift-JIS