質問

I was wondering if you are able to remove an specific child from the stage. I know that you can do this:

stage.removeAllChildren();
stage.update();

But with this you will clear all the canvas... is there a way to do something like this

stage.removeAllChildren(name_of_the_child);
stage.update();

Thanks!!!

役に立ちましたか?

解決

There is this removeChild(child) method , take a look at the documentation http://www.createjs.com/Docs/EaselJS/classes/Stage.html#method_removeChild

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top