The code below has a problem. The line within the removeDead function
is supposed to removeChild on the emitter object.
I can't for the life of me figure out what the path is- is it
event.target.parent.removeChild(event.target) or is it parent.removeChild(
event.target) or what? I've tried
try event.currentTarget
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
emitter.parent?
Leandro Ferreira
On 4/1/08, Forrest Maready [EMAIL PROTECTED] wrote:
The code below has a problem. The line within the removeDead function
is supposed to removeChild on the emitter object.
I can't for the life of me figure out what the path is- is it
Steven said event.currentTarget
Leandro said emitter.parent
Thanks guys!
I think the removeChild is working below (event.currentTarget), but now I'm
getting the Cannot access property or method of a null object reference
which is usually what happens when the EventListener is calling a
4 matches
Mail list logo