flex¸ÅÒª½éÉܼ°Ñ§Ï°½¨Òé
ÏÖÔÚ¸»webÓ¦ÓÃÒѾÊǸö´óÇ÷ÊÆ£¬Ô½À´Ô½¶àµÄ´«Í³¿Í»§¶ËÓ¦Óö¼Ïà¼Ì±»webÓ¦ÓÃËùÌæ´ú¡£µ«ÊǼøÓÚwebÓ¦ÓõÄÈõ½»»¥ÐÔ£¬ºÜ¶àÒµÎñ¸ºÔð¡¢ÈË»ú½»»¥Ç¿µÄÓ¦Óô¿js»¹ÊDz»ÄܺܺÃʤÈΣ¬Õâ¿ÖÊÇÄ¿Ç°»¹Óкܶà»îÔ¾csÓ¦ÓôæÔÚµÄÒ»¸öÖ÷ÒªÔÒò¡£Ç°²»¾Ã£¬¹«Ë¾Ò²ÔÚ×ö¼èÄѵÄÑ¡ÔñwebÓ¦ÓÃǰ̨¿ª·¢¿ò¼ÜÑ¡ÐÍÎÊÌ⣬×îºóÑ¡ÔñÁËAdobeµÄFlex¡£¸öÈËÈÏΪFlex¾ÍÊÇÒ»¸ö×ÀÃæÓ¦ÓÃweb»¯µÄÌìÉúÀûÆ÷¡£Í¨¹ý½«½ü°ë¸öÔµÄѧϰ£¬¿ÉÒÔ˵¶ÔFlexÒÑÓдó¸ÅÁ˽⣬ÓÚÊÇдϱ¾ÎÄ£¬Ö÷Òª²ûÊöÁËFlex¼òÒª½éÉÜ¡¢flexºÍflashµÈ¹ØϵºÍflexѧϰ½¨Òé¡£
1¡¢ flex¸ÅÒª½éÉÜ
¹ÙÍøflex.orgÉÏÓÐwhat’s flexµÄÓ¢ÎĽéÉÜ£¬´ó¸Å¾ÍÊÇÏÂÊöÒâ˼¡£
Flex ÊÇÒ»¸öÃâ·ÑµÄ¿ª·ÅÔ´¿ò¼Ü£¬¿ÉÓÃÓÚ¹¹½¨½»»¥ÐԽϸߡ¢¾ßÓбíÏÖÁ¦µÄ Web Ó¦ÓóÌÐò¡£Flex Ìṩһ¸öÏÖ´ú¡¢»ùÓÚ±ê×¼µÄÓïÑԺͱà³ÌÄ£ÐÍ£¬¸ÃÄ£ÐÍÖ§³Ö¹«¹²Éè¼Æģʽ¡£Ê¹ÓûùÓÚ XML µÄÉùÃ÷ÐÔÓïÑÔ MXML ÃèÊö UI ²¼¾ÖºÍÐÐΪ£¬Ê¹ÓÃÃæÏò¶ÔÏóµÄ ActionScript® 3.0 ±à³ÌÓïÑÔ´´½¨¿Í»§¶ËÂß¼¡£Flex »¹°üº¬Ò»¸ö·á¸»µÄ×é¼þ¿âºÍÒ»¸ö½»»¥Ê½ Flex Ó¦ÓóÌÐòµ÷ÊÔÆ÷£¬×é¼þ¿âÖеÄÉÏ°Ù¸ö¾Ã¾¿¼Ñé¡¢¿ÉÀ©Õ¹µÄ UI ×é¼þ¿ÉÓÃÓÚ´´½¨¸» Internet Ó¦ÓóÌÐò (RIA)¡£Ê¹Óà Flex ´´½¨µÄ RIA ¿ÉÔËÐÐÓÚʹÓà Adobe Flash Player Èí¼þµÄä¯ÀÀÆ÷ÖУ¬»òÔÚä¯ÀÀÆ÷ÍâÔËÐÐÓÚ¿ç²Ù×÷ϵͳÔËÐÐʱ Adobe AIR® ÉÏ£¬ËüÃÇ¿ÉÒÔ¿çËùÓÐÖ÷Òªä¯ÀÀÆ÷¡¢ÔÚ×ÀÃæÉÏʵÏÖÒ»ÖµÄÔËÐС£
2¡¢ flex¡¢flash¡¢actionscript¡¢flashbuilder¡¢airÖ®¼äµÄ¹Øϵ
actionscript£ºÊÇÒ»ÖÖ¿ª·¢ÓïÑÔ£¬ÔÚ¿ª·¢ÓïÑÔÅÅÐаñÉÏ£¬2010Äê4ÔµĿª·¢ÓïÑÔÅÅÐаñÆäÒѾλ¾Ó19λÁË£¬·þÎñÓÚflex¡¢flash¡¢air£»
flashbuilder£º¿ÉÀí½âÆäΪIDE£¬·þÎñÓÚflex£¬ÔÚflex3.0ÆäΪflexbuil£¬4.0¸ÄÃûΪflashbuilderµÄ£»
flex£ºÃæÏòwebÓ¦Óÿª·¢×öÁË·â×°£¬ÓÈÆäÊÇÌṩÁËÊý¾Ý·ÃÎÊ×é¼þ¡¢´óÁ¿µÄÀàwindows¿Ø¼þ£»
flash£ºÊǸöÈ«Äܹ¤¾ß£¬Ç¿µ÷µÄÊÇʱ¼äÖᣬµ«ÊʺÏÓÚdesigner£¬¼òµ¥µÄwebÓ¦Óý¨ÒéÓÃflashÀ´×ö£¬½èÖúFlash Lite¸üÊÇ¿ÉÒÔ¿ª·¢Òƶ¯Ó¦Óã»
air£ºÃæÏò×ÀÃæÓ¦Óÿª·¢×öÁË·â×°£¬Çø±ðÓÚflex×î´óµÄµØ·½¾ÍÊÇϵͳ×ÊÔ´µÄ·ÃÎÊ£»
&
Ïà¹ØÎĵµ£º
CategoryAxisÓÐÒ»¸ö½Ð×ölabelFunctionµÄÊôÐÔ£¬Õâ¸öÊôÐԵĶ¨Ò壺ָ¶¨Ò»¸öº¯Êý£¬ÓÃÓÚ¶¨ÒåΪCategoryAxisµÄdataProviderÖеĸ÷¸öÏîÄ¿Éú³ÉµÄ±êÇ©¡£
ËùÒÔÐ޸ĵÄÔÀí£º¿ÉÒÔÀûÓÃlabelFunctionµÃµ½Ã¿¸öLabel£¬È»ºóÔÙ¶ÔÆä½øÐÐÐ޸ġ£
Ƭ¶Î´úÂ룺
<mx:horizontalAxis>
<mx:CategoryAxis id="ca"
&nbs ......
http://elromdesign.com/blog/2010/03/10/test-driven-development-tdd-with-flexunit-4-complete-tutorial/
±¾À´ÊÇ´òËãÍêÕûµÄ·ÒëÍê³ÉÕâƪ²©Îĵģ¬Ò»±ß·Ò룬һ±ß̸̸×Ô¼º¶ÔÇý¶¯²âÊÔ¿ª·¢µÄÀí½â¡£ µ±È»ÎÒµÄÀí½âºÍÔÎÄ×÷ÕßµÄÀí½â²»Ò»¶¨Ò»Ñù£¬µ«ÊÇÖÁÉÙ£¬ÎÒÃǶ¼³ÐÈÏ¿ª·¢µÃÊDzâÊÔÇý¶¯µÄ¡£ È»¶øCSDNµÄ²©¿ÍϵͳÊÇʵÔÚ²»ÄÜÀí½â¡¾Î ......
FlexÖÐImage¼ÓÔØͼƬ³ö´íʱÏÔʾĬÈÏͼƬµÄ·½·¨Ö÷ÒªÓÐÒÔϼ¸ÖÖ£º
·½·¨Ò»£ºÀûÓà brokenImageSkin ·ç¸ñÏÔʾһ¸öĬÈϵÄͼ£¬Ö»ÐèÉèÖÃCSS¾ÍÐÐÁË£¬ÈçÏ£º
<mx:Style>
Image {
brokenImageSkin: Embed("assets/404.jpg");
}
</m ......
Flex/Flash Ö§³ÖµÄÊý¾ÝͨѶ·½Ê½ÓУº
http URLLoader
SOAP(webservice)
json
xml
flash remoting / AMF3
xmlsocket
socket(¶þ½øÖÆ)(×Ô¶¨ÒåÐÒé)
¸ß²¢·¢µÄÓ¦ÓÃÖÐÓû§×´Ì¬¿ÉÒÔÓÃcookie£¬²»ÓÃsession
Èç¹ûÊǶàÈËʵʱ½»»¥ÈçÁÄÌìϵͳ£¬¶àÈËÔÚÏß»¥¶¯µÈÓ¦ÓÃÄ£¿é¡¡ÐèÒªÓÃsocket½øÐÐͨѶ(Óë·þÎñÆ÷½¨Á¢³¤Á¬½Ó)£¬·þÎñÆ÷¶Ë¿ÉÒÔ× ......
Adobe flexµ½µ×ÊÇ×öʲôµÄ£¬ÎÒÔÚÕâÀï¾Í²»½øÐвûÊöÁË¡£Ö÷ÒªÊÇдÏ£ºflex²å¼þ¼¯³Éµ½MyEclipse/EclipseÖеķ½·¨ºÍ flex+javaÏîÄ¿µÄ²¿Êð¹ý³Ì
²å¼þ°²×°¹ý³Ì£º
1.°²×°Eclipse»òÕßMyEclipse;
2.°²×°FlexBuilder3 beta2²å¼þ°æ -- FB3_WWEJ_Plugin.exe;
a.Ñ¡ÔñFlexBuilder3 µÄ°²×°Â·¾¶£¬¿ÉÒÔÈÎÒâÑ¡Ôñ£¬È»ºóµã ......