´ó¼ÒÌÖÂÛÌÖÂÛflexµÄ·´Éäµ½µ×³ÆµÄÉÏ·´ÉäÂð£¿
˵ÊÇÓз´É䣬µ«ÊÇ·´ÉäµÄÓеã¶àÓàÁË¡£¡£
APIÉÏÓÐÒ»¸öº¯ÊýµÄ˵Ã÷ÊÇÕâÑùдµÄ
describeType () º¯Êý
Éú³ÉÃèÊö ActionScript ¶ÔÏó£¨ÃüÃûΪ·½·¨µÄ²ÎÊý£©µÄ XML ¶ÔÏó¡£´Ë·½·¨ÊµÏÖ ActionScript ÓïÑԵķ´Éä±à³Ì¸ÅÄî¡£
ËùÒÔ¿ÉÒԽз´Éä¡£
ÄãΪʲô˵·´ÉäµÄÓÐ ......
TestSearch.mxml(mx:Application):
<mx:Button label="search" click="Search.showSearchWindow(this)"/>
Search.mxml(mx:TitleWindow):
private static var search:Search = new Search();
public static function showSearchWindow(par:DisplayObject):void
{
PopUpManager.ad ......
ÎÊÌâÊÇÕâÑùµÄ£¬ÎÒ×Ô¼ºÐ´ÁËÒ»¸ömodelÀ࣬Ëü¼Ì³Ð×ÔEventDispatcher£¬È»ºóÔÚÖ÷mxmlÖзÅÖÃÒ»¸öbuttonºÍÒ»¸öpanel£¬ÒªÇóµã»÷buttonºó£¬ÔÚbuttonµÄÏìÓ¦º¯ÊýÖÐnew ³ömodelµÄ¶ÔÏóm£¬È»ºóÓÃm·¢ËÍMouseEvent.CLICKÏûÏ¢£¬panelµ±È»»áÔÚÕû¸ö³ÌÐòµÄ³õʼ»¯Ê±Ìí¼ÓÕâ¸öÏûÏ¢µÄ¼à¿ØÆ÷£¬Èç¹ûpanel½ÓÊÕµ½Õâ¸öÏûÏ¢£¬ÔòÌáʾpanel clicked¡£
......
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
&nbs ......
package {
import flash.display.*;
//import flash.text.TextField;
//import flash.events.*;
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.net.URLRequestMethod;
public class abc extends Sprite {
public function abc(){
var URLSWF:URLRequest = new ......
ÎÒ¸ÕѧFLEX£¬ÔÚѧϰ¹ý³ÌÖÐÔ½µ½ÁËһЩÎÊÌ⣬²»ÖªµÀÔõô½â¾ö£¡Ï£Íû¸ßÊÖÃÇ£¬°ï°ï棡
×òÌìÎÒ×öÒ»¸öDemoÊǺÍ.NET ½»»¥µÄ£¡
ÎÒÏȼûÒ»¸öÍøÕ¾£¨VS2008£©£¬ÎÒÔÚÍøÒ³ÆäÖÐÒ»¸öÍøÒ³Öзµ»ØÒ»¸öXMLÎļþ£¡
È»ºóÎÒ½«ÍøÕ¾·¢²¼µ½IISÖС£
×îºóÎÒÓÃFLEXµÄHTTPServiceµ÷ÓÃÄĸöÍøÒ³£¬ÏëµÃµ½ÄĸöÖµ£¡
µ«ÊÇÎÒ²»ÖªµÀÊÇÎÒ°ÑIISÉèÖóöµÄÎÊÌ⻹ÊÇ£ ......
×ܼǼÊý:266; ×ÜÒ³Êý:45; ÿҳ6 Ìõ;
Ê×Ò³ ÉÏÒ»Ò³ [1] [2] [3] 4
[5] [6] [7] [8] [9] [10] ÏÂÒ»Ò³ βҳ