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

¡¾¿ª·¢¡¿²âÊÔÇý¶¯µÄFLEX¿ª·¢ ʹÓÃFLEXUNIT

http://elromdesign.com/blog/2010/03/10/test-driven-development-tdd-with-flexunit-4-complete-tutorial/
±¾À´ÊÇ´òËãÍêÕûµÄ·­ÒëÍê³ÉÕâƪ²©Îĵģ¬Ò»±ß·­Ò룬һ±ß̸̸×Ô¼º¶ÔÇý¶¯²âÊÔ¿ª·¢µÄÀí½â¡£ µ±È»ÎÒµÄÀí½âºÍÔ­ÎÄ×÷ÕßµÄÀí½â²»Ò»¶¨Ò»Ñù£¬µ«ÊÇÖÁÉÙ£¬ÎÒÃǶ¼³ÐÈÏ¿ª·¢µÃÊDzâÊÔÇý¶¯µÄ¡£ È»¶øCSDNµÄ²©¿ÍϵͳÊÇʵÔÚ²»ÄÜÀí½â¡¾ÎÞ·¨´óƪ·ùµÄCP¹ýÀ´¡¿£¬ ÄÇÎÒ¾ÍÒýÓÃÒ»ÏÂÕâƪÎÄÕ¡£ ÉÔ΢̸һÏÂÎÒ¶Ô²âÊÔÇý¶¯µÄ¿ª·¢µÄÀí½â¡£
ÕâƪÎÄÕÂÎÞÒÉÊǺÜÖµµÃÒ»¿´µÄ£¬¶øÇÒ´øÓÐÏêϸµÄÀý×ÓÑÝʾÁ˲âÊÔÇý¶¯µÄ¿ª·¢¡£ ÔÚFLEXÕâÑùÒ»¸ö½çÃæ²àÖصĿò¼ÜÖУ¬²âÊÔÇý¶¯¸üÊDZز»¿ÉÉٵġ£ÆäʵҪ¿´¶®ÕâƪÎÄÕ²¢²»À§ÄÑ£¬ÊìϤFLEXµÄÈË¿ÉÄܶ¼²»Ð¼ÓÚ¿´ÕâÖÖTUTORIAL£¬ÎÒ¾õµÃÒýÕâƪÎÄÕµÄÖ÷ҪĿµÄÊÇÇ¿µ÷²âÊÔÇý¶¯¿ª·¢µÄÖØÒªÐÔ£¬ÌرðÊÇÔÚFLEXÕâÑùµÄ¿ò¼ÜÏÂÃæ¡£
´«Í³µÄÈí¼þ¹ý³ÌÖУ¬²âÊÔÊǶÀÁ¢ÓÚ¿ª·¢²¿·ÖµÄ£¬£¨ÎÒ»¹ÊÇÀÖÓÚÌÖÂÛÈí¼þ¹¤³ÌµÄ¶«Î÷£©£¬¿ª·¢ÕßÍê³É¿ª·¢ºó½»¸ø²âÊÔÕß½øÐвâÊÔ£¬·¢ÏÖÎÊÌ⣬¿ª·¢ÕßÐ޸ģ¬È»ºóÔÙ²âÊÔ¡£ ËƺõÊÇûÓÐÎÊÌâµÄ£¬ÎÊÌâ¾ÍÔÚÓÚ´ú¼Û£¬ÕâÑùµÄÒ»´Î¸Ä¶¯´øÀ´µÄʱ¼äÏûºÄÊǿɹ۵ģ¬ÌرðÊÇÔÚÐèÇó±ä¶¯Æµ·±µÄÇé¿öÏ¡£Ö®ËùÒÔÇ¿µ÷²âÊÔÇý¶¯µÄ¿ª·¢ÔÚFLEXϵÄÇé¿ö£¬¾ÍÊÇÕâ¸öµÀÀí£¬FLEXÊÇÆ«ÏòÓÚ¿Í»§¶Ë£¬Æ«ÏòÓÚ½çÃæµÄ¶«Î÷¡£ ¶øÍâ¹ÛÊÇÕû¸öÈí¼þϵͳÖÐ×îÈÝÒ×·¢Éú±ä»¯µÄ²¿·Ö£¬Ã¿¸öÈ˶ԽçÃæµÄ¶¨Ò嶼ÊDz»Í¬µÄ£¬Òò´ËÔÚÏîÄ¿µÄµü´ú¹ý³ÌÖлá´øÀ´´óÁ¿µÄ½çÃæ¸ü¸ÄµÄÐèÒª£¬ÕâЩ½çÃæÈç¹ûñîºÏ×ÅÒµÎñÂß¼­£¬¶øÇÒûÓвâÊÔ´úÂëµÄ»°£¬ÕâÖÖÐ޸Ĵú¼Û¿ÉÒÔÏëÏó£¬ÄãÓÀÔ¶ÎÞ·¨ÖªµÀϵͳÖе½µ×ÊDz»ÊÇ»¹ÓÐÒþ²ØµÄbug£¬ÄãÓÀÔ¶²»ÖªµÀij¸ö±ä¸üµÄÐèÇóµ½µ×ÊDz»ÊÇÔÚ²»Ó°ÏìÔ­ÓÐÒµÎñÂß¼­µÄÇé¿öÏÂÍê³ÉÁË¡£
Ç¿µ÷²âÊÔÇý¶¯¿ª·¢µÄºÃ´¦Ö®Ò»¾ÍÊDZÜÃâÕâÑùµÄÇé¿ö£¬¿ª·¢ÕßÔÚ±àд³ÌÐòµÄ¹ý³ÌÖоÍÒѾ­ËæÊÖдºÃÁËËùÓдúÂëµÄ²âÊÔ£¬ÄÇôÈκθĶ¯£¬Ö»ÐèÒª½«Ô­À´µÄ²âÊÔÖ´ÐÐÒ»±é£¬±ãÄܹ»È·ÈϸĶ¯ÊDz»ÊÇÔÚÔ¤ÆÚÄÚ´ïµ½ÒªÇóÁË¡£ ÁíÍâÒ»¸ö¸½¼ÓµÄºÃ´¦¾ÍÊÇÄܹ»Èÿª·¢ÕßÄܹ»Óиü¶àµÄʱ¼äÀ´ÕûÀí˼·£¬¿¼ÂÇÕû¸öÏîÄ¿µÄ¼Ü¹¹Éè¼ÆÎÊÌ⣬ ͨ³£Çé¿öÏ¿ª·¢Õß×ÜÊÇÄõ½ÐèÇóÈ»ºó¾Í¿ªÊ¼±àÂ룬ֻ¹Ü°Ñµ±Ç°µÄÈÎÎñÍê³ÉÁ˾ÍË㣬Ȼ¶øÈç¹û²»¶ÔÎÊÌâ½øÐÐÕûÌ忼ÂÇ£¬¶ÌÆÚÄÚËƺõÐèÇóÊÇÂú×ãÁË£¬ µ«ÊÇÒ»µ©·¢ÉúÐèÇó±ä¸ü£¬¿ÉÄÜÕâ´ÎµÄÐ޸Ļ¹µÃÖØÐÂÔÙʵÏÖÒ»´Î¡£ ²âÊÔÇý¶¯µÄ¿ª·¢¾ÍÊÇÒª°ÑÕâÖÖÇé¿ö³öÏֵĸÅÂʾ¡¿ÉÄܵĽµµÍ¡£ ²âÊÔÇý¶¯µÄ¿ª·¢ÒªÇ󿪷¢Õß½«Èí¼þÖÐÏà¶Ô¶ÀÁ¢µÄ¹ý³Ì½âñî³öÀ´±ãÓÚ²âÊÔ£¬ ÒòΪÓë½çÃæÉè¼ÆñîºÏµÄÒµÎñÂß¼­ÊÇÎÞ·¨²âÊԵġ£
ͨ³£Çé¿öÏ£¬³õ¼¶µÄ¿ª·¢Õß×ÜÊÇÈÏΪº¯ÊýµÄ²úÉúÊÇËæÒâµÄ£¬Ð´µ½Ò


Ïà¹ØÎĵµ£º

Flex BlazeDS Message Service

 ÏûÏ¢·þÎñ(Message Service )Ìṩ·¢²¼(publish)/¶©ÔÄ(subscribe)»úÖÆÔÊÐíFlex Ó¦ÓóÌÐò·¢²¼ÏûÏ¢¡¢¶©ÔÄÏûÏ¢ÖÕ¶Ë(messaging destination)£¬´Ó¶øʵÏÖʵʱÊý¾ÝµÄÍƺÍЭ×÷¡£
¡¡¡¡Ò»¡¢Message Service
¡¡¡¡Message Service Ìṩ·¢²¼(publish)/¶©ÔÄ(subscribe)»úÖÆÔÊÐíFlex Ó¦ÓóÌÐò·¢²¼ÏûÏ¢¡¢¶©ÔÄÏûÏ¢ÖÕ¶Ë(messaging des ......

flex ¹ö¶¯ÌõÎÊÌâ

flex¹ö¶¯ÌõËäÈ»ºÜºÃÓ㬵«×ÜÊÇ»á³öÏÖÒâÏë²»µ½µÄÎÊÌ⡣ǰ¼¸Ìì˵ÁË£¬Í϶¯ºó»¨ÆÁµÄÎÊÌ⣬½ñÌìÓÖ·¢ÏÖÁ˸ü¶ñÐĵÄÎÊÌâ¡£µ±Äã°ÑÈÝÆ÷µÄ¿í¶Èµ÷Ϊ100%ºó £¬verticalScrollbarPolicy ÓÃĬÈϵÄauto¡£ÕâÊÇÈç¹ûÄãËõ·Å´°¿Ú»á³öÏÖ¹ö¶¯Ìõ£¬µ«ÎÊÌâÕâÊǾͳöÏÖÁË£¬Ö»Òª³öÏÖÁË´¹Ö±¹ö¶¯Ìõ£¬Ë®Æ½¹ö¶¯Ìõ¾ÍÊDZ»ÆȳöÏÖ¡£
<?xml version="1.0" enco ......

FlexÀý×Ó Í¨¹ý¼Ì³ÐÔö¼ÓÐµĹ¦ÄÜ

FlexÖÐͨ¹ý¼Ì³Ð¿ÉÒÔΪÐÂ×é¼þÔö¼ÓÐµĹ¦ÄÜ£¬Èçͨ¹ý×¢Èë·½·¨£¬¸Ä±ä±³¾°É«£¬¸Ä±äλÖú͸߶ȵȡ£ÕâÀïÖ÷ÒªÕÆÎÕÔ­×é¼þµÄһЩÌØÐÔ£¬ÊôÐԺͷ½·¨£¬ÒÔ±ã¸ù¾ÝÐèÒªµÄ¹¦ÄܼÓÒÔ¸²Ð´£¨Ò²¿ÉÒÔ×Ô¼ºÀ©Õ¹£©£¬´ïµ½×Ô¼ºÏëÒªµÄЧ¹û¡£ÏÂÃæÊÇÒ»¸ö¼òµ¥µÄÀý×Ó
1¡¢Ð½¨MyDataGrid.as,¼Ì³ÐDataGrid,¸²Ð´drawRowBackground·½·¨£¬×¢ÈërowColorFunction·½ ......

flex ͼ±ícategoryFieldÉèÖà labelFunctionʹÓÃ

CategoryAxisÓÐÒ»¸ö½Ð×ölabelFunctionµÄÊôÐÔ£¬Õâ¸öÊôÐԵĶ¨Ò壺ָ¶¨Ò»¸öº¯Êý£¬ÓÃÓÚ¶¨ÒåΪCategoryAxisµÄdataProviderÖеĸ÷¸öÏîÄ¿Éú³ÉµÄ±êÇ©¡£
ËùÒÔÐ޸ĵÄÔ­Àí£º¿ÉÒÔÀûÓÃlabelFunctionµÃµ½Ã¿¸öLabel£¬È»ºóÔÙ¶ÔÆä½øÐÐÐ޸ġ£
Ƭ¶Î´úÂ룺
<mx:horizontalAxis>
  <mx:CategoryAxis id="ca"
  &nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ