cyberpunk
|
|
« on: June 24, 2009, 08:49:32 » |
|
Hi guys, i have a pretty taught problem here, hope someone could help me solve it.
I work on the multicore version. I have an AsyncCommand wich is part of a bigger AsyncMacroCommand. In this command i retrieve an object (a module that work as another core) and set a listernet on it for a custom event. After that i send a message (sendNotification) to that core, to perform some operations. When those operations ends the custom event is dispatched. In the listener I setted before, i call the commandComplete method.
The problem is that when the commandComplete is called it throws a runtime error that tells me that: Main Thread (Suspended: TypeError: Error #1006: value is not a function.) "value" is referred to the onComplete variable of the AsyncCommand class, wich is null
I'm doing something really bad and i should rethink the logic of the application or it should work in this way and i spotted a bug?
many thanks to anyone who can help
|