<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:page="page.*"
   preinitialize="aa.t()" initialize="aa.tt()" creationComplete="aa.ttt()"
   applicationComplete="aa.tttt()" >
 <mx:Script>
        <![CDATA[ 
            import page.test1;
            public var tt:test1= new test1();
        ]]>
 </mx:Script>
 <mx:Script source="file.as"/>    
<page:test1 />
<mx:Button x="38" y="72" label="Button1" click="tt.t()"/>
<mx:Button x="38" y="102" label="Button2" click="aa.t()"/>
<mx:Button x="38" y="132" label="Button3" click="file()"/>
</mx:Application>

相关文章:

  • 2022-03-05
  • 2022-12-23
  • 2022-12-23
  • 2021-07-13
  • 2021-05-08
  • 2021-12-03
猜你喜欢
  • 2021-07-06
  • 2021-05-04
  • 2021-04-18
  • 2022-01-09
  • 2022-02-07
  • 2021-06-10
  • 2021-10-19
相关资源
相似解决方案