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

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Öд°Ìå²ÎÊý´«µÝ·½·¨


1. µ÷Óô°Ìå
A ´°ÌåÊÇÒ»¸öapplicaton´°Ìå B ´°ÌåÊÇ×Ô¶¨Òå´°Ì壨ÀàËÆDialogÖ®ÀàµÄ´°Ì壬±¾Éí²¢²»ÄܶÀÁ¢ÔËÐУ©
A ´°Ìå Ƭ¶Ï´úÂëÈçÏ£º
<mx:Script>
<!--[CDATA[
import mx.containers.TitleWindow;
import mx.managers.PopUpManager;
function ShowDetailDialog(){
var oInitObj:Object = new Object();
......

Flex ²à±ßÍ£¿¿¿Ø¼þ

ÏÂͼÊÇ Microsoft Visual Studio IDE µÄ²¿·Ö½Øͼ¡£
¡¡¡¡
¡¡¡¡ÕâÊÇÒ»ÖÖ¿ÉÍ£¿¿µÄ´°¿Ú£¬´°¿Ú±êÌâÀ¸µÚ¶þ¸ö°´Å¥¿ÉÒÔ¿ØÖÆ´°¿ÚÊÇ·ñÍ£¿¿¡£´°¿Ú´¦ÓÚÍ£¿¿×´Ì¬Ê±¾Í»áÓëÖ÷½çÃæÈÚΪһÌ壬¿ÉÒÔͨ¹ýµã»÷´°¿ÚÏ·½£¨Èç¹û¿ÉÍ£¿¿´°¿Ú´¦ÓÚÕûÌå²¼¾ÖÏ·½µÄ»°£©µÄTabBarÀ´Ñ¡ÔñÏÔʾÄÄÒ»¸ö´°¿Ú£»¶ø·ÇÍ£¿¿×´Ì¬µÄ´°¿ÚÔò²»»áÕ¼¾ÝÕûÌå²¼¾ÖµÄ¿Õ¼ä£¬½ö× ......

ÍøÒ³´«µÝ²ÎÊýµ½flexÖеķ½·¨

1.ÔÚ<Object>ºÍ<embed>ÖÐÉèÖÃflashVars²ÎÊý
£¬ÀýÈ磺
<object
id=’mySwf’ classid=’clsid:D27CDB6E-AE6D-11cf-96B8-444553540000′
codebase=’http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab’
height=’100%’ width=’10 ......

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

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

Flexʼþ»úÖÆ

Flexʼþ»úÖÆ
Flexʼþ»úÖÆÊǹ۲ìÕßģʽ£¬¼´Ê×ÏÈҪע²áʼþ£¬Ê¼þ·Ö·¢ºóͨ¹ýʼþÏìÓ¦º¯Êý½øÐд¦Àí¡£
ÀýÈçÔÚAS3ÖУº
button.addEventListener(“click”,onClick);//Ïòbutton×¢²áÒ»¸öclickʼþ
internal function onClick(evt:MouseEvent):void{txt.text=“click a button!”;}//ʼþÏìÓ¦º¯Êý
ÄÇÃ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ