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

Flex httpservice·µ»ØÖµÀàÐͺʹ¦Àí

·µ»ØÊý¾ÝµÄ¸ñʽresultFormatÓм¸ÖÖÀàÐÍ£¬object¡¢array¡¢xml¡¢flashvars¡¢textºÍe4x£¬Ä¬ÈϵÄÉèÖÃΪobject¡£
RESULT_FORMAT_ARRAY : String = "array"
[] ½á¹û¸ñʽ“array”Óë“object”ÏàËÆ£¬µ«ÊÇÆä·µ»ØµÄֵʼÖÕΪÊý×飻ÕâÑù£¬Èç¹û´Ó½á¹û¸ñʽ“object”·µ»ØµÄ½á¹ûÉв»ÊÇÊý×飬Ôò½«°Ñ¸ÃÏîÄ¿Ìí¼ÓΪһ¸öÐÂÊý×éµÄµÚÒ»¸öÏîÄ¿¡£
RESULT_FORMAT_E4X : String = "e4x"
[] ½á¹û¸ñʽ“e4x”Ö¸¶¨·µ»ØµÄÖµÊÇÒ»¸ö XML ʵÀý£¬´ËʵÀý¿ÉÒÔʹÓà ECMAScript for XML (E4X) ±í´ïʽ·ÃÎÊ¡£
RESULT_FORMAT_FLASHVARS : String = "flashvars"
[] ½á¹û¸ñʽ“flashvars”Ö¸¶¨·µ»ØµÄÖµÊÇ°üº¬ÓÉ & ·ûºÅ·Ö¸ôµÄÃû³Æ=Öµ¶ÔµÄÎı¾£¬¸ÃÎı¾±»·ÖÎöΪ ActionScript ¶ÔÏó¡£
RESULT_FORMAT_OBJECT : String = "object"
[] ½á¹û¸ñʽ“object”Ö¸¶¨·µ»ØµÄÖµÊÇ XML£¬µ«°´ÕÕ ActionScript ¶ÔÏóÊ÷·ÖÎö¡£
RESULT_FORMAT_TEXT : String = "text"
[] ½á¹û¸ñʽ“text”Ö¸¶¨ ½á¹ûÎı¾Ó¦ÎªÎ´¾­´¦ÀíµÄ×Ö·û´®¡£
RESULT_FORMAT_XML : String = "xml"
[] ½á¹û¸ñʽ“xml”Ö¸¶¨½á¹ûÓ¦×÷ΪָÏò¸¸ flash.xml.XMLDocument µÄµÚÒ»¸ö×ÓÏîµÄ flash.xml.XMLNode ʵÀý·µ»Ø¡£
ÔÚ MXML ÎļþÖÐʹÓà <mx:HTTPService> ±êÇ©´ú±í HTTPService ¶ÔÏó¡£µ±µ÷Óà HTTPService ¶ÔÏóµÄ send() ·½·¨Ê±£¬½«·¢³ö¶ÔÖ¸¶¨ URL µÄ HTTP ÇëÇ󣬲¢ÇÒ·µ»Ø HTTP ÏìÓ¦¡£¿ÉÒÔÑ¡ÔñÏòÖ¸¶¨ URL ´«µÝ²ÎÊý¡£Èç¹ûûÓÐʹÓûùÓÚ·þÎñÆ÷µÄ´úÀí·þÎñ£¬ÔòÖ»ÄÜʹÓà HTTP GET »ò POST ·½·¨¡£Èç¹û½« useProxy ÊôÐÔÉèÖÃΪ true ²¢Ê¹ÓûùÓÚ·þÎñÆ÷µÄ´úÀí·þÎñ£¬Ôò»¹¿ÉÒÔʹÓà HTTP HEAD¡¢OPTIONS¡¢TRACE ºÍ DELETE ·½·¨¡£
Ïêϸ³ö´¦²Î¿¼£ºhttp://www.jb51.net/article/17162.htm


Ïà¹ØÎĵµ£º

MyEclipse Flex»·¾³ÅäÖÃÏê½â

MyEclipse FlexµÄÅäÖÃÖ®³õÎÒÃÇ¿´¿´ÔµÓÉ£ºÒ»¿ªÊ¼Ñ§Ï°Ê¹ÓÃFlexµÄʱºò,ÎÒÊÇÓõĵ¥¶ÀµÄFlexBuilder3,×öЩ´¿FlexµÄÓ¦ÓóÌÐò»¹¿ÉÒÔ.µ«ÊÇÈç¹ûÒªºÍJava½áºÏÔÚÒ»ÆðʹÓÃ,¼´ÀûÓÃFLEX³äµ±Ò»¸öÍêÕûµÄJ2EEϵͳµÄWEB²ãµÄ»°,ÄÇôµ¥¶ÀʹÓÃFlexBuilder3ºÍMYECLIPSEÊǺܲ»·½±ãµÄ,´ó´óÓ°ÏìÁË¿ª·¢Ð§ÂÊ,Òò´Ë×öÁËÏÂMyEclipse+FlexµÄÅäÖÃ,´ïµ½Ö±½ÓÔÚ ......

Flex ºÍ.NETЭͬ¿ª·¢ÀûÆ÷FluorineFx

 ÔÚ±¾ÏµÁÐÇ°Ã漸ƪÎÄÕÂÖзֱð½éÉÜÁËͨ¹ýWebService¡¢HTTPService¡¢URLLoaderÒÔ¼°FielReferenceµÈ×é¼þ
»òÀàÀ´Íê³ÉFlexÓë.NET·þÎñ¶ËµÄͨÐŵÄÏà¹Ø֪ʶµã¡£Í¨¹ýÕâЩ·½Ê½À´Íê³ÉÓë·þÎñ¶ËµÄͨÐÅÊǷdz£·½±ãºÍ¼òµ¥µÄ£¬µ«ÓÐËûµÄȱµã¾ÍÊÇͨÐÅÊý¾ÝÁ¿½ÏС£¬ÈçÒª´«
Êä´óÁ¿µÄÊý¾Ý»òÊÇʵÏÖ²»Í¬¶ÔÏóµÄÐòÁл¯´«Ê䣬ËüÃÇÔòÂú×ã²»ÁËÎÒÃǵ ......

½«HTMLÒ³ÃæǶÈëFLEXÓ¦ÓÃÖÐ

ÏÈÓÃÏֳɵÄ×é¼þÍæһϣ¬Ò»»áÔÙÈ¥¿´¿´×é¼þÔ´ÂëÑо¿Ò»Ï¡£
http://code.google.com/p/flex-iframe/
ÏÂÔØÁËflexiframe.swc£¬ÒýÈ빤³Ì¡£
flex´úÂë
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute"
   ......

Flex»òFlashµÄ¿çÓò·ÃÎʵĽâ¾ö·½°¸


¹ØÓÚFlex»òFlashµÄ¿çÓò·ÃÎʵĽâ¾ö·½°¸£¬ÊÂÇéµÄÆðÒòÊÇ£¬ÓÉÎÒ¹«¿ªµÄÒ»¸öwebservice£¨²»Çå³þÕâ¸öwebservice¸ÉʲôµÄÇë¿´ÕâÀ¿ªÊ¼µÄ£¬kenshinµÄÅóÓÑsensunÔÚÕâ¸ö¹«¿ªµÄwebserviceµÄ»ù´¡ÉÏÖÆ×÷ÁËÒ»¸öweather²éѯµÄ£¬ÔÚ±¾»ú²âÊÔok£¬Ò»Äõ½ÍøÉÏ£¬¾Í»á³öÏÖerror£¨ÊÇ¿çÓò·ÃÎʵĴíÎ󣩣¬ºóÀ´£¬kenshinÖÕÓÚÕÒµ½ÁËÕâ¸öÎÊÌâµÄ½â¾ö·½° ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ