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"]);
相关文档:
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 ......
--英文
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:/ ......
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 ......
选定矩形的一个顶点为起点,开始画
x0:顶点横坐标
y0:顶点纵坐标
x1:水平线上另一顶点的横坐标
y1:水平线上另一丁点的纵坐标
private function drawDottenRect(g:Graphics,
x0:Number,
&nbs ......