Skip to content

Instantly share code, notes, and snippets.

@dwiash
Created December 11, 2009 04:20
Show Gist options
  • Save dwiash/253979 to your computer and use it in GitHub Desktop.
Save dwiash/253979 to your computer and use it in GitHub Desktop.
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" initialize="init()">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
public function init():void
{
tx.text = "Hey!";
}
]]>
</mx:Script>
<mx:Canvas id="cnv">
<mx:TextArea id="tx" />
</mx:Canvas>
</mx:Application>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment