组件Event新写法<?xml version="1.0" encoding="utf-8"?>
组件Event新写法
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
组件Event新写法    
<mx:Button x="144" y="190" label="Button">
组件Event新写法        
<mx:click>
组件Event新写法            
<![CDATA[
组件Event新写法                
import mx.controls.Alert;
组件Event新写法                Alert.show(
"click");
组件Event新写法            ]]
>
组件Event新写法        
</mx:click>
组件Event新写法        
<mx:focusOut>
组件Event新写法            
<![CDATA[
组件Event新写法                
import mx.controls.Alert;
组件Event新写法                Alert.show(
"focusOut");
组件Event新写法            ]]
>
组件Event新写法        
</mx:focusOut>
组件Event新写法    
</mx:Button>
组件Event新写法    
组件Event新写法
</mx:Application>

对优化代码很有好处  建议使用这样的写法
不然代码多了 找事件也难找
同时更利于界面有代码分离

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-19
  • 2022-12-23
  • 2022-12-23
  • 2021-07-21
  • 2022-12-23
  • 2021-05-17
猜你喜欢
  • 2022-12-23
  • 2021-11-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-19
相关资源
相似解决方案