易截截图软件、单文件、免安装、纯绿色、仅160KB

flex程序Firefox下中文输入乱码的bug

firefox下当flash设置参数 wmode 为 transparent 或者 Opaque 时候文本框中输入中文会出现问题。
低版本的firefox中无法输入中文,高版本中则出现乱码。
乱码与flash和页面编码方式都没有关系,是firefox的bug造成的。
解决方法只有使用wmode的默认值,但是这样使得flash在整个页面的最上层,div等都会被其遮挡住。
记录一下,希望firefox尽早修复这个问题。


相关文档:

flex DataGrid编辑单元格并获取新的值

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="horizontal">
<mx:Panel width="458" height="313" layout="absolute">
<mx:Label id="lbl" x="19" y="10" text="" width="171" height="20"/>
<mx:DataGrid id="dg" x="19" y="58" dataProvider="{arr}" editable="true" ......

flex tree默认展开第一个节点

<?xml version="1.0" encoding="utf-8"?>
<mx:Application fontSize="12" xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
 <mx:Script>
  <![CDATA[
   public var treeXml: XML = <nodes name="所有">
 &n ......

FLEX 实用属性详解

flex各组件对应的样式属性上2007-10-2515:47各组件对应的样式属性
themeColor主题颜色:如果对色彩样式配置不想过多的去设置的话,themeColor是一个选择。它可
以让你选择一种基本色彩,然后组件的边框,外观等色彩将会以此色彩为基础构成一组缺省的样式,组件均可使用此样式属性。
Application组件样式属性
background ......

FLEX 窗口居中

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); ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号