Flash ActionScript Inheritance

So I am trying to figure out the following piece of code: [as] in Application.as import Log; class Application { private var _log:Log; // force mtasc to compile Log.as function Application(createdBy) { // Re-assigment of _root to Application instance createdBy.__proto__ = this.__proto__; createdBy.__constructor__ = Application; this = createdBy; setup(); } public function setup() { TRACE(“hello […]