Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

flexµÄ×Ô¶¨Òåʼþ

package event
{
    import flash.events.Event;
   
    public class CustomEvent extends Event
    {
        public var evObject:Object;
        public function CustomEvent(obj:Object, type:String)
        {
            super(type);
            evObject = obj;
        }
       
        override public function clone():Event
        {
            return new CustomEvent(evObject, type);
        }
    }
}
Õâ¸ö¾ÍÊÇÒ»¸ö×Ô¶¨Òå¿Ø¼þ£¬ËüºÍ´«Í³µÄÇø±ðÔÚÓÚ¿ÉÒÔ×Ô¼º´«ËÍÒ»¸ö²ÎÊý¹ýÈ¥£¬±ÈÈçÁ½¸ö½çÃæµÄ²ÎÊý´«µÝ¡£
±ÈÈçÕâÑùµÄÒ»¸öÀý×Ó£¬µ±datagridµÄijÌõ¼Ç¼˫»÷Ö®ºó£¬´«µÝselectedItem:objectµ½ÁíÍâµÄÒ»¸ö½çÃæÖÐÈ¥
1¡¢usersummary.mxml ------£¨×ӿؼþ£©
      DataGrid id=myDg £º doubleClickEnabled="true"  doubleClick="transfer(event)"
2¡¢ public function transfer(evt:MouseEvent):void
            {
                var cusEvent2 : CustomEvent = new CustomEvent(myDg.selectedItem,"itemUserData");
                dispatchEvent(cusEvent2);
            } 
3¡¢  accountmapping.mxml-------    £¨userCanvasÊÇÖ÷Ó¦ÓóÌÐò£©
             public var  UserSelectedData:object='';
           userCanvas.usersummary.addEventListener("itemU


Ïà¹ØÎĵµ£º

9±¾¾­µäFlex Asµç×ÓÊé


ActionScript 3.0 ÓïÑÔºÍ×é¼þ²Î¿¼

Foundation ActionoScript3.0 ¶¯»­

Learning Flex3

AS3 Cheat Sheets

Flex Frameword Diagram

Rich Internet Applications With Adobe Flex & Java
......

flex ÈÕ¼Ç1 cairngorm

ѧflex¾ÍÊÇΪÁËÌø²Û£¬Íò¶ñµÄ¹«Ë¾£¬Äêµ×ʲô¶¼Ã»ÓУ¬º¦µÄÎÒ¶¼Ã»Ç®»Ø¼Ò£¬±­¾ß°¡¡£
ѧflexÒѾ­ÓÐÒ»¶Îʱ¼äÁË£¬ÎÒÊÇjava³ÌÐòÔ±£¬»¶Ó­´ó¼Ò½»Á÷
×î½üѧÁ˵ãcairngorm   ¸Ð¾õÓÃÆðÀ´±Èstruts·±ËöÒ»µã£¬·Ï»°ÉÙ˵£¬ÉÏ´úÂ룺
1.ÏÈ¿´vo,±¾ÊµÀýÊÇÒ»¸öÌí¼ÓÁªÏµÈ˵ÄСÀý×Ó£¬Ãû×Ö£¬ÓÊÏ䣬Ìí¼Óʱ¼äÈý¸öÊôÐÔ£¬¶¼ÊǸã javaµÄ£¬ÁõÈô ......

flex spring £¬flex ÕûºÏ spring , flex + spring

flexÕûºÏspringÒ²ÓкܶàµÄÀý×Ó£¬ÆäʵÓкܶàÀý×Ӻܸ´ÔÓ¡£ÎÒÔÚÕâ¾Í¸ø´ó¼Ò½éÉܸö×î¼òµ¥µÄ£¬ºÜʵÓá£
˵Ã÷ÏÂ:flexÍêÈ«¿ÉÒÔ´úÌæstruts£¬ÏÂÃæµÄÀý×ÓÄÜÖ¤Ã÷¡£ÓÐÈË»áÎÊÁË£¬ºÍÆäËû¿ò¼ÜÔõôÑùÕûºÏ¡£spring¶¼ÄÜÕûºÏÁË£¬ÆäËû¿ò¼ÜÄãÒª²»»áÕûºÏÎÒÒ²¶¼ÎÞÓïÁË¡£
²»¶à˵ÁË£¬¿´´úÂë¾ÍÖªµÀ¼òµ¥²»£¡
flex--sdk 3.2ÒÔÉÏ
jdk 1.5 ÒÔÉÏ
spring ......

FlexÁ½ÖÖµ¯³ö´°¿Ú

1. ×î¼òµ¥µÄ¾¯¸æ´°¿Ú
ÄãÐèÒªÏȵ¼ÈëAlertÀࣺ import mx.controls.Alert;
È»ºóÔÚÏëÒªµ¯³ö¾¯¸æµÄʱºòʹÓãº
Alert.show(“ÄãÈ·¶¨ÒªÍ˳öϵͳÂð?”,“È·ÈÏ”,Alert.YES|Alert.NO,null,logout)
²ÎÊý˵Ã÷£ºµÚÒ»¸ö²ÎÊýÊÇÒªÏÔʾµÄÎı¾£¬µÚ¶þ¸ö²ÎÊýÊÇ´°¿ÚµÄ±êÌ⣬ÕâÁ½¸ö²ÎÊýÊÇ×î¾­³£Óõġ£µÚÈý¸ö²ÎÊýÊÇ°´Å¥£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ