Maybe this one:
http://www.as3dp.com/2008/12/06/actionscript-30-visitor-design-pattern-a-tale-of-traverser-and-the-double-dispatch-kid/
or check out the articles there I am sure there is a pattern described
that will suit your needs.
I also think the previous comment on overenginering should be taking
into consideration..
Good luck,
Jiri
Joel Stransky wrote:
Thanks for your perfectly useless answer. I know if I could recognize the
need for certain patterns easily I'd be more than happy to help out rather
than chastise.It looks like it's possibly a Template pattern but I was
hoping for the same kind of insight I've been giving at flashkit for eight
years no matter how simple the question.
On Sat, Dec 6, 2008 at 10:29 PM, Latcho <[EMAIL PROTECTED]> wrote:
Are you gonna take a map if you have clear line of sight to your
destination ?
Shall we advise you on traffic light implementation if you are the only
driver in the world ?
Dont' overengineer. If you want to integrate / learn a design pattern take
a more challenging and/or interactive interface.
Latcho
Joel Stransky wrote:
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?
_______________________________________________
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