You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you call "notifyCaller()" with no value, the handler will receive an
argument.
consider:
public function bob() : void
{
var handler : CallBacks = new Callbacks( onResult_bob );
var event : MyEvent = new MyEvent( MyEvent.EVENT , handler ).dispatch();
}
--the notify caller from the command is just:
notifyCaller();
--if the handler is:
onResult_bob() : void {}
--an error is thrown as an argument is passed
--if the handler is:
onResult_bob( result : * ) : void {}
-- no error is thrown, but the value of "result" is null
Let me know if you need more info from me
Cheers,
David Harris
djohnsmarie@gmail.com
Original issue reported on code.google.com by djohnsma...@gmail.com on 7 Aug 2008 at 4:12
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
djohnsma...@gmail.com
on 7 Aug 2008 at 4:12The text was updated successfully, but these errors were encountered: