# Simple simple radio button \[help\]

**URL:** <https://forum.kirupa.com/t/simple-simple-radio-button-help/260216>\
**Category:** flash\
**Created:** [May 13, 2008, 3:37pm UTC](https://forum.kirupa.com/t/simple-simple-radio-button-help/260216 "2008-05-13T15:37:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![korpela2](https://avatars.discourse-cdn.com/v4/letter/k/8e8cbc/32.png) [@korpela2](https://forum.kirupa.com/u/korpela2)\
**Post date:** [May 13, 2008, 3:37pm UTC](https://forum.kirupa.com/t/simple-simple-radio-button-help/260216/1 "2008-05-13T15:37:25Z")

</div>

Hi all,

I have an annoying problem that requires a simple solution. I need a radio button to do the following function when clicked;

on(click) {  
trace(“hello”);  
NewCharity = “Focus”;  
}

The trace function works fine but the word “Focus” is not printed into the dynamic text box named “NewCharity”. I cannot figure out why and can’t find a simple solution to it.

A good example of what I need can be seen working in WebWasp at : “[http://www.webwasp.co.uk/tutorials/c04-radio-active/index.php](http://www.webwasp.co.uk/tutorials/c04-radio-active/index.php)”

Any help would me of much assistance…
