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

FlexËöÊÂ

1.¹ØÓÚflexµ÷ÊÔ³ö´íеĽâ¾ö˼·:³ýÁËÍøÉÏ˵µÄflash debug°æ±¾Ã»×°Íâ,nodɱ¶¾Èí¼þÒ²ÊÇÒ»¸öÎÊÌâ »¹ÓоÍÊǵ÷ÊÔģʽµÄÎÊÌâ Óб¾µØģʽºÍÔ¶³Ìģʽ ¾ßÌåÐ޸ķ½Ê½µ÷ÊÔ״̬ÏÂÓÒ»÷µ÷ÊÔÆ÷Ñ¡Ôñ×Ô¼ºÏëÒªµÄ. 2.flex°ó¶¨Êý×éɾ³ýÔªËغólistûÓиüÐÂÊý¾Ý ¿ÉÒÔÓÃinvalidateList() 3.progressBar½ø¶Èû¸üпÉÄÜÊÇmodeÉ趨µÄÔ­Òò 4.XML¸ñʽת»¯ÎªArrayCollectionÊÇresultFormat²»ÄÜΪE4x 5.ArrayCollection½ÓÊܵÄÔªËس¤¶ÈÖÁÉÙΪ1 ·ñÔòÎÞ·¨¸³Öµ!(°üÀ¨Array) 6.ÀàÐÍÇ¿ÖÆת»»:µ±stringÎÞ·¨×ª»»ÎªintµÈÊý×ÖÀàÐÍʱÓÃ: ת³ÉintÓÃparseInt
ת³ÉNumberÓÃparseFloat ÕâÀïÓÐƪ½²×ª»»Ð§ÂʵÄ;=========> 7.ÓÐʱÖØÆôÏÂFlexÊǺܺõÄˢа취,ÓÈÆäÊÊÓÃÓÚһЩĪÃûÆäÃîµÄ´íÎó! 8.enableAutoUpdate():×Ô¶¯¸üÐÂÊý¾Ý; 9.¹ýÂËÄÚÈÝÈ«ÊÇÖеĿոñ: private function canSend():void{
    send_txt.text=send_txt.text.replace(/^\s*|\s*$/g, "");
    if(send_txt.text !="")
        send_btn.enabled = true
    else{
        send_btn.enabled = false
    }
} 10.һЩС¹éÄÉ 43 Hot Flex and ActionScript 3.0 APIs, tips and tools for Autumn 2008 Top 10 Mistakes when building Flex Applications 12 very simple,basic but useful function source in Flex


Ïà¹ØÎĵµ£º

FlexÖеĵ¼º½Æ÷

Ò»¸öµ¼º½ÈÝÆ÷¿É
ÒÔͨ¹ýÒ»×é×ÓÈÝÆ÷À´¼à¿ØÓû§µÄ²Ù×÷¡£±ÈÈ磬TabNavigator
Õâ¸öÈÝÆ÷¾Í¿ÉÒÔͨ¹ýÒ»×étabs
À´ÈÃÓû§Ñ¡Ôñ¿É¼ûµÄ×ÓÈÝÆ÷¡£Flex3
ÌṩÁËÈýÖÖÖ÷ÒªµÄµ¼º½ÈÝÆ÷£º
Ø      

ViewStack
Ø      

TabNavigator
Ø &nbs ......

FlexÖ®TabNavigator

TabNavigatorĬÈÏÊÇÖ»³õʼ»¯µÚÒ»¸öTABµÄ£¬ÉèÒ»ÏÂÊôÐÔ£¬ÉèÁ˺ó»á³õʼ»¯ÆäËûTAB£¬creationPolicy="all"
²¹³äÏÂtabÀïÃæµÄÈÝÆ÷ÊÇCanvas
¶¯Ì¬Éú³ÉTabNavigator tabÒ³Ãæ
var canvas: Canvas = new Canvas();
canvas.label = "new Tab";
tabNavigator.addChild(canvas);
-------------------------------------------------- ......

Flexѧϰ±Ê¼Ç

ʲôÊÇCairngorm£¿
Cairngorm£¨ÖÐÎÄÃû£º“ÑÌË®¾§”£¿£©ÊÇÒ»¸öÇáÁ¿¼¶µÄFlex RIA³ÌÐò¿ª·¢¿ò¼Ü£¬´Ó¶øʹ³ÌÐò¿ÉÀ©Õ¹ÐÔ¡¢¿Éά»¤ÐÔ¶¼´ó´óÌá¸ß£¬Æä±¾Éí²¢²»ÊÇÒ»¸öÍêÕûµÄÆóÒµÓ¦Óã¬ËüÖ»ÊÇÌṩÁËÒ»¸ö¿ª·¢¹Ç¼Ü£¬Adobe³Æ֮ΪÌåϵ¡£
CairngormÌåϵ
Ö÷Òª°üÀ¨ÒÔϼ¸¸ö²¿·Ö£º
1¡¢VO£¨Value Object£©
IValueObject ºÍ ValueO ......

Flex Ïà¹Ø×ÊÔ´Õ¾µã

Ò»¡¢¹úÍâÕ¾µã
1.×ÊÔ´ÍøÕ¾
Adobe Labs
£ºÕâ¸ö²»ÓÃÎÒ˵ÁË°É¡£
Flex.org
£º¹Ù·½µÄFlexÍøÕ¾£¬»ù±¾ÉÏÓ¦Óо¡ÓС£
Flex Developer Center
£ºAdobe Flex¿ª·¢ ÕßÖÐÐÄ£¬¾­³£»áÓÐһЩºÃµÄ½Ì³Ì³öÏÖ¡£
FlexBox
£ºÒ»¸öÊÕ¼¯ÁËÍøÉϺܶ࿪Դ ×é¼þµÄÕ¾µã£¬Êǽø½×ѧϰµÄºÃ°ïÊÖ¡£
FlexLib
£ºGoogle Code ÉÏÃæÒ»¸ö¿ªÔ´Flex×é ......

¹ØÓÚflexµÄʼþ·Ö·¢µÄÒ»µãÆÚÍû

flexµÄʼþ·Ö·¢ÊǸöºÃ¶«Î÷£¬µ«ÊÇʵ¼Ê±à³ÌµÄʱºòÌ«¶à¶òÓà´úÂ룬¶øÇÒʼþÖ®¼ä´©À´²åÈ¥£¬²»·ûºÏÒ»°ã³ÌÐòÔ±µÄÊéдϰ¹ß£¬Í¬ÑùµÄExtjsÒ²ÊÇ»ùÓÚÒì²½´¦Àí²¢ÇÒËüµÄ´úÂ뼸ºõijÖ̶ֳÈÉÏ¿ÉÒÔÀí½âÊÇflexµÄjs°æ±¾£¬µ«¾ÍûÄÇô¶àÈËÂñÔ¹ËüµÄÒì²½´¦ÀíºÜÂé·³¡£
½â¾ö°ì·¨£º
1¡¢ÆÚ´ýij¸öflash builderµÄ²å¼þ¼°¿ò¼Ü£¬¿É·â±Õ¹ÜÀíʼþ£¬²¢ÇÒʼþÁ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ