Flex Óà POST Ìá½»Êý¾Ý
public function submit():void{
//ÒªÇëÇóµÄURL
var request:URLRequest = new URLRequest("
http://localhost:8086/test.do
") ;
var load:URLLoader = new URLLoader() ;
//URL²ÎÊý
var variables:URLVariables = new URLVariables();
//variables.+ºóÃæµÄ²ÎÊý ±íʾҪÌá½»µÄ²ÎÊý¡£
variables.content = content.text;
variables.no = 1001 ;
//Ìá½»µÄ·½Ê½
request.method=URLRequestMethod.POST;
//Ìá½»µÄÊý¾Ý
request.data=variables ;
load.dataFormat = URLLoaderDataFormat.TEXT ;
load.load(request) ;
}
ºǫ́ͨ¹ý£º
String content = request.getParameter("content") »ñÈ¡£»
String no = request.getParameter("no ") »ñÈ¡£»
Ïà¹ØÎĵµ£º
Flex ¶Ô¼¯ºÏµÄ¶à¸ö×ֶνøÐÐÅÅÐò
¹Ø¼ü×Ö: flex, ÅÅÐò, ÈÕÆÚÅÅÐò
ÒòΪÊý×é¿É±»¶à¸öSortFields ÅÅÐò£¬Sort ¶ÔÏóµÄfields ÊôÐÔ¾ÍÊÇÒ»¸öÊý×é¡£ÕâЩsort ´´½¨Ò»
¸ö²ã¼¶µÄ½á¹¹£¬ËùÓжÔÏó½øÐзÖ×éÅÅÐò£¬Ïȸù¾Ýfield ÊôÐÔÀïµÄµÚÒ»¸öSortField ¶ÔÏó£¬ÔÙµÚ
Ò»¸ö£¬ÒÔ´ËÀàÍÆ¡£Õâ¸öÀý×Ó´úÂëÏȸù¾Ýregions ÔÙstates ¶Ô¼¯ºÏ½øÐÐÅÅÐò£º
......
flex ºÍjavascript»¥Ïàµ÷Óá£
Ò»¡¢flex µ÷ÓÃjavascript
Ö»ÐèʹÓþ²Ì¬µÄExternalInterface.call¾Í¿ÉÒÔÁË¡£
call ·½·¨ÖÁÉÙÒªÇóÒ»¸ö²ÎÊý£¬¾ÍËùµ÷ÓöÊýµÄÃû³Æ¡£
Ò²¿ÉÒÔ´«µÝ²ÎÊý¡£
È磺
ExternalInterface.call("alert","hello");
"hello"¾ÍÊÇ×÷Ϊalertµ ......
1¡¢ÏÂÔØÆ¤·ôÖ®ºó£¬´ò¿ª½âѹĿ¼,Ñ¡ÔñËùÓÐswfÎļþ,cssÎļþºÍ×ÖÌåÎļþ,È»ºó°ÑËûÃÇÍ϶¯µ½flex¹¤³ÌµÄsrcÎļþ¼ÐÖС£
£¨×¢£ºyflexskin.swf –yahooµÄFlexƤ·ôÖÐËùÐèµÄËùÓÐͼƬ×ÊÔ´;
yflexskin.ai – Ƥ·ôËùÐèµÄËùÓÐAIÔ´Îļþ--ʹÄãµÄÐ޸ĺÍÖØÐµ¼³ö¸ü×ÔÓÉ·½±ã;
......
ÏÂͼÊÇ Microsoft Visual Studio IDE µÄ²¿·Ö½ØÍ¼¡£
¡¡¡¡
¡¡¡¡ÕâÊÇÒ»ÖÖ¿ÉÍ£¿¿µÄ´°¿Ú£¬´°¿Ú±êÌâÀ¸µÚ¶þ¸ö°´Å¥¿ÉÒÔ¿ØÖÆ´°¿ÚÊÇ·ñÍ£¿¿¡£´°¿Ú´¦ÓÚÍ£¿¿×´Ì¬Ê±¾Í»áÓëÖ÷½çÃæÈÚΪһÌ壬¿ÉÒÔͨ¹ýµã»÷´°¿ÚÏ·½£¨Èç¹û¿ÉÍ£¿¿´°¿Ú´¦ÓÚÕûÌå²¼¾ÖÏ·½µÄ»°£©µÄTabBarÀ´Ñ¡ÔñÏÔʾÄÄÒ»¸ö´°¿Ú£»¶ø·ÇÍ£¿¿×´Ì¬µÄ´°¿ÚÔò²»»áÕ¼¾ÝÕûÌå²¼¾ÖµÄ¿Õ¼ä£¬½ö× ......
1.Performace°üº¬4µã£º
£¨1£©Latency·´Ó¦Ê±¼ä£¨2£©Scalability:¿¹Ñ¹ÄÜÁ¦£¨3£©Reliablity£ºÎȶ¨ÐÔ£¨4£©Availability£º¿ÉÓÃÐÔ
2.ÔËÐÐʱÉúÃüÖÜÆÚ£º
FlexÖ»ÓÐÁ½Ö¡frames£ºPreload frame ºÍ application frame¡£
ÿһ¸öflex application ÊÇÒ»¸öMovieClip£¬ÒòΪÿ¸öflex application¶¼ÓÐSystemManager£¬ËûÊǼ̳Ð×Ô
flash.dis ......