Hi,

since your concrete instance is already on the stage wudnt u just get for
example:

new Decorator (_level0.a.b.c.d.etc)

Although if this is truly a decorator can be debatable, but seeing the clip
can have a class attached with its own interface i dont see why not.
The problem with decorator lies probably with how to replace the references
other objects already have to your concrete object with your decorator.

greetz
JC

On Jan 10, 2008 11:37 PM, <[EMAIL PROTECTED]> wrote:

> Hi
> I'm trying to apply a decorator to a movieclip  instance that is manually
> placed on the stage.
>
>
> Normally, when applying a decorator, you simply instantiate a new concrete
> component like so
>
> var concreteComponent:abstractComponent
>
> concreteComponent= new concreteDecorator(concreteComponent);
>
> where concreteComponent refers to the instance of the component you wish
> to
> decorate.
>
> But what if this component is manually authored and placed on the stage
> before
> compiling?
>
>
> [f] www.flickr.com/photos/bitstream
> [c] 416.668.0034
> [w] www.bitstream.ca
> --------------------------------------------
> "...all improvisation is life in search of a style."
>             - Bruce Mau,'LifeStyle'
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to