Paul Andrews wrote:
If you try and call a function designed to be an event handler directly,
you must create an event object instance to correspond with the event
argument yourself when it is called.


You must at the very least give the parameter a value. A null reference counts as a value. You can either make it optional or simply pass null each time you are calling it yourself. If it is valid depends on what the function does with it.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to