adding an alert in addition to trace
This commit is contained in:
parent
a1f814a294
commit
0087e7d177
@ -1,9 +1,9 @@
|
||||
package
|
||||
{
|
||||
import mx.core.Application;
|
||||
import mx.controls.Alert;
|
||||
import flash.events.MouseEvent;
|
||||
|
||||
|
||||
public class CustomApp extends Application
|
||||
{
|
||||
|
||||
@ -13,7 +13,9 @@ package
|
||||
|
||||
public function butterCup(event:MouseEvent):void
|
||||
{
|
||||
trace("clicked " + event);
|
||||
var msg:String = "clicked" + event;
|
||||
trace(msg);
|
||||
Alert.show(msg);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user