OK, so I have a class I call a Generator that extends MovieClip, and is sitting at the root of my wck.World display list. The Generator dynamically adds a new BodyShape to its display list, producing the following error:
What am I doing wrong here?
Quote:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at wck::BodyShape/createShapes()[C:\Users\Web PC User 1\Desktop\DAVID\Doughboy\Physics\wck-lib\wck\BodyShape.as:1318]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at wck::World/step()[C:\Users\Web PC User 1\Desktop\DAVID\Doughboy\Physics\wck-lib\wck\World.as:193]
at wck::BodyShape/createShapes()[C:\Users\Web PC User 1\Desktop\DAVID\Doughboy\Physics\wck-lib\wck\BodyShape.as:1318]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at wck::World/step()[C:\Users\Web PC User 1\Desktop\DAVID\Doughboy\Physics\wck-lib\wck\World.as:193]
What am I doing wrong here?