FlexÓÎϷƪ——ÓÎÏ·¿ª·¢¸ÅÊö
¸ÅÊö
ÓÎÏ·¿ª·¢ÊǸöºÜ´óµÄ¿ÎÌ⣬¸ÃϵÁÐÖ»¼òµ¥½²ÊöÈçºÎʹÓÃFlex¼¼Êõƽ̨´î½¨Ò»¸ö¼òµ¥µÄÓÎÏ·¿ò¼Ü£¬ÈçºÎÉè¼ÆÄÜÓÅ»¯ÓÎÏ·µÄCPUÕ¼Óã¬ÄÚ´æµÈ£¬×îºóÖÆ×÷Ò»¸öÍêÕûµÄFlexСÓÎÏ·(ÌṩԴÂë)¡£
ÓÎÏ·µÄ³ÊÏÖ
·½Ê½1£ºÔª¼þ·½Ê½
ÕâÖÖ·½Ê½±È½ÏÊʺÏСÐ͵ÄÓÎÏ·£¬ÓÎÏ·Ôª¼þÊýÁ¿ÉÙµÄÇé¿ö¡£µ±ÓÎÏ·Ôª¼þÊýÁ¿´óʱ¾Í²»ºÏÊÊÁË£ºÔª¼þ»á¶ÔÓÎϷͼÐΡ¢ÒôƵµÈ×ÊÔ´½øÐп½±´£¬ÀË·Ñ´óÁ¿Äڴ棻²¢ÇÒÔª¼þ»á¶ÀÁ¢¹ÜÀí×ÔÉíµÄ³ÊÏÖ£¬Õâ¸ö¿ªÏúÊǺÜÑÏÖصġ£¸Ã·½Ê½µÄºÃ´¦ÊÇ¿ª·¢±È½Ï¼òµ¥£¬ËùÒÔÒ²±È½Ï³£Óã¬ÊÇflashÓÎÏ·µÄÖ÷Òª¿ª·¢·½Ê½¡£
·½Ê½2£º»æÖÆ·½Ê½
µ±ÓÎÏ·¾«ÁéÊýÁ¿±È½Ï¶àʱ·½Ê½1ÏÔµÃÓеãÁ¦²»´ÓÐÄÁË£¬»ÃæÌ«¿¨ÁË£¬Ó°ÏìÓÎÏ·ÌåÏÖ¡£ÓûæÖÆ·½Ê½Äܹ»ºÜºÃ½â¾ö»Ãæ³ÊÏÖµÄÎÊÌ⣬Õâ¸ö·½Ê½µÄÌصãÊÇ£¬±³ºóÓÐÒ»ÕÅÓÎÏ·³¡¾°µÄͼÏñ»º´æ£¬µ±»ÃæÐèÒª³ÊÏÖʱ£¬Ïȸù¾ÝÓÎÏ·Êý¾Ý°ÑÓÎÏ·»ÃæÏÈ»æÖƵ½Í¼Ïñ»º´æ£¬È»ºóÔÙ°ÑͼÏñ»º´æ»æÖƵ½ÓÎÏ·³¡¾°½øÐÐÏÔʾ£¬ÕâÑù×ö³ÊÏÖЧÂʸߣ¬²¢ÇÒÓÎϷͼÏñµÈ×ÊÔ´²»ÐèÒª±»¿½±´£¬½ÚÊ¡ÄÚ´æ¡£¸Ã·½Ê½µÄȱµãÊÇ¿ª·¢¸´ÔÓ£¬¿ª·¢ÄѶȽϴ󡣴«Í³µÄPCÓÎÏ·¶¼ÊDzÉÓûæÖÆ·½Ê½³ÊÏֵġ£
·½Ê½3£º»ìºÏ·½Ê½
¸ù¾ÝÉÏÃæµÄ½éÉܺͽáºÏFlex¼¼Êõƽ̨µÄÌص㣬Ӧ¸Ã×ÛºÏʹÓÃ2ÖÖ·½Ê½¡£
»æÖÆ·½Ê½£ºÖÆ×÷ÓÎÏ·Ö÷³¡¾°³ÊÏÖ¡£
Ôª¼þ·½Ê½£ºÖÆ×÷ÓÎÏ·Íâ¿ò£¬ÓÎÏ·²Ëµ¥£¬½»»¥´°Ì壬ÓÎÏ·ÊôÐÔ´°ÌåµÈ²¿·Ö¡£
ÁíÒ»¸öÃ÷ÐÇSilverlight
Silverlight£¬RIAµÄÁíÒ»Ã÷ÐÇ£¬³´µÃ·Ð·ÐÑïÑï¡£¶ÔÓÚSilverlight£¬Ä¿Ç°±È½ÏÒź¶µÄÊÇ£¬ËüÄ¿Ç°Ö»Ö§³ÖÔª¼þ·½Ê½µÄ³ÊÏÖ£¬²»Ö§³Ö»ÃæµÄÖ±½Ó»æÖÆ(¿ÉÄܱ¾È˼ûʶÓÐЧ»¹Ã»ÓÐÕÒµ½Ïà¹Ø×ÊÁÏ)£¬Õâ¶ÔSilverlightµÄÓÎÏ·ÐÔÄÜ´ó´òÕÛ¿Û¡£±¾ÈË×ö¹ýÒ»¸ö¼òµ¥µÄ²âÊÔ£¬×öÒ»¸öÈËÎïÐÐ×ßµÄÓÎÏ·¾«Áé(¶¯»Ò»Ö±²¥·ÅµÄ)£¬ÔÚSilverlight³¡¾°ÉÏ·ÅÉÏ1000¸ö£¬»ÃæÒѾºÜ¿¨ÁË£¬ÈËÎﶯ×÷ÉúÓ²¡£ÎÒÔÚFlexµÄ³¡¾°ÉÏ£¬ÓûæÖÆ·½Ê½£¬»æ³ö10000¸öʱ¿¨µÄ³Ì¶È²ÅºÍSilverlightÉϵÄÏàËÆ¡£Silverlight»¹ÔÚ·¢Õ¹ÖУ¬¾Ý˵Silverlight 4¶Ô»ÃæäÖȾ×÷ÁËÓÅ»¯£¬¸ÄÉÆÓÎÏ·ÐÔÄÜ¡£¸ÐÐËȤµÄÆÚ´ýÏ°ɡ£
Ïà¹ØÎĵµ£º
ÈóǬ¼´Ê±±¨±í²»½ö¿ÉÒÔͨ¹ýÍÏקµÄ·½Ê½ÇáËÉʵÏÖ¸÷ÖÖ³£¼ûÀàÐ͵Äweb±¨±íÖÆ×÷£¬¶øÇÒÔÚÕ¹ÏÖ±¨±íʱ»¹ÌṩÁËÁé»îµÄFlex¹¤¾ßÌõ£¬¿ÉÒÔͨ¹ýFlex¹¤¾ßÌõʵÏÖµ÷ÕûÁÐ¿í¡¢ÅÅÐòºÍ¹ýÂËÏÔʾÊý¾ÝµÈ¹¦ÄÜ¡£ÏÂÃæ¾ÍÏȼòµ¥µÄ½éÉÜÒ»ÏÂÈçºÎʹÓÃFlex¹¤¾ßÌõµ÷ÕûÁÐ¿í¡£ ÎÒÃÇÉè¼ÆÒ»¸ö¼òµ¥ÀàÐ͵ı¨±í£¬±¨±í²é¿´ÈçÏÂͼ ÔÚÉÏͼÖÐÎÒÃÇ¿ÉÒÔ¿´µ½£¬µ±¹ÍÔ±µØÖ·¹ý³ ......
Main.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" xmlns:file="file.*">
<mx:Script>
<!--[CDATA[
import simPager.PagerEvent;
import mx.collections.ArrayCollection;
[Bindable]
priv ......
1.ÎÒµÄÅäÖû·¾³Îª:
flexBuilder3,LCDS251,MyEclipse 5.5.1
GA+
2.°²×°lcds2.5.1£¬´ò¿ªÄ¿Â¼£¬ÀïÃæÓÐÒ»¸öflex
.war
3.¹Ø±Õtomcat(Èç¹û´ò¿ªÔڵĻ°)
4.½«flex
.war¿½ÈëtomcatµÄwebappsĿ¼
5.ÖØÆôtomcat,¿ÉÒÔ¿´µ½webappsÀï¶àÁËÒ»¸öĿ¼flex
£¬Õâ±ãÊÇÎÒÃÇÒªµÄ¶«Î÷
6.¿ÉÒÔ½«flex
.warɾ³ý
7.½«flex
Îļ ......
¹«Ë¾°²ÅÅ¿ªÊ¼×ö·þÎñÆ÷£¬Ã»ÓнӴ¥¹ýÕâЩ¶«Î÷¡£´ÓÁ㿪ʼѧϰ¡£
ÏîÄ¿ÊÇ×ö¸öÁÄÌìϵͳ¿Í»§¶ËÓÃflex£¬·þÎñÆ÷ÓÃC++£¬ÈÃÎÒÏȳöDemo¡£
·þÎñÆ÷²¿·Ö²ÎÕÕWindowsÍøÂç±à³ÌÒ»ÊéÖеÄselectÀý×Ó£¬»ù±¾Ò»Ñù£¬Ö»ÊÇ°ÑÀý×ÓÖеĵĵ¥¸ö»ØÓ¦ÏûÏ¢¸Ä³ÉÁËȺ·¢ÏûÏ¢¡£
ËäÈ»ÎÒ¶ÔselectÄ£ÐÍ»¹²»ÊìϤ£¬µ«ÊÇÎÒÖªµÀÈç¹ûÒªÔÚÒ»¸öÌ×½Ó×ÖÉÏ·¢ÏûÏ¢¾Í±ØÐëÉèÖÃFD ......
ÓÉÓÚFlexÖ»ÊÇÒ»ÖÖ¿Í»§¶Ë¼¼ÊõÆä±¾Éí²¢²»ÄÜÖ±½ÓͬÊý¾Ý¿â½»»¥£¬ÔÚʵ¼ÊµÄÓ¦Óÿª·¢¹ý³ÌÖÐFlexÌṩÁËÈçURLRequest¡¢HTTPService¡¢RemoteObject¡¢WebServiceµÈÀàÒÔʵÏÖͬ·þÎñÆ÷µÄͨѶºÍÊý¾Ý½»»¥£¬ÏÂÃæ×öһЩ½éÉܺÍʵÀý½âÎö:
1¡¢Ê¹ÓÃURLRequestÏò·þÎñÆ÷·¢ËÍÇëÇó£¬Ê¹ÓÃURLLoader½ÓÊÕ·þÎñÆ÷·µ»ØµÄÊý¾Ý:
& ......