Hello List,
i am looking into the decorator pattern for an upcoming AS2 project. I was
wondering if the following is possible
var com:Component = new Component()
com = new decoratorA(com)
com = new decoratorB(decA)
com = new decoratorC(decB)
I cant seem to figure out what I need to do in order to remove let say
decB at runtime? I tried a search on the internet, but all the articles
about the decorator pattern are about runtime adding, not removing.
Can somebody please help me if it is at all possible.
Thank you,
Jiri
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders