Hi,

I think you misinterpreted my mail about the two option with movieclip
inheritance vs composition.

I said (or at least I meant :)) that in HIS example he PROBABLY had a view
and THEN.....

etc etc

:)


On 8/11/07, David Ngo <[EMAIL PROTECTED]> wrote:
>
> Precisely my point.
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Steven
> Sacks
> Sent: Friday, August 10, 2007 7:13 PM
> To: flashcoders@chattyfig.figleaf.com
> Subject: Re: [Flashcoders] Classes 101 [was: Version control and Flash ]
>
> Not all classes have to extend MovieClip (in fact, most shouldn't, and
> some would argue none should).
>
> class tld.domain.project.utils.Algorithms
> {
>     public static function someCalc(n:Number):Number
>     {
>        // do some calculations on n
>        return n;
>     }
> }
>
>
>
> David Ngo wrote:
> > I'm not going to hijack this thread and get into a debate of inheritance
> vs.
> > composition vs. whatever so I'll just pose this quick question to you.
> Keep
> > in mind the context of the original question which led to the discussion
> > here (having code on the timeline vs. using classes):
> >
> > If I need to create an algorithm to perform a series of calculations
> based
> > off each other, where do I put that? Do I put it in a class that extends
> > MovieClip or in a generic class? Or, going by your option, stick it on
> the
> > timeline and use Math.
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> 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
>
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> 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
>
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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