On Wed, May 19, 2010 at 10:01 AM, Angelo Anolin <[email protected]> wrote:
> What I mean is that the change event would be dispatched (or executed) by the
> textinput change event.
Instead of attempting to conform to an existing function's signature,
have you considered simply adding another function to process the
event? For example, would the following psuedo-code address your
needs?
private function processChange( /* relevant parameters such as text go
here */ ):void
{
// process change
}
private function comboBoxChangeHandler( event:Event ):void
{
// extract needed data from event
// call processChange to handle the "work"
processChange( /* extracted data */ );
}
private function textInputChangeHandler( event:Event ):void
{
// extract needed data from event
// call processChange to handle the "work"
processChange( /* extracted data */ );
}