/* Object.superCon() method Oct. 29, 2002 (c) 2002 Robert Penner This is a method that performs the same role as the super() operator. Object.superCon() is used in cases where super() fails to work correctly (namely when __proto__ inheritance is used). Discussed in Chapter 2 of Robert Penner's Programming Macromedia Flash MX http://www.robertpenner.com/profmx http://www.amazon.com/exec/obidos/ASIN/0072223561/robertpennerc-20 */ Object.prototype.superCon = function () { // call the superclass constructor, passing the function arguments along arguments.caller.prototype.__proto__.constructor.apply (this, arguments); }; // hide method from for..in loops ASSetPropFlags (Object.prototype, null, 1);