/ Published in: ActionScript 3
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
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+ --------------------------------------------------------------------------------------');
}
Comments
 Subscribe to comments
                    Subscribe to comments
                
                