# Dynamic text in mc symbol

**URL:** https://forum.kirupa.com/t/dynamic-text-in-mc-symbol/290536
**Category:** Uncategorized
**Created:** [June 16, 2009, 8:05am UTC](https://forum.kirupa.com/t/dynamic-text-in-mc-symbol/290536 "2009-06-16T08:05:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![danielgoh](https://avatars.discourse-cdn.com/v4/letter/d/e9a140/32.png) [@danielgoh](https://forum.kirupa.com/u/danielgoh)
#### Post date: [June 16, 2009, 8:05am UTC](https://forum.kirupa.com/t/dynamic-text-in-mc-symbol/290536/1 "2009-06-16T08:05:03Z")

</div>

Hi people,

I’m fetching data from XML to dynamic text in mc symbol done through using button. I want a click of button, dynamic text in mc will change when it load up scene 2.

I used this code on button to change my dynamic text in mc on single scene, and it works fine.

```auto
on (release) {   
   
var english2 = new XML();
english2.ignoreWhite = true;
var entry = 0;
var total = 0;
var current = 0;

english2.load("english2.xml");
english2.onLoad = function(success) {
if (success) {

_root.mc.enmost_txt.text = this.firstChild.childNodes[_root.entry].attributes.enmost;

}
};
}

```

But this don’t work when i have a dynamic text mc symbol on other scene.  
Is there any possible solution? Thanks
