Flex 弹出显示中文的对话框
Wednesday, November 8, 2006 9:15:10 AM
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="initApp()">
<mx:Style source="main.css"/>
<mx:Script>
<![CDATA[
import mx.controls.*;
private function initApp():void{
Alert.okLabel = '确定';
Alert.cancelLabel = '取消';
//Alert.show("测试");
Alert.show("备份为?", "提示",Alert.OK|Alert.CANCEL,null);
}
]]>
</mx:Script>
</mx:Application>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="initApp()">
<mx:Style source="main.css"/>
<mx:Script>
<![CDATA[
import mx.controls.*;
private function initApp():void{
Alert.okLabel = '确定';
Alert.cancelLabel = '取消';
//Alert.show("测试");
Alert.show("备份为?", "提示",Alert.OK|Alert.CANCEL,null);
}
]]>
</mx:Script>
</mx:Application>

