adding an alert in addition to trace

This commit is contained in:
Dan Buch 2010-02-19 16:10:54 -05:00
parent a1f814a294
commit 0087e7d177

View File

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