Link to home
Start Free TrialLog in
Avatar of Mike Waller
Mike WallerFlag for United States of America

asked on

place value of component input inside textfield

When I choose either a radio button, checkbox or a selection from dropdown, how can place the value of that data inside a textfield on mouse up using flash components?  I'm outputting as flash player 6, actionscript 2.0.
Avatar of rascalpants
rascalpants
Flag of United States of America image

well, first of all, I don't think you can even use Actionscript 2.0 in player 6...  so you need to change that...

my recommendation is to use Flash Player 8...  it has over 95% market penetration, and is much more advanced than player 6 or 7.   So change that....

you would use the instance name of the component with getValue()

so if your checkbox as named "myCheckBox"  then you would use this code to set the value

myTextBox.text = myCheckBox.getValue();


rp


Avatar of Mike Waller

ASKER

that didn't work.  So when the user clicks on the radio button (not checkbox), the data gets inputted into a textfield.  Any more suggestions?
ASKER CERTIFIED SOLUTION
Avatar of rascalpants
rascalpants
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial