> var mc = holder.attachMovieClip("SYM_Clip", "item", 10);
> mc.controller = this;
> mc.foo = "something";
> mc.bar = 15;
> 
> Inside the SYM_Clip movieclip in the library:
> 
> function init() {
>     FooTextField.text = foo;
>     BarTextField.text = bar;
> }
> init();

This isn't the best example since you could set the text field's text
properties from the creator clip, but you get the idea.  This is the most
basic OOP principle of letting objects manage themselves.

_______________________________________________
Flashcoders@chattyfig.figleaf.com
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