Merge remote-tracking branch 'PracticingFlex/master'
This commit is contained in:
22
PracticingFlex/custom-03d1-datagrid/CustomApp.as
Normal file
22
PracticingFlex/custom-03d1-datagrid/CustomApp.as
Normal 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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
5
PracticingFlex/custom-03d1-datagrid/Snarf.mxml
Normal file
5
PracticingFlex/custom-03d1-datagrid/Snarf.mxml
Normal 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>
|
Reference in New Issue
Block a user