flexʵÏÖ¶ÁÈ¡±¾µØÎļþ
import flash.events.Event;
import flash.net.URLLoader;
import flash.net.URLRequest;
private var loader:URLLoader = new URLLoader();
private var request:URLRequest = new URLRequest("a.txt");
private function initComplete():void
{
loader.load(request);
loader.addEventListener(Event.COMPLETE, onComplete);
}
private function onComplete(event:Event):void
{
var loader:URLLoader = event.target as URLLoader;
if (loader != null)
{
trace(loader.data);
}
else
{
trace("loader is not a URLLoader!");
}
}
Ö®ËùÒÔÒª¶ÁÈ¡±¾µØÎļþ£¬ÊÇÒòΪÎÒûÓа²×°FlexDataServiceûÓз¢ÅäÖÃWebServiceµÄWSDLËùÒÔ´ÓÎı¾ÖаÑËü¶Á³öÀ´£¬¸³Öµ¸øWebServiceµÄwsdlÊôÐÔ£¬µ«ÊÇÎÒ¿´FlexDeveloperGuidÉÏÓÐÒ»¾ä»°
You configure destinations in the Flex services configuration file
or a file that it includes by reference.
ÕâºÃÏñÊÇ˵¿ÉÒÔ²»ÓÃFDS,µ«ÊÇÓв»ÖªµÀÔõôŪ£¬Ö»ºÃÓÃÕâ¸ö²»°²È«µÄ·½·¨£¬ÆäʵÎÒÃÇ¿ÉÒÔ°Ñ×Ö·û´®¼ÓÃÜ....ºÇºÇ
¶ÔÁËÕâÑùдµÄʱºòÐèҪעÒâÒ»µãÊǸøWebServiceµÄwsdlÖ¸¶¨ÁËÖ®ºó»¹ÐèÒªµ÷ÓÃÒ»¸öloadWSDL()·½·¨£¬Òª²»È»²»¹ÜÓÃŶ£¡
Ïà¹ØÎĵµ£º
Flex Builder 3.0Õýʽ°æ£º
http://download.macromedia.com/pub/flex/flex_builder/FB3_win.exe
»ò
http://www.adobe.com/cfusion/tdrc/index.cfm?product=flex
»ò
http://trials.adobe.com/Applications/Flex/FlexBuilder/3/FB3_WWEJ_Plugin.exe
AIR1.0 Õýʽ°æ£º
http://airdownload.adobe.com/air ... ob ......
var login:infoChange=infoChange(PopUpManager.createPopUp( this, infoChange , true));
login.x=250;
login.y=150;
login.userid.text=dg.selectedItem.aa;
login.username.text=dg.selectedItem.bb;
......
<?xml version=
"1.0"
encoding=
"utf-8"
?>
<mx:Application xmlns:mx=
"http://www.adobe.com/2006/mxml"
xmlns:assql=
"com.maclema.mysql.mxml.*"
& ......
firefoxϵ±flashÉèÖòÎÊý wmode Ϊ transparent »òÕß Opaque ʱºòÎı¾¿òÖÐÊäÈëÖÐÎÄ»á³öÏÖÎÊÌâ¡£
µÍ°æ±¾µÄfirefoxÖÐÎÞ·¨ÊäÈëÖÐÎÄ£¬¸ß°æ±¾ÖÐÔò³öÏÖÂÒÂë¡£
ÂÒÂëÓëflashºÍÒ³Ãæ±àÂ뷽ʽ¶¼Ã»ÓйØÏµ£¬ÊÇfirefoxµÄbugÔì³ÉµÄ¡£
½â¾ö·½·¨Ö»ÓÐʹÓÃwmodeµÄĬÈÏÖµ£¬µ«ÊÇÕâÑùʹµÃflashÔÚÕû¸öÒ³ÃæµÄ×îÉϲ㣬divµÈ¶¼»á±»ÆäÕÚµ²×¡¡£
¼Ç ......