`

不使用Popmanage弹出窗口

    博客分类:
  • flex
阅读更多
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="200" height="200">
	<mx:Script>
		<![CDATA[
			import mx.controls.Alert;
		]]>
	</mx:Script>
	<mx:Button label="textpop">
		<mx:click>
			<![CDATA[
				Alert.show("测试弹出窗口");
			]]>
		</mx:click>
	</mx:Button>
	
</mx:Canvas>

 

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:test="test.*">
	<mx:Button label="test" click="test()">
		
	</mx:Button>
	<mx:Script>
		<![CDATA[
			import mx.controls.Alert;
			import test.test;
			private function test():void{
					
					Alert.show("","",4,this,null,test.test,4);
			}
		]]>
	</mx:Script>
	
</mx:Application>

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics