Omar,
That really does help, I appreciate it. I was trying to figure out how to accomplish this... Again, thanks! -Josh --- In [email protected], "Omar Ramos" <[EMAIL PROTECTED]> wrote: > Hi Josh, > > Here is a example of how you would do it. > > var alertListener:Function = Delegate.create(this,OnAlert_Click); > > Alert.show("This is a test of errors", "Error", Alert.OK | Alert.CANCEL, > this, alertListener); > > function OnAlert_Click() > { > trace("CLICK"); > } > > or you could also do this. > > Alert.show("This is a test of errors", "Error", Alert.OK | Alert.CANCEL, > this, Delegate.create(this,OnAlert_Click)); > > hope it helps. > > Omar Ramos > Itacon Corporation > Technology Manager > > 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/

