Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 MXML×ÖÌå´óСÉèÖÃ

ÒòΪmyeclipseµÄbugÎÊÌ⣬һʱ¾¹È»Ã»ÓÐÕÒµ½ÄÜÐ޸ĵĵط½£¬ÆäʵºÜ¼òµ¥£¬²½ÖèÈçÏ£º
myeclipse-->window-->Preference-->General-->Appearence-->Colors and Fonts-->Basic-->Text Font
È»ºóµã»÷change,Ð޸ijÉ×Ô¼ºÐèÒªµÄ×ÖÌå´óС£¬²»¹ýÐ޸ı£´æºó£¬·¢ÏÖÐÞ¸ÄʱÎÞЧµÄ£¬Ã»ÓÐÆð×÷Óá£
Õâʱ°ÑËüÔٸijÉ10º ......

Flexʼþ»úÖÆ

Flexʼþ»úÖÆ
Flexʼþ»úÖÆÊǹ۲ìÕßģʽ£¬¼´Ê×ÏÈҪע²áʼþ£¬Ê¼þ·Ö·¢ºóͨ¹ýʼþÏìÓ¦º¯Êý½øÐд¦Àí¡£
ÀýÈçÔÚAS3ÖУº
button.addEventListener(“click”,onClick);//Ïòbutton×¢²áÒ»¸öclickʼþ
internal function onClick(evt:MouseEvent):void{txt.text=“click a button!”;}//ʼþÏìÓ¦º¯Êý
ÄÇÃ ......

flexѧϰ ×Ô¶¨Òåʼþ

ÎÒ¸öÈ˾õµÃÕâ¸ö×Ô¶¨Òåʱ¼ä·â×°ÐԺܺ㬵«ÊÇÓе㸴ÔÓ£¬²»½¨Òé¼òµ¥±à³ÌÖÐʹÓÃ
´´½¨Ò»¸öMXML×é¼þ£¬½¨×Ô¶¨Òåʼþ
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<!--[CDATA[
private function clickHandler():void{
// var m ......

Flex Deep Link(ÉîÁ´½Ó)Ó¦ÓÃ


×î½ü×öÓÎÏ·µÄʱºò£¬·¢ÏÖÍ˳öµÇ½ʱURLÉÏ»á×Ô¶¯¼ÓÉÏÒ»¸ö“#”×Ö·û£¬ºÜÆæ¹Ö£¬Google+BaiduÎÞÊý´Î¶¼Ã»ÓÐÕÒµ½´ð°¸¡£½ñÌìÎÞÒâ¼ä¿´µ½¼¸¸ö
ȺÓÑÔÚ˵ͨ¹ý“BrowserManager”»ñÈ¡URL£¬ÓÚÊÇ×Ðϸ²é¿´ÁËAPI£¬ÓÖ·¢ÏÖÁË“HistoryManager”£¬Õâ¸öÎÊÌâÖÕÓÚÃ÷°×ÁË¡£
ÎÒÃÇͨ³£¿´µÄWebÒ³Ãæ
¿ÉÒÔͨ¹ýä¯ÀÀÆ÷µ ......

ÔÚFLEX PanelµÄTitleÉÏÌí¼Ó¿Ø¼þʵÀý

Ò»¡¢×Ô¶¨ÒåPanel×é¼þ
package test
{
    import mx.containers.Panel;
    import mx.core.UIComponent;
   
    /**
    * ×Ô¶¨ÒåPanel
    * **/
    public class MyPanel extends Panel
  ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ