flex state 在多状态下使用事件
发布时间:2020-12-15 05:03:43 所属栏目:百科 来源:网络整理
导读:mx:statesmx:State name="state1"mx:AddChildcom:WarButton id="js" x="385" y="400" label="接受" click="onRenWuHandler('js')"//mx:AddChild/mx:Statemx:State name="state2"mx:AddChildcom:WarButton id="qx" x="385" y="400" label="取消" click="onRen
<mx:states> <mx:State name="state1"> <mx:AddChild> <com:WarButton id="js" x="385" y="400" label="接受" click="onRenWuHandler('js')"/> </mx:AddChild> </mx:State> <mx:State name="state2"> <mx:AddChild> <com:WarButton id="qx" x="385" y="400" label="取消" click="onRenWuHandler('qx')"/> </mx:AddChild> </mx:State> <mx:State name="state3"> <mx:AddChild> <com:WarButton id="wc" x="385" y="400" label="完成" click="onRenWuHandler('lq')"/> </mx:AddChild> </mx:State> </mx:states> (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |