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 ") »ñÈ¡£»
Ïà¹ØÎĵµ£º
1. µ÷Óô°Ìå
A ´°ÌåÊÇÒ»¸öapplicaton´°Ìå B ´°ÌåÊÇ×Ô¶¨Òå´°Ì壨ÀàËÆDialogÖ®ÀàµÄ´°Ì壬±¾Éí²¢²»ÄܶÀÁ¢ÔËÐУ©
A ´°Ìå Ƭ¶Ï´úÂëÈçÏ£º
<mx:Script>
<!--[CDATA[
import mx.containers.TitleWindow;
import mx.managers.PopUpManager;
function ShowDetailDialog(){
var oInitObj:Object = new Object();
......
ÏÂͼÊÇ Microsoft Visual Studio IDE µÄ²¿·Ö½Øͼ¡£
¡¡¡¡
¡¡¡¡ÕâÊÇÒ»ÖÖ¿ÉÍ£¿¿µÄ´°¿Ú£¬´°¿Ú±êÌâÀ¸µÚ¶þ¸ö°´Å¥¿ÉÒÔ¿ØÖÆ´°¿ÚÊÇ·ñÍ£¿¿¡£´°¿Ú´¦ÓÚÍ£¿¿×´Ì¬Ê±¾Í»áÓëÖ÷½çÃæÈÚΪһÌ壬¿ÉÒÔͨ¹ýµã»÷´°¿ÚÏ·½£¨Èç¹û¿ÉÍ£¿¿´°¿Ú´¦ÓÚÕûÌå²¼¾ÖÏ·½µÄ»°£©µÄTabBarÀ´Ñ¡ÔñÏÔʾÄÄÒ»¸ö´°¿Ú£»¶ø·ÇÍ£¿¿×´Ì¬µÄ´°¿ÚÔò²»»áÕ¼¾ÝÕûÌå²¼¾ÖµÄ¿Õ¼ä£¬½ö× ......
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 ......
Ò»¡¢ ½«±£´æmxdµØͼÎĵµµÄÎļþ¼ÐÉèΪ¹²Ïí£¬²¢¸øSOC,SOM,MANAGER£¬¹ÜÀíÔ±ÕË»§ÊÚËùÓÐȨÏÞ¡£
¶þ¡¢ ÔÚArcCatalogÖУ¬µã»÷connector to folder£¬½«ÉÏÃæµÄĿ¼Ìí¼Óµ½CatalogÖС£
Èý¡¢ ÔÚÄ㽨Á¢µÄGIS ServerÉÏÓÒ¼ü£¬Ð½¨Ò»¸ö·þÎñ¡£
1¡¢ Ó ......
Flexʼþ»úÖÆ
Flexʼþ»úÖÆÊǹ۲ìÕßģʽ£¬¼´Ê×ÏÈҪע²áʼþ£¬Ê¼þ·Ö·¢ºóͨ¹ýʼþÏìÓ¦º¯Êý½øÐд¦Àí¡£
ÀýÈçÔÚAS3ÖУº
button.addEventListener(“click”,onClick);//Ïòbutton×¢²áÒ»¸öclickʼþ
internal function onClick(evt:MouseEvent):void{txt.text=“click a button!”;}//ʼþÏìÓ¦º¯Êý
ÄÇÃ ......