Re: [Flashcoders] getting value from a radiobutton adding to converted textfield to numbe

2008-05-18 Thread Eduardo Omine
Have you tried one of the following?

event.currentTarget.selection.name
or
RadioButtonGroup(event.currentTarget).selection.name


What error message (not warning message) do you get when compiling?

-- 
Eduardo Omine
http://blog.omine.net/
http://www.omine.net/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] getting value from a radiobutton adding to converted textfield to numbe

2008-05-18 Thread rlyn ben
thid is the error.. Warning: 3551: Appending text to a TextField using += is 
many times slower than using the TextField.appendText() method.
i've been trying to get the value (which is a number) from the radiobutton and 
add it with the age thats been converted..




- Original Message 
From: Eduardo Omine [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Sunday, May 18, 2008 6:52:25 AM
Subject: Re: [Flashcoders] getting value from a radiobutton  adding to 
converted textfield to numbe

Have you tried one of the following?

event.currentTarget.selection.name
or
RadioButtonGroup(event.currentTarget).selection.name


What error message (not warning message) do you get when compiling?

-- 
Eduardo Omine
http://blog.omine.net/
http://www.omine.net/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



  
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] getting value from a radiobutton adding to converted textfield to numbe

2008-05-18 Thread Kenneth Kawamoto
If you want to get rid of the warning (which is different from error 
by the way), first I'd do what Flash has to say, i.e.


resultTxt.appendText(String(maleRB.value));


Kenneth Kawamoto
http://www.materiaprima.co.uk/

rlyn ben wrote:

thid is the error.. Warning: 3551: Appending text to a TextField using += is many 
times slower than using the TextField.appendText() method.
i've been trying to get the value (which is a number) from the radiobutton and 
add it with the age thats been converted..




- Original Message 
From: Eduardo Omine [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Sunday, May 18, 2008 6:52:25 AM
Subject: Re: [Flashcoders] getting value from a radiobutton  adding to 
converted textfield to numbe

Have you tried one of the following?

event.currentTarget.selection.name
or
RadioButtonGroup(event.currentTarget).selection.name


What error message (not warning message) do you get when compiling?


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders