It might be a little light but check out the reactor pattern. It is very useful when desiring polymorphic behaviors.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joel Stransky Sent: 06 December 2008 21:00 To: Flash Coders List Subject: [Flashcoders] What design pattern would this be? I'm trying to make design patterns a regular part of my process but understanding them and knowing which one to use are proving to be a quite different. I'm working on a couple of classes. One class's job is to iterate over a list of display objects and modify their scale and location based on mouse position. I want this class to be able to work with a runtime generated OR an authortime generated display list. I figure it's as easy as instantiating either a RuntimeChildren or AuthortimeChildren class and passing it to the constructor of my DisplayListUtility class. Since it's so simple, does it even qualify as a design pattern and if so which one? -- --Joel Stransky stranskydesign.com _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders