# Can anyone help me with "Listeners"

**URL:** <https://forum.kirupa.com/t/can-anyone-help-me-with-listeners/204389>\
**Category:** Uncategorized\
**Created:** [October 19, 2006, 1:03pm UTC](https://forum.kirupa.com/t/can-anyone-help-me-with-listeners/204389 "2006-10-19T13:03:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flash\_Man1](https://avatars.discourse-cdn.com/v4/letter/f/8797f3/32.png) [@Flash\_Man1](https://forum.kirupa.com/u/Flash_Man1)\
**Post date:** [October 19, 2006, 1:03pm UTC](https://forum.kirupa.com/t/can-anyone-help-me-with-listeners/204389/1 "2006-10-19T13:03:38Z")

</div>

hey all,

i have a problem when i test my listeners they work but what i want to happen is as follows:

1. i have 4 radioButton components on the stage and when the user clicks a specific one.
2. it will say in a dynamic text box correct or incorrect depending on which one is clicked.  
3.BUT i only want the text showing up after their selecction is made and they have clicked the submit button.

how can i have this interaction here is my script so far and its on the first frame.

```auto
var answerStatus:Object = new Object();

var oListener:Object = new Object();
oListener.onPress = function(oEvent:Object):Void {
    trace(oEvent.target.selectedData);
    if(oEvent.target.selectedData == "A snail"){
        q2_answer = "Q1 is correct"
    } else {
        q2_answer = "Q1 is incorrect"
    }
};
q1.addEventListener("onPress", oListener);

```

cheers peeps

ps need help asap if no trouble? cheers again peeps 🙂
