Hello,
I'm trying to learn Actionscript 3.0 from the ground up. I am trying to figure out why I can't create nested shape objects in the manner that's demonstrated below w/ Sprite objects.
var container:Shape = new Shape();
When I change the below from a Sprite to a Shape I get this error:
1061: Call to a possibly undefined method addChild through a reference with static type flash.display:Shape.
I'm trying to learn Actionscript 3.0 from the ground up. I am trying to figure out why I can't create nested shape objects in the manner that's demonstrated below w/ Sprite objects.
var container:Shape = new Shape();
When I change the below from a Sprite to a Shape I get this error:
1061: Call to a possibly undefined method addChild through a reference with static type flash.display:Shape.