I'm using Alert.show() to provide the user with a confirmation dialog
before I make a method call to delete a user from the DB.  Right now I
have some code like this:

mx.controls.Alert.show(
  "Are you sure you want to delete this user?",
  "Confirm Delete",
  mx.controls.Alert.YES | mx.controls.Alert.NO,
  this,
  deleteUser
);

Is there any straightforward way to pass an argument to deleteUser?  I
could just let it look at a variable that's set in the component's
scope but that seems messy to me.  I'd much rather find a way to pass
the userID right in.

Thanks for your help!


-Cliff


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to