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

Flex»ù±¾Ô­Àí

Á˽âFlex³ÌÐòµÄÉúÃüÖÜÆÚ
Flex³ÌÐò´Ó±¾ÖÊÉϽ²£¬¾ÍÊÇʹÓÃÁË£¨ÓÉAS±àдµÄ£©Flex¿ò¼ÜµÄFlash³ÌÐò¡£
µ«ÔÚFlex³ÌÐòÖпÉÒÔºöÂÔtimelineÕâ¸ö¸ÅÄËùÓеÄÄÚÈݶ¼¼¯ÓÚÒ»Ö¡¡£
ÊÂʵÉÏFlex³ÌÐòÖеĸù£¬ÊǼ̳Ðflash.display.MovieClipµÄmx.managers.SystemManager¡£
SystemManagerÓÐÁ½Ö¡¡£µÚÒ»Ö¡ÊÇÔ¤¼ÓÔØ³ÌÐò£¬µÚ¶þÖ¡ÊÇÖ÷³ÌÐò¡£
Òò´Ë£¬ËùÓгÌÐòÔÚÕæÕý¿ªÊ¼ÔËÐÐǰ£¬ÐèÒª¾­¹ýÈçϹý³Ì:
Ô¤³õʼ(preinitialize)
    ³ÌÐòÔÚÕâ¸ö¹ý³Ìºó£¬ÒѾ­±»ÊµÀý»¯£¬µ«»¹Î´´´½¨ÈκÎÄÚÈÝ¡£
³õʼ»¯(initialize)
    ³ÌÐòÔÚÕâ¸ö¹ý³Ìºó£¬ÒÑ´´½¨ºÃÄÚÈÝ£¬µ«»¹Î´Íê³É²¼¾Ö¡£
´´½¨Íê³É(creationComplete)
    ³ÌÐòÔÚÕâ¸ö¹ý³Ìºó£¬ÒÑÍê³É°üÀ¨²¼¾ÖÔÚÄÚµÄËùÓд´½¨¡£
ÔÚ˳ÀûÍê³ÉÒÔÉÏ3¸ö¹ý³Ìºó£¬SystemManager¹ã²¥applicationCompleteʼþ£¬Òâζ×ųÌÐòÕû×°´ý·¢ÁË¡£
SystemManager»¹¹ÜÀí×ÅËùÓÐÏÔʾÔÚǰ¶ËµÄÄÚÈÝ¡£°üÀ¨µ¯³ö´°£¬Êó±êÖ¸Õ룬¹¤¾ßÌáʾµÈ¡£
SystemManager
ÓÐÒ»¸ö½ÐtotelLevelSystemManagerµÄÊôÐÔ¡£µ±Flex³ÌÐòÊÇÒ»¸ö¶ÀÁ¢³ÌÐòʱ£¬¸ÃÊôÐÔÖ¸ÏòSystemManagerµÄʵÀý£¬¶øµ±
Flex³ÌÐòÊDZ»¼ÓÔØµ½±ðµÄFlex³ÌÐòʱ£¬¸ÃÊôÐÔÖ¸Ïò¼ÓÔØÕßµÄSystemManagerʵÀý¡£
ËùÓÐUIComponents¶¼ÓÐÒ»¸ösystemManagerµÄÊôÐÔ£¬Ö¸Ïò³ÌÐòµÄSystemManagerʵÀý¡£
Á˽âÔ¤¼ÓÔØÆ÷
Ô¤¼ÓÔØÆ÷ÓÉSystemManagerÔÚµÚÒ»Ö¡×Ô¶¯´´½¨£¬µ±Íê³Éºó·¢²¼completeʼþ£¬²¢½øÈëµÚ¶þÖ¡£¬ÔÙÓÉSystemManagerɾ³ý¡£
³ýÁËcompleteÒÔÍ⣬»¹ÓÐÈçÏÂʼþ£º
progress£º³ÌÐòÏÂÔØ¹ý³Ì
rslError£ºÔËÐÐÆÚ¹²Ïí¿âÏÂÔØÊ§°Ü
rslProgress£ºÔËÐÐÆÚ¹²Ïí¿âÏÂÔØ¹ý³Ì
rslComplete£ºÔËÐÐÆÚ¹²Ïí¿âÏÂÔØÍê³É
initProgress£º³ÌÐò³õʼ»¯¹ý³Ì
initComplete£º³ÌÐò³õʼ»¯Íê³É
ÔÚFlex³ÌÐòÖмÓÔØÁíÒ»¸öFlex³ÌÐò
±»¼ÓÔØµÄFlex³ÌÐò£¬ÔÚ¼ÓÔØÍê±Ïºó£¬×ÔÉíÄÚ²¿»á¾­ÀúÉÏÊö3¸ö¹ý³Ì¡£×îÖÕ£¬Ö÷³ÌÐò²ÅÄܶԸóÌÐò½øÐÐÓÐЧµÄ·ÃÎÊ¡£
<!--
------------------------------------
    B.mxml Éú³É B.swf
--------------------------------------
-->
<?
xml version="1.0" encoding="utf-8"
?>
<
mx:Application 
xmlns:mx
="http://www.adobe.com/2006/mxml"
 layout
="absolute"
>
    
<
mx:Script
>
        
<![C


Ïà¹ØÎĵµ£º

´´½¨Ò»¸öMap·þÎñ²¢ÔÚFlexÖе÷ÓÃ

Ò»¡¢    ½«±£´æmxdµØÍ¼ÎĵµµÄÎļþ¼ÐÉèΪ¹²Ïí£¬²¢¸øSOC,SOM,MANAGER£¬¹ÜÀíÔ±ÕË»§ÊÚËùÓÐȨÏÞ¡£
¶þ¡¢    ÔÚArcCatalogÖУ¬µã»÷connector to folder£¬½«ÉÏÃæµÄĿ¼Ìí¼Óµ½CatalogÖС£
Èý¡¢    ÔÚÄ㽨Á¢µÄGIS ServerÉÏÓÒ¼ü£¬Ð½¨Ò»¸ö·þÎñ¡£
1¡¢      Ó ......

FLEX MXML×ÖÌå´óСÉèÖÃ

ÒòΪmyeclipseµÄbugÎÊÌ⣬һʱ¾¹È»Ã»ÓÐÕÒµ½ÄÜÐ޸ĵĵط½£¬ÆäʵºÜ¼òµ¥£¬²½ÖèÈçÏ£º
myeclipse-->window-->Preference-->General-->Appearence-->Colors and Fonts-->Basic-->Text Font
È»ºóµã»÷change,Ð޸ijÉ×Ô¼ºÐèÒªµÄ×ÖÌå´óС£¬²»¹ýÐ޸ı£´æºó£¬·¢ÏÖÐÞ¸ÄʱÎÞЧµÄ£¬Ã»ÓÐÆð×÷Óá£
Õâʱ°ÑËüÔٸijÉ10º ......

Flex Óà POST Ìá½»Êý¾Ý


public function submit():void{
   
    //ÒªÇëÇóµÄURL
    var request:URLRequest = new URLRequest("
http://localhost:8086/test.do
") ;
    var load:URLLoader = new URLLoader() ;
    //URL²ÎÊý
  & ......

»ùÓÚFlexµÄflv¼òÒײ¥·ÅÆ÷

×î½üÔÚÏîÄ¿ÖÐÒªÓõ½flv²¥·ÅÆ÷£¬ÓÉÓÚflex×Ô´øµÄVideoDisplay×é¼þ²»ÊǺܺÃÓ㬾Í×Ô¼º¼òµ¥ÊµÏÖÁËÒ»¸ö£¬½çÃæ²»ÊǺÜÃÀ¹Û£¬µ«¹¦Äܶ¼ÓÐÁË£¬Õý¿ÉνÂéȸËäСÎåÔà¾ãÈ«¡£ÏÂÃæÊDz¥·ÅÆ÷µÄ´úÂ룬»¹²»»áÓÃflash×öflv²¥·ÅÆ÷µÄÅóÓÑ£¬¿ÉÒԲο¼²Î¿¼¡£
Player.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="ht ......

Flex Deep Link(ÉîÁ´½Ó)Ó¦ÓÃ


×î½ü×öÓÎÏ·µÄʱºò£¬·¢ÏÖÍ˳öµÇ½ʱURLÉÏ»á×Ô¶¯¼ÓÉÏÒ»¸ö“#”×Ö·û£¬ºÜÆæ¹Ö£¬Google+BaiduÎÞÊý´Î¶¼Ã»ÓÐÕÒµ½´ð°¸¡£½ñÌìÎÞÒâ¼ä¿´µ½¼¸¸ö
ȺÓÑÔÚ˵ͨ¹ý“BrowserManager”»ñÈ¡URL£¬ÓÚÊÇ×Ðϸ²é¿´ÁËAPI£¬ÓÖ·¢ÏÖÁË“HistoryManager”£¬Õâ¸öÎÊÌâÖÕÓÚÃ÷°×ÁË¡£
ÎÒÃÇͨ³£¿´µÄWebÒ³Ãæ
¿ÉÒÔͨ¹ýä¯ÀÀÆ÷µ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ