GregoryN -by private constructor I just meant that the class was intended to be a Singleton-
I actually tried creating a class that does nothing but extend MovieClip with a private cinstructror and placed atrace statement in the constructor and lo and behold - the private was ignored and the trace statement printed for every instance that I created. Mani On 2/2/06, Manuel Saint-Victor <[EMAIL PROTECTED]> wrote: > > Bart--This is perfect- I was thinking of something along those lines- > > are there any hidden issues with that that I hadn't thought of? > > > GregoryN-I must have missed the mm_livepreview.as comment that you made- > I'm going to google my gmail and follow up on that - tell me more about the > special case-- you're giving me exactly what I need to know-- thanks. > > Mani > > > On 2/2/06, GregoryN <[EMAIL PROTECTED]> wrote: > > > > Mani, > > > > Have you explored mm_livepreview.as file as I suggested before? > > Matter is that 2 instances are created for Live Preview, and the 1st > > one then becomes invisible. > > > > Also, I'm a bit confused, what's "private constructor" you've > > mentioned? > > > > Usually I create a special case (section) within constructor/init to > > handle > > all the Live Preview issues. > > > > > > -- > > Best regards, > > GregoryN > > ================================ > > http://GOusable.com > > Flash components development. > > Usability services. > > > > > ---------- Manuel Saint-Victor wrote: > > > > > > Would a component that subclasses movie clip call its constuctor when > > > dragged on stage despite the fact that the constructor is > > private. I'm > > > getting a strange error wherein a supposed singleton class is calling > > the > > > private constructor twice and therefore eliminating the references to > > it > > > that other components had. > > > I currently have the component subclassing the MoviClip class but am > > also > > > trying to make it a Singleton. Will this not work? > > > > > > Mani > > > > > > _______________________________________________ > > Flashcoders mailing list > > [email protected] > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

