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

Flex Blazeds ÖеÄRemoteClass Óë¶àModule¼äµÄÎÊÌâ

ÔÚÏîÄ¿ÖÐÓõ½Á˶à¸ömoduleʱ£¬ÔÚµÚÒ»´Î¼ÓÔØModuleÊÇ¿ÉÒԵġ£ÔÚµÚ¶þ´Î¼ÓÔØmoduleʱ»á³öÏÖת»»Ê§°Ü
½â¾ö·½·¨£º
ÈçÏÂΪ½â¾ö°ì·¨£ºÔÚÒªµ÷ÓÃÔ¶³Ì¶ÔÏóµÄApplicationÎļþÀïÃ棬¼ÓÉÏÈçÏÂÉùÃ÷Óï¾ä£º
    import flash.net.registerClassAlias;
 
    registerClassAlias("JAVA¶ËµÄÀàÈ«Ãû",ASÀàÃû);


Ïà¹ØÎĵµ£º

flexÉÏ´«Îļþ

1.flex¶Ë
  <mx:Button id="upload" label="ÉÏ´«Îļþ" click="ExternalInterface.call('openUpload');"/>
2ºǫ́
  2.1 openUploadÊǺǫ́µÄjs½Å±¾(jsp)
        function openUpload(){
  var url="/OA/service/upload.jsp";
newWin=jscomNewWinOpenByS ......

Flex ±à³Ì¹æ·¶

http://www.adobe.com/cn/devnet/flex/articles/best_practices_pt2_07.html
Flex ×î¼Ñ×ö·¨ - µÚ 2 ²¿·Ö: ¿ª·¢×ö·¨
Flex ¿ª·¢×î¼Ñ×ö·¨»Ø¹Ë
ÕâЩ×ö·¨¿ÉÒÔÓ¦Óõ½ËùÓÐ Flex Ó¦ÓóÌÐò¡£Çë²é¿´ÕâЩ×ö·¨:
 ´´½¨ºÍʹÓà assets Ŀ¼
 Ê¹Óà assets Ŀ¼ÖеÄ×ÓĿ¼
 Ê¹Óà SWF Ŀ¼
 Ê¹Óà images Ŀ¼
&n ......

flexÖÐÓöµ½¼àÌýʼþÒì²½µ÷ÓÃ

×î½ü¸ãÁ˸öflexµÄСÍæÒâ¶ù£¬´óÖ¾ÍÊÇÓÃurlloaderÈ¥¶Á·þÎñÆ÷ÉϵÄxmlÎļþ£¬»ñµÃÊý¾Ýºó½«ÄÚÈÝ´æµ½Êý×éÀï¡£
±¾À´Ïë×Åͦ¼òµ¥µÄ£¬Ïë×ÅÕâ³ÌÐòÓ¦¸ÃÊÇ˳ÐòÖ´ÐÐÍ꣬Ï൱ȻµÄÒÔΪ¼àÌýʼþ»áÔÚ·µ»ØºóÔÙ¼ÌÐøÖ´ÐÐÏÂÃæµÄÓï¾ä£¬Ë­ÖªµÀÉÏÀ´¾Í³ö´íÁË£¬ÔÚ¼àÌýʼþÀïµÄ´úÂëÊÇÒì²½Ö´Ðеģ¬Õâ¾Íµ¼ÖÂÖ÷³ÌÐòµÄÊý¾Ý²»Õý³££¬Ò²¾ÍÊDz»ÄÜÔÚ×Ô¼ºÏëÒªµÄλ ......

flex amf

AMFÊÇAdobe¶À¼Ò¿ª·¢³öÀ´µÄͨÐÅЭÒ飬Ëü²ÉÓöþ½øÖÆѹËõ£¬ÐòÁл¯¡¢·´ÐòÁл¯¡¢´«ÊäÊý¾Ý£¬´Ó¶øΪFlash ²¥·ÅÆ÷ÓëFlash RemotingÍø¹ØͨÐÅÌṩÁËÒ»ÖÖÇáÁ¿¼¶µÄ¡¢¸ßЧÄܵÄͨÐÅ·½Ê½¡£ÈçÏÂͼËùʾ£º

AMF(Action Message Format)ÊÇÒ»ÖÖ binary formatµÄ×ÊÁÏÐÍ̬£¬Í¸¹ý AMF overHTTPµÄ·½Ê½½«flash¶Ë×ÊÁϱàÂëºó´«»Øserver£¬server¶ËµÄ ......

FlexµÄsocketÓëjavaʹÓÃamf3½øÐÐͨÐÅ

amf3,adobe´´Á¢µÄÊý¾Ý¸ñʽÓÉÓÚʹÓöþ½øÖÆ,ûÓÐÁËxmlµÈÈßÓàµÄ×Ö·ûÊý¾ÝÁ¿»áÉٺܶà!¶øÇҺܶà²âÊÔ±¨¸æ¾ù²â³öamf´«µÝЧ¹ûºÜ¸ß.
Õâ´ÎÊÇʹÓÃFlexµÄSocketÀàÓëjavaµÄ·þÎñ¶Ë½øÐÐͨÐÅ,
²½ÖèÊÇ:
¿Í»§¶ËÓÃsocketÀàÁ¬½Ójava·þÎñÆ÷,
ʹÓòéѯ×Ö·û´®½øÐÐÇëÇó,
java½«Êý¾Ý·âװΪhashmap,×îºó½«hashmapÓÃamfoutputstreamÊä³öÖÁflexµÄ¿Í» ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ