Object hide();
var widget = Std.ui("widget",{ renderTo:"body", with:500, height:500, css:{ background:"red" } }); widget.hide();