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

Flex Alert


<?xml version="1.0"?>  
<!-- Simple example to demonstrate the Alert control. -->  
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">  
  
    <mx:Script>  
        <![CDATA[  
            import mx.controls.Alert;  
            import mx.events.CloseEvent;  
          
            // Event handler function uses a static method to show  
            // a pop-up window with the title, message, and requested buttons.          
            private function clickHandler(event:Event):void {  
                Alert.show("Do you want to save your changes?", "Save Changes", 3, this, alertClickHandler);  
            }  
          
            // Event handler function for displaying the selected Alert button.  
            private function alertClickHandler(event:CloseEvent):void {  
    


相关文档:

在FLEX Panel的Title上添加控件实例

一、自定义Panel组件
package test
{
    import mx.containers.Panel;
    import mx.core.UIComponent;
   
    /**
    * 自定义Panel
    * **/
    public class MyPanel extends Panel
  ......

Flex代码重构实录(1)

前言
    最近,正竭斯底里地重构flex技术平台开发的产品【wizBuilder CS】。以前为赶功能,界面部分代码都写得好乱,现在是时候修理下自己作的孽了,顺便为产品添加多语言支持(Localization)。
主要任务
代码重构
多语言支持
添加新功能、修改现有功能、去掉不合理的功能
修正重构过程中发现的 ......

flex 实现全文检索中的高亮显示代码

<mx:DataGrid id="dg" click="select()" dataProvider= "{modelLocator.resultList}" borderStyle="none"
verticalGridLines="false" horizontalGridLines="false" verticalScrollPolicy="off" rowCount="10"
fontSize="16" fontStyle="normal" fontThickness="0" width="100%" height="100%">
<mx:columns& ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号