Will something like this work? Not the best solution im sure but it gets the job done! ;)

for(i=1;i<totalFields;i++){
this["Field"+i].text = "OK";

}

Mike Boutin
Juicy Studios

Pranav Negandhi wrote:

Bit of a glitch. I need to display the same value in 3 different locations
and was wondering if it's possible to do it in any way other than setting
values in 3 text fields.

What I'm doing right now -
Field1.text = "OK"
Field2.text = "OK"
Field3.text = "OK"

What I'd like to do -
GlobalField.text = "OK"
[change propogates to 3 instances of the movieclip]

I played around a bit with static class variables and feel it might be the
right way. Any pointers anyone?

Regards,
Pranav Negandhi

Fractal | ink
O: 91 22 5660 3682
M: 91 98211 73656
www.fractalink.com

_______________________________________________
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