Re: [Flashcoders] Display same value in 3 fields

2005-12-29 Thread Igor Costa
; //outputs "Lucy" > > > > //trace myVar2 > > Trace(myVar2); //outputs "Bob"; > > > > > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Pete > > Ho

Re: [Flashcoders] Display same value in 3 fields

2005-12-29 Thread elibol
ce(myVar); //outputs "Lucy" > > //trace myVar2 > Trace(myVar2); //outputs "Bob"; > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Pete > Hotchkiss > Sent: Thursday, December 08, 2005 5:08 PM >

RE: [Flashcoders] Display same value in 3 fields

2005-12-08 Thread Ralph Caraveo
ce(myVar); //outputs "Lucy" //trace myVar2 Trace(myVar2); //outputs "Bob"; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pete Hotchkiss Sent: Thursday, December 08, 2005 5:08 PM To: 'Flashcoders mailing list' Subject: RE: [Fla

RE: [Flashcoders] Display same value in 3 fields

2005-12-08 Thread Pete Hotchkiss
To state the obvious. Why cant the text fields point to a single variable ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pranav Negandhi Sent: 08 December 2005 16:57 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Display same value in 3

Re: [Flashcoders] Display same value in 3 fields

2005-12-08 Thread ryanm
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] private function set GlobalField(s:String):Void{ Field1.text = s; Field2.text = s; Field3.text = s; }

Re: [Flashcoders] Display same value in 3 fields

2005-12-08 Thread elibol
class Strings { public var static MENU_TITLE:String="Main Menu"; public var static APP_TITLE:String="My Application"; } function setTFVariable(f:TextField, v:String){ f.variable = v; } var i=-1, l=3; while(++i wrote: > > No, there's no way of avoiding the external XML files without a l

Re: [Flashcoders] Display same value in 3 fields

2005-12-08 Thread Ian Thomas
No, there's no way of avoiding the external XML files without a lot of fudging with the code. Sounds like your best bet would be to simply create a look-up table somewhere in your code - as a static singleton if needs be. e.g. class Strings { public var static MENU_TITLE:String="Main Menu";

Re: [Flashcoders] Display same value in 3 fields

2005-12-08 Thread Lanny McNie
ember 08, 2005 11:47 PM > > To: Flashcoders mailing list > > Subject: Re: [Flashcoders] Display same value in 3 fields > > > > > > http://www.actionscript.nl/ > > > > Goto > Flash MX 2004 category in red > Strings Panel. > > > > HTH, >

RE: [Flashcoders] Display same value in 3 fields

2005-12-08 Thread Pranav Negandhi
lashcoders mailing list > Subject: Re: [Flashcoders] Display same value in 3 fields > > > http://www.actionscript.nl/ > > Goto > Flash MX 2004 category in red > Strings Panel. > > HTH, > > /Johan ___ Flashcode

Re: [Flashcoders] Display same value in 3 fields

2005-12-08 Thread Johan Lopes
om: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf > > Of Ian Thomas > > Sent: Thursday, December 08, 2005 11:00 PM > > To: Flashcoders mailing list > > Subject: Re: [Flashcoders] Display same value in 3 fields > > > > > > Have you investigate

RE: [Flashcoders] Display same value in 3 fields

2005-12-08 Thread Pranav Negandhi
-Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Ian Thomas > Sent: Thursday, December 08, 2005 11:00 PM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] Display same value in 3 fields > > > Have you investiga

Re: [Flashcoders] Display same value in 3 fields

2005-12-08 Thread Ian Thomas
Have you investigated the string table? (Press CTRL+F11 in authoring) We use the MX04 string table alongside a (heavily modified) version of the built-in Locale code all the time. We also use our own handrolled XML string tables (just files full of tagged-up string resources), depending on the cir

RE: [Flashcoders] Display same value in 3 fields

2005-12-08 Thread Pranav Negandhi
tal | ink O: 91 22 5660 3682 M: 91 98211 73656 www.fractalink.com > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Robert Chyko > Sent: Thursday, December 08, 2005 10:40 PM > To: Flashcoders mailing list > Subject: RE: [Flash

RE: [Flashcoders] Display same value in 3 fields

2005-12-08 Thread Pranav Negandhi
; 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

RE: [Flashcoders] Display same value in 3 fields

2005-12-08 Thread Robert Chyko
12:05 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;iBit of a glitch. I need to display the same value in 3 different locations >and was wondering if i

Re: [Flashcoders] Display same value in 3 fields

2005-12-08 Thread Mike Boutin
Will something like this work? Not the best solution im sure but it gets the job done! ;) for(i=1;i 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

[Flashcoders] Display same value in 3 fields

2005-12-08 Thread Pranav Negandhi
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