<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
    creationComplete="initApp()">
    <mx:Script>
        <![CDATA[
            import mx.controls.Alert;

            private function initApp():void
            {
                trace("Hello from Flex Debugging!");
                var myVar:Number = 9;
                trace("The value of myVar is " + myVar);
            }
        ]]>
    </mx:Script>

    <mx:Button label="Click Me" click="Alert.show('Hello from Flex');"/>
</mx:Application>
