; //outputs "Lucy"
> >
> > //trace myVar2
> > Trace(myVar2); //outputs "Bob";
> >
> >
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Pete
> > Ho
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
>
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
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
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;
}
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
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";
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,
>
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
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
-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
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
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
; 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
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
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
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
17 matches
Mail list logo