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

Flex Autocomplete组件的使用实例

测试文件代码如下:导入com.hillelcoren.components包
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
 xmlns:mx="http://www.adobe.com/2006/mxml"
 xmlns:hc="com.hillelcoren.components.*"
 xmlns:classes="com.hillelcoren.components.autoComplete.classes.*"
 xmlns:local="*"
 width="100%" height="100%" color="#000000"
 verticalAlign="top" horizontalAlign="left"
 paddingLeft="20" paddingTop="15" paddingBottom="20" paddingRight="20"
 initialize="init()">
    
 <mx:Script>
  <![CDATA[
   import mx.utils.ObjectUtil;
   import mx.events.MenuEvent;
   import com.hillelcoren.components.AutoComplete;
   import mx.core.Application;
   import mx.core.UIComponent;
   import mx.collections.ArrayCollection;
   [Bindable]
   public var colors:ArrayCollection;
   [Bindable]
            public var datas:ArrayCollection;
   private function init():void
   {
    datas =  new ArrayCollection(["131","132","130","Axx","Ddd cc","xxx yyy","133","134","135","136",
                                                            "137","138","139","150","158","159",
               "广东 广州","Bxx Baa","上海","张三","李四","Aadla","Asf sf",
               "Bxv sfs","Abort XXX","Asp Php"]);
 


相关文档:

关于flex性能调优相关的一些总结

1.Performace包含4点:
(1)Latency反应时间(2)Scalability:抗压能力(3)Reliablity:稳定性(4)Availability:可用性
2.运行时生命周期:
Flex只有两帧frames:Preload frame 和 application frame。
每一个flex application 是一个MovieClip,因为每个flex application都有SystemManager,他是继承自
flash.dis ......

Flex 命令生成资源文件


--英文
mxmlc -locale=en_US -allow-source-path-overlap=true
-include-resource-bundles=mf,collections,containers,controls,core,effects,formatters,logging,SharedResources,skins,states,styles,validators
-source-path=D:/UBAS_HOME/ClientCode/demo/client/code/MainFrame/assets/locale/en_US
-output=E:/ ......

10 Tips for Flex Application Performance

We're going to keep this post lean and mean, and get down to
business with 10 Tips that will keep your Flex applications fast, lean,
and responsive.
Rule # 1: Clean up after yourself
In general, it is good practice to maintain clean code. Not only
in the sense of having properly formatted and ......

flex 画虚线矩形算法

选定矩形的一个顶点为起点,开始画
x0:顶点横坐标
y0:顶点纵坐标
x1:水平线上另一顶点的横坐标
y1:水平线上另一丁点的纵坐标
 private function drawDottenRect(g:Graphics,
                   x0:Number,
&nbs ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号