what does this error mean?
“1061: Call to a possibly undefined method addChild through a reference with static type flash.display:DisplayObject.”
my code is
root.addChild(img);
but when i change it to
stage.addChild(img); it works fine. but i want to place it on root…