You can’t know the number. I guess I would just set a flag so the handler
returns right away.
On 1/19/10 10:34 PM, "j2me_soul" wrote:
Amazing!
So how can I know what the magic number after the __ID_handler_ I guess is ?
My codes is created by flash catalyst so I can't change each event
Amazing!
So how can I know what the magic number after the __ID_handler_ I guess is ?
My codes is created by flash catalyst so I can't change each eventlistener to
actionscript code. Is there a way to solve that ?
在2010-01-20 12:59:15,"Alex Harui" 写道:
CreationComplete only fires once so
CreationComplete only fires once so that handler probably isn’t getting removed
either.
When you type: change=”mytext_changeHandler(event)”
The compiler generates code like this:
private function
mytext_changeHandler_10423948(event:TextOperationEvent):void
{
mytext_changeHandler(
Can't remove the eventhandler which wrote in mxml.
protected function mytext_changeHandler(event:TextOperationEvent):void
{
TextInput(event.target).removeEventListener(event.type,
mytext_changeHandler);
}
4 matches
Mail list logo