# Access Textfield within a .mc

**URL:** <https://forum.kirupa.com/t/access-textfield-within-a-mc/331979>\
**Category:** flash\
**Created:** [December 13, 2013, 11:24pm UTC](https://forum.kirupa.com/t/access-textfield-within-a-mc/331979 "2013-12-13T23:24:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![scottiescotsman](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@scottiescotsman](https://forum.kirupa.com/u/scottiescotsman)\
**Post date:** [December 13, 2013, 11:24pm UTC](https://forum.kirupa.com/t/access-textfield-within-a-mc/331979/1 "2013-12-13T23:24:02Z")

</div>

What I want to do is just add the extra urls and little code and it will automatically change the text field content simple eh lol  
I have tried but how do I access the text field of a button.  
[AS]  
var t:TextField = obj.URLname as TextField; // already created  
t = obj.button[page];  
[/AS]  
but as the text field is in the button keep getting access errors  
plz help
