摘自:http://blog.csdn.net/hopestar2/article/details/6177375

对于我这个问题解决了

 

 

 

这个问题在项目中经常遇到,举个简单的例子吧。

 

    1. 如果是普通的控件,如Image

      

[xhtml] view plaincopy
 
  1. <mx:Canvas x = "132" y = "70" width = "430" height = "200">  
  2.           <mx:TextArea id = "task" htmlText = "" x = "33" y = "39" width = "360" height = "100" editable = "false"/>  
  3. </mx:Canvas>  
  4. <mx:Image mouseEnabled = "false" mouseChildren = "false" source = "" x = "0" y = "0"/>  

 

 

    2.如果是swf

      var swfStar:SWFLoader;

      swfStar = new SWFLoader();

      swfStar.mouseEnabled = false;

      swfStar.mouseChildren = false;

      swfStar.source = ...