2012年2月23日
摘要: 1. 去除或改变Alert的模糊效果 以下样式在Panel中定义Alert,Panel{ modalTransparency: 0.0; modalTransparencyBlur:0; /*modalTransparencyColor: #FF0000; modalTransparencyDuration: 1000;*/}2.设置TitleWindow不允许拖动//此处this指自定义窗口对象PopUpManager.addPopUp(this, DisplayObject(Application.application), false);PopUpManager.centerPo... 阅读全文
posted @ 2012-02-23 21:59 唐朝 阅读(373) 评论(0) 推荐(0) 编辑
摘要: 在Flex中我们经常使用xml文件,因为Flex支持强大的E4X功能,读取xml相当简洁。总结一下常用的Flex读取XML配置文件的方法:1.使用Model标签形式首先声明Model标签,<mx:Modelidmx:Modelid="model"source="conf/configuration.xml"/>xml形如:<config><username>hzd</username><psw>123456<psw></config>那么,只需要在初始化事件中直接调用即可 阅读全文
posted @ 2012-02-23 07:23 唐朝 阅读(4520) 评论(0) 推荐(1) 编辑
摘要: 实际在FLEX中没有页面的概念,所以就无所谓页面的跳转。实际上FLEX做的就是覆盖,隐藏等等。如 何实现JSP中的页面跳转呢? 其中FLEX有集中方式可以实现,但我这里只介绍2种我熟悉的 1.引用flash中的 import flash.external.ExternalInterface 这个接口ExternalInterface.call("function(){window.location.href='http://localhost:8088/alan/Hib-debug/Hib.html';}"); 这种方法的效果和JSP中使用window.lo 阅读全文
posted @ 2012-02-23 07:18 唐朝 阅读(1048) 评论(0) 推荐(0) 编辑