reorg wrt make implicit rules and custom versions of <whatever>

This commit is contained in:
Dan Buch
2010-02-20 22:15:26 -05:00
parent 9489353930
commit 70b9977d4c
6 changed files with 18 additions and 12 deletions

View File

@@ -0,0 +1,22 @@
package
{
import mx.core.Application;
import mx.controls.Alert;
import flash.events.MouseEvent;
public class CustomApp extends Application
{
function CustomApp()
{
}
public function butterCup(event:MouseEvent):void
{
var msg:String = "clicked" + event;
trace(msg);
Alert.show(msg);
}
}
}

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<loc:CustomApp xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:loc="*" layout="absolute">
<mx:Button id="mutton" label="howdy" click="butterCup(event)" />
</loc:CustomApp>