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"]);
Ïà¹ØÎĵµ£º
ÒòΪmyeclipseµÄbugÎÊÌ⣬һʱ¾¹È»Ã»ÓÐÕÒµ½ÄÜÐ޸ĵĵط½£¬ÆäʵºÜ¼òµ¥£¬²½ÖèÈçÏ£º
myeclipse-->window-->Preference-->General-->Appearence-->Colors and Fonts-->Basic-->Text Font
È»ºóµã»÷change,Ð޸ijÉ×Ô¼ºÐèÒªµÄ×ÖÌå´óС£¬²»¹ýÐ޸ı£´æºó£¬·¢ÏÖÐÞ¸ÄʱÎÞЧµÄ£¬Ã»ÓÐÆð×÷Óá£
Õâʱ°ÑËüÔٸijÉ10º ......
ÏÖÔÚÎÒÃÇÏÈ¿´¿´´úÂë,ÏÂÃæµÄ´úÂë×°ÔÚcreationCompleteʼþÖе÷ÓÃinit()À´Æô¶¯È«ÆÁ.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute"
creationComplete="init()"
>
<mx:Scri ......
Ô´xmlÎļþ
<?xml version="1.0" encoding="iso-8859-1"?>
<books>
<stock>
<name>The Picasso Code</name>
<author>Dan Blue</author>
<category>Fiction</category>
<description>Cubist paintings reveal a secret society of people ......
<?xml version="1.0" encoding="utf-8"?>
<s:Application name="Spark_NumericStepper_textInput_editable_test"
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xml ......
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 ......