Re: [Flashcoders] Question about __constructor__

2006-08-18 Thread erixtekila
The first thing to understand is that AS2 uses the same bytecode as AS1. i.e. AS2 if just AS1 with pretty makeup and a new hairdo. I can't say better ! Actually all the tricks available for Flash5 are still usefull for flash7. The one you noticed is a trick to link a MovieClip Class with a Mov

Re: [Flashcoders] Question about __constructor__

2006-08-18 Thread Martin Wood
The first thing to understand is that AS2 uses the same bytecode as AS1. i.e. AS2 if just AS1 with pretty makeup and a new hairdo. This page might help you understand more about __proto__ , .prototype and all the weird stuff we did that is thankfully in the past (most of the time) :) http://w

Re: [Flashcoders] Question about __constructor__

2006-08-17 Thread Helmut Granda
Erixtekila, Thanks for the link, I have read the site serveral times during the day trying to figure this out. but one of the things I saw is that the code above only helps if you are exporting for flash 5. I still dont understand what this was used since the program that this piece of software p

Re: [Flashcoders] Question about __constructor__

2006-08-17 Thread erixtekila
Could any soul out there help me understand why the __constructor__ and __proto__ are used in the following code: Check this out : http://www.quantumwave.com/flash/inheritance.html And join the rebel alliance :P (very old private joke, ask others) --- erixtekila http://blog.v-i-a.net/ _

[Flashcoders] Question about __constructor__

2006-08-17 Thread Helmut Granda
Hello, Could any soul out there help me understand why the __constructor__ and __proto__ are used in the following code: class Application { public static var instance:Application; private function Application(createdBy) { createdBy.__proto__ = this.__proto__; createdBy.