Well, somewhere you're trying to access a non-existent object.. Possibly it's related to removing an object from the display list via removeChild() then trying to access other objects via it's parent (which no longer exists). With so little to go on it's hard to guess.

Paul
----- Original Message ----- From: "Gustavo Duenas" <[email protected]>
To: "Flash Coders List" <[email protected]>
Sent: Wednesday, March 04, 2009 7:09 PM
Subject: [Flashcoders] error problem in as3


hi I have this problem coders:

I have a function name init( is a 3d carrousel menu for fp10)
ok, this function is call from a button, the problem is when I want to get of rid of the menu(carrousel) using removechild()
on the other buttons in my stage, I have this error:


TypeError: Error #1009: Cannot access a property or method of a null object reference.
at com.theflashblog.fp10::SimpleZSorter$/traverseParents()
at com.theflashblog.fp10::SimpleZSorter$/sortClips()
at Carousel/loop()

those are functions part of the carrousel creation class.
The error appears as a dialog window when I'm using a browser and when I put dismiss all, it doesn't get back again, but I would like to don't have it anytime, any ideas how could I remove that, I mean the remove child works, but just after the appearance of the dialog window with the error.

Thanks,


Gustavo Duenas

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to