----- Original Message ----- 
From: "Matthias Dittgen" <[EMAIL PROTECTED]>


> Hello,
>
> the answer to my question would probably not change my workflow, but I
> want to know this:
>
> When using the attachMovie method, it is possible to set values of
> member variables. These values are set before the constructor is
> executed.
> Why that?

The set variable value can be used immeditaly in the initializing process, so 
will be drawn faster.
So the component will be drawn with the 'new value', rather than with a 
'default value' and then redrawn with the 'new value'.
Might not be a biggy if the variable doesn't have a huge inpact on the 
component, but if that particular variable value affects the 
layout (so the whole component needs to be redrawn) it does.

>
> And furthermore:
> Even private member variables can set this way and even the
> constructor can be private. And why that?
>
> Is there a special explanation or something obvious I missed?
>

I have to guess here really.. attachMovie is a MovieClip method, which is a 
dynamic class.

regards,
Muzak



_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to