Thanks Mike. Yup. That would work. But sometimes I like to be hard on myself
:P

Besides, when else would I get to learn where to use fancy words like
static.

Regards,
Pranav Negandhi

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


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Mike Boutin
> Sent: Thursday, December 08, 2005 10:35 PM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Display same value in 3 fields
> 
> 
> 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
> 

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to