Mark said:

pass the movieclip into the constructor
of the movieclip

Did you mean to say:

pass the movieclip into the constructor of the class?

Scott

On 9/20/06, Mark Lapasa <[EMAIL PROTECTED]> wrote:

What I normally do in this case is pass the movieclip into the constructor
of the movieclip a.k.a. Decorator Design Pattern

http://en.wikipedia.org/wiki/Decorator_pattern

So rather than other objects dealing with the movieclip directly, they
deal
with the interface of the class you decorate the movieclip with.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Patrick
Matte
Sent: Wednesday, September 20, 2006 4:43 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Object.registerClass


Flash help says that registerClass works with the attachMovie method but I
was wondering if there was any way to register a class to a MovieClip
created with the createEmptyMovieClip method.


_______________________________________________
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




--

: : ) Scott
_______________________________________________
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