This application is developed using AIR, change the root and end tag to to work as flex application
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"
creationComplete="initApp()">
<mx:Script>
<![CDATA[
import mx.events.CloseEvent;
import mx.controls.Alert;
/* */
private function initApp():void
{
Alert.yesLabel = "yep";
Alert.noLabel = "nope";
Alert.show("Alert labels customization", "Aler", Alert.YES|Alert.NO, this, null, null, 1);
}
]]>
</mx:Script>
</mx:WindowedApplication>
No comments:
Post a Comment