-
drag container
Wilbert this is for you.
I'm trying to reuse a drag container as an ALert pop up.
It works fine the fist time and I can show it with
addChild(dc)
but once I close it this won't work again.
Is there some other way of closing it so that I can reopen (show) it when I need to?
-
When you click the close button, the object property of the container is set to null and the container is removed from its parent. So if you want to reopen it, do those two things the opposite way.
dc.object = myObject;
addChild(dc);