On 8/10/07, David Ngo <[EMAIL PROTECTED]> wrote:
>
> 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?

That really depends. If only one type of movieclip is ever going to
use this algorithm (EVER), then go ahead and put it in that class. On
the other hand, if different movieclips need to use it, I'd make it a
composed generic class (i.e., extended from Object or EventDispatcher
or whatever) or, if at all possible, a static class.

Need details.
-- 
Mike Keesey
_______________________________________________
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