# Dynamic Text field prob

**URL:** <https://forum.kirupa.com/t/dynamic-text-field-prob/203604>\
**Category:** flash\
**Created:** [October 12, 2006, 12:32pm UTC](https://forum.kirupa.com/t/dynamic-text-field-prob/203604 "2006-10-12T12:32:18Z")\
**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 12, 2006, 12:32pm UTC](https://forum.kirupa.com/t/dynamic-text-field-prob/203604/1 "2006-10-12T12:32:18Z")

</div>

hey all,

i’m trying to view the selectedData from my radio button on another frame in a dynamic text field…but i keep getting the error “undefined”???

here is my code:  
on frame2:—\> output1 = “Your Gift: “+sun.target.selectedData+””;  
on the first frame is this:—\> var oListener:Object = new Object();  
oListener.click = function(oEvent:Object):Void {  
trace(oEvent.target.selectedData);  
};  
gifts.addEventListener(“click”, oListener);

ps the trace works great! its just when i try put that data into a dynamic text field :S:S

cheers inadvance peeps 🙂
