# Help - simple question!

**URL:** <https://forum.kirupa.com/t/help-simple-question/292728>\
**Category:** flash\
**Created:** [July 18, 2009, 1:10am UTC](https://forum.kirupa.com/t/help-simple-question/292728 "2009-07-18T01:10:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![isk015](https://avatars.discourse-cdn.com/v4/letter/i/958977/32.png) [@isk015](https://forum.kirupa.com/u/isk015)\
**Post date:** [July 18, 2009, 1:10am UTC](https://forum.kirupa.com/t/help-simple-question/292728/1 "2009-07-18T01:10:19Z")

</div>

Hi to all.

I am having a hard time trying to solve some simple issue.

I created a movieclip in my library (mc1) and that moviecplip has 1 movieclip (mc2) and 1 dynamic textbox inside it (text1);

When I add it to the stage using this:

var mc\_test:new mc1 = new mc1();  
mc\_test.text1.text= “this is a test”;  
mc\_test.name = “my\_movieclip”  
stage.addchild(mc\_test);

It perfectly acess the text and and changes it. The problem I am having is trying to change it later on the program. I tried the following but it keeps giving me an error:

stage.getChildByName(‘my\_movieclip’).text1 = “new test”;

(the mc1 is properly linked for actionscript…)

Thanks for any help.
