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

flexµ¼ÈëÓÎÏ·µÄ³ÌÐòÈ«ÂÒÁË,Ôõô´¦ÀíÕâ×ø±êÎÊÌâÄØ?

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 URLRequest("subtractionblast.swf");
var loader_swf:Loader = new Loader();
loader_swf.load(URLSWF);
var aa:Sprite=new Sprite();
loader_swf.x=100;
loader_swf.y=100;
aa.addChild(loader_swf);
addChild(aa);
   
}

}

}
ÎÒÓðü½«ÓÎÏ·µ¼Èë²âÊÔ..·¢ÏÖ¶¼ÊÇÓÐÎÊÌâµÄ..ÎÒÒÔΪÊÇ×ø±êÎÊÌâ..ÓÚÊÇÓÃrefo.localToGlobal(v3)¶¨ÒåÒ»¸ö¶¨µã.
Ò²²»ÐÐ.ÎÒ¾ÍûéüÁË..
´ó¼Ò°ïæ½â¾öÏÂ?
×ø±êÒªµÈLoadÍê³ÉÖ®ºóÉ趨²ÅÓÐЧ°É£¿

ÄãÓ¦¸Ã¸øloaderÉèÖÃÒ»¸öcompleteʼþ£¬È»ºóÍê³ÉºóÐø¹¤×÷£¬ÕâÊdz£Ê¶


Ïà¹ØÎÊ´ð£º

flexµÄaddEventListener ÎÊÌâ

flexµÄaddEventListener ÀïÃæº¯Êý²»ÄÜ´ø²ÎÊý°¡¡£
ÎÒÏÖÔڵŦÄÜÊÇÕâÑù¡£¡£
ÔÚ·þÎñÆ÷¶ËµÃµ½Ò»¸öArrayCollection ,È»ºó±éÀúÕâ¸öÊý×飬£¬È»ºóÔÚ¶¯Ì¬´´½¨button,buttonµÄclick¸ù¾ÝArrayCollection ÀïÃæ¶ÔÏóµÄid,ä¯ÀÀ¶ÔÏ ......

flex µÄÒ»¸öºÜÓÐȤµÄÎÊÌâ

[Bindable]
[Embed(source="../assets/add-row.gif")]
private var vcls:Class;

private function createcompletehandler(event:Event):void{
var img:Image=new Image();
img.sou ......

flex ¸ü¸Äϵͳʱ¼ä

¸÷λ¸ßÊÖ£º
ÓÐûÓÐÖªµÀ£¬flexͨ¹ýʲô·½Ê½¿ÉÒÔ¸ü¸Äϵͳʱ¼ä¡£
flex×ÔÉí¿ÉÒÔô£¿²»Ðеϰ£¬ÊDz»ÊÇ¿ÉÒÔͨ¹ýactiveXÀ´ÊµÏÖ£¿

ÄãÐèҪ΢ÈíµÄ½Ó¿Ú¡£Ã²ËƲ»ÄÜÈÃÄã¸Ä°É¡£Õâ¸ö²¡¶¾ÓÐÊ²Ã´Çø±ðÁË


flexÃ²ËÆ²»ÐС£

º ......

flex µ÷Óà jsÎļþ

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
import flash.external. ......

flex ÉÏ´«Îļþ ÏÔʾÎļþµØÖ·

±È·½Ëµ
ÎÒÒ³ÃæÉÏ ÓÐÁ½¸ö °´Å¥ 
Ò»¸öÑ¡Ôñ£¬Ò»¸öÉÏ´«
ÎÒÏë°´ºÃ Ñ¡Ôñ ÒÔºó 
Îı¾¿ò ³öÏÖÎļþµÄµØÖ· 
Ðв»Ðа¡£¿
ÒòΪ ËûÃÇ ÒªÇó ¿ÉÒÔ×Ô¼ºÊäÈë Îļþ µØÖ·
Õâ ÄÜʵÏÖÂð£¿
ÎļþÃû¿ÉÒÔ»ñÈ¡µ½£¬È ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ