Why is using prototypes bad practice?
- Original Message -
From: Janis Radins [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Monday, March 12, 2007 8:35 AM
Subject: Re: [Flashcoders] Extending buttons interface
also you should know that using prototypes is bad
Why is using prototypes bad practice?
Prototype has been depreciated.
Jason Merrill
Bank of America
Global Technology Operations
Learning Leadership Development
eTools Multimedia Team
___
Flashcoders@chattyfig.figleaf.com
To change your
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
Prototype has been depreciated.
What are you talking about? This is straight from AS 2.0 Language Reference:
prototype (Object.prototype property)
public static prototype : Object
A reference to the superclass of a class or function object. The prototype
property is automatically created and
Multimedia Team
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Gustavo Duenas
Sent: Monday, March 12, 2007 12:19 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Extending buttons interface
and now what are they using?
gustavo
On Mar
What are you talking about? This is straight from AS 2.0
Language Reference:
News Flash - the current version of Actionscript is 3.0, not 2.0. :)
Also, see my follow-up e-mail.
Jason Merrill
Bank of America
Global Technology Operations
Learning Leadership Development
eTools Multimedia
Eeermmm.. the question was about flash 6, and someone said that using
prototype is bad practice.
On 3/9/07, strk [EMAIL PROTECTED] wrote:
Is there a way to attach a method to all existing button instances ?
It seems that button instances are NOT instaceof Button ...
At least NOT for SWF6 .
Eeermmm.. the question was about flash 6, and someone said
that using prototype is bad practice.
I was responding to the blanket statement about prototypes - I didn't
know the thread was still focusing on Flash 6...
even still, I have never found much value in using prototypes - I
wouldn't say
On 3/12/07, Merrill, Jason [EMAIL PROTECTED] wrote:
What are you talking about? This is straight from AS 2.0
Language Reference:
News Flash - the current version of Actionscript is 3.0, not 2.0. :)
Depends on whether you're using Flex or Flash. Flash 9 hasn't been
released, after all, even if
Depends on whether you're using Flex or Flash. Flash 9 hasn't
been released, after all, even if the player and Flex Builder 2 have.
No it doesn't, any owner of Flash 8 can use the Flash 9 AS3 preview to
compile projects - not just test projects, real projects which are
legal, and target the
@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Extending buttons interface
Depends on whether you're using Flex or Flash. Flash 9 hasn't been
released, after all, even if the player and Flex Builder 2 have.
No it doesn't, any owner of Flash 8 can use the Flash 9 AS3 preview to
compile projects - not just test
On 3/12/07, Merrill, Jason [EMAIL PROTECTED] wrote:
No it doesn't, any owner of Flash 8 can use the Flash 9 AS3 preview to
compile projects - not just test projects, real projects which are
legal, and target the Flash 9 player. You're right in that Flash 9 has
not been released yet, but the
I disagree. 'Current' infers 'final release', not preview beta's.
For me (and many of my peers) Current AS version is 2 for Flash.
Well, I still disagree. You're talking about the authoring tool, not
the language, which is what I thought we were talking about. There is
no beta or preview
On 3/12/07, Merrill, Jason [EMAIL PROTECTED] wrote:
Well, I still disagree. You're talking about the authoring tool, not
the language, which is what I thought we were talking about. There is
no beta or preview AS3 - only Flash 9 beta/preview which allows you
create projects in AS3. Flex 2 is
On Fri, Mar 09, 2007 at 11:16:46AM -0500, elibol wrote:
instanceof matches an objects primitive type in as1 and as2.
I believe you can do this by adding a method to the Button.prototype object.
Button.prototype.somefunc = function(){
trace(hi);
}
and from a button instance, you make
instanceof matches an objects primitive type in as1 and as2.
I believe you can do this by adding a method to the Button.prototype object.
Button.prototype.somefunc = function(){
trace(hi);
}
and from a button instance, you make invoke
buttonInstance.somefunc(); //hi
On 3/9/07, strk [EMAIL
16 matches
Mail list logo