|
Goran,
This code should help.
PS. The event.detail contains the information needed to tell you which button was clicked. I.E. 1== YES and 2 == NO. Hope this helps!
Import mx.controls.Alert;
var alert = Alert.show("Are yousure you want to delete this item?", "Confirm Delete", Alert.YES | Alert.NO); alert.addEventListener( "click", mx.utils.Delegate.create( this, confirm ) );
private function confirm( event ) { switch ( event.detail ) case 1: break; case2: break; }
From: goran187
[mailto:[EMAIL PROTECTED]
|
- RE: [flexcoders] Alert event handling Mercer, Dustin
- RE: [flexcoders] Alert event handling Mercer, Dustin
- Re: Alert event handling goran187

