#include <iostream>
#include <string>
#include <vector>
using std::string;
using std::vector;
using std::endl;
using std::cout;
namespace AAH
{
class messageTemplate;
};
using namesp
我将扩展Panel以构建自定义组件。如果不知道稍后会包含什么内容,我该如何添加一个方法来临时隐藏所有内容并显示一个内部对象(通常不可见)? 也就是说,有超过 for each (var ui:DisplayObject in this.getChildren()) {
ui.visible = false;
}
一个更好的办法是什么我希望做的是换出根内容窗格中,但我不知道如何访问它