Pretty simple concept but it doesn't seem to be working. Here is my code:
stage.clear();
stage.update();
Simple stuff -- nothing happens. The docs aren't helping.
This ended up working for me:
stage.removeAllChildren();
stage.update();
if you have just one child of shape on that stage and dont want use removeallchildren, you can do this:
myshape.graphics.clear();
stage.update();
if more than one, then loop its children.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With