I've tried both ways, and generally prefer to subclass MovieClip. Both
approaches do have their advantages, though, at least in AS 1.0 and
2.0. But in AS3.0, there's no benefit at all to the composition
method. You can declare new movie clips without attaching them to any
timeline--they just exist as normal objects in memory until you add
them as a child of some other clip.

On 12/8/06, David Ham <[EMAIL PROTECTED]> wrote:
I am working on a Flash app that will be set up in an MVC architecture. It
will have draggable objects, a menu, a property inspector, and other UI
pieces. In the past I have built my Views with composition; that is, by
including the MovieClip as a property instead of subclassing it. But I have
been looking at the UIObject and UIComponents and wondering if subclassing
them would be a better move.
_______________________________________________
[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