Prototype is an AS1 hack, much more oop-friendly to adopt the AS2/AS3 method
of using the 'Extends' statement.

http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm
?context=LiveDocs_Parts&file=00001870.html

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: 12 March 2007 16:34
To: [email protected]
Subject: RE: [Flashcoders] Extending buttons interface

Inheritance. Well, I guess prototype may not exactly depreciated per se, but
inheritance is prefered - prototype is an alternative, supporting previous
versions of actionscript.

http://livedocs.adobe.com/labs/as3preview/langref/Object.html

"Note: In ActionScript 3.0, prototype inheritance is not the primary
mechanism for inheritance. Class inheritance, which drives the inheritance
of fixed properties in class definitions, is the primary inheritance
mechanism in ActionScript 3.0."


Jason Merrill
Bank of America
Global Technology & Operations
Learning & Leadership Development
eTools & Multimedia Team


 

>>-----Original Message-----
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] On Behalf Of 
>>Gustavo Duenas
>>Sent: Monday, March 12, 2007 12:19 PM
>>To: [email protected]
>>Subject: Re: [Flashcoders] Extending buttons interface
>>
>>and  now what are they using?
>>
>>gustavo
>>On Mar 12, 2007, at 12:08 PM, Merrill, Jason wrote:
>>
>>>>> Why is using prototypes bad practice?
>>>
>>> Prototype has been depreciated.
>>>
>>> Jason Merrill
>>> Bank of America
>>> Global Technology & Operations
>>> Learning & Leadership Development
>>> eTools & Multimedia Team
>>>
>>>
>>>
>>> _______________________________________________
>>> [email protected]
>>> To change your subscription options or search the archive:
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>> Brought to you by Fig Leaf Software
>>> Premier Authorized Adobe Consulting and Training 
>>> http://www.figleaf.com http://training.figleaf.com
>>>
>>
>>_______________________________________________
>>[email protected]
>>To change your subscription options or search the archive:
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>Brought to you by Fig Leaf Software
>>Premier Authorized Adobe Consulting and Training 
>>http://www.figleaf.com http://training.figleaf.com
>>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to