Revision: 23027
Updated Code
at January 28, 2010 10:09 by sidneydekoning
Updated Code
private function seeDisplayStack() : void {
trace('+ number of DisplayObject: ' + this.numChildren + ' --------------------------------');
for (var i : uint = 0; i < this.numChildren; ++i) {
trace('\t|\t ' + i + '.\t name:' + this.getChildAt(i).name + '\t type:' + typeof (this.getChildAt(i)) + '\t' + this.getChildAt(i));
}
trace('\t+ --------------------------------------------------------------------------------------');
}
Revision: 23026
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 28, 2010 07:59 by sidneydekoning
Initial Code
private function seeDisplayStack() : void {
trace('+ number of DisplayObject: ' + this.numChildren + ' --------------------------------');
for (var i : uint = 0; i < this.numChildren; ++i) {
trace('\t|\t ' + i + '.\t name:' + this.getChildAt(i).name + '\t type:' + typeof (this.getChildAt(i)) + '\t' + this.getChildAt(i));
}
trace('\t+ --------------------------------------------------------------------------------------');
}
Initial URL
Initial Description
Initial Title
Get all DisplayObjects in a Class (with name and current index)
Initial Tags
Initial Language
ActionScript 3