var index = parent.layer.getFrameIndex (the window.name); // get the window index parent.layer.close (index); // Close the current layer layer
var index = parent.layer.getFrameIndex (the window.name); // get the window index parent.layer.close (index); // Close the current layer layer