# Loading text, with a big twist ( as always with me )

**URL:** <https://forum.kirupa.com/t/loading-text-with-a-big-twist-as-always-with-me/21162>\
**Category:** flash\
**Created:** [May 18, 2003, 7:55am UTC](https://forum.kirupa.com/t/loading-text-with-a-big-twist-as-always-with-me/21162 "2003-05-18T07:55:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![titter](https://avatars.discourse-cdn.com/v4/letter/t/f0a364/32.png) [@titter](https://forum.kirupa.com/u/titter)\
**Post date:** [May 18, 2003, 7:55am UTC](https://forum.kirupa.com/t/loading-text-with-a-big-twist-as-always-with-me/21162/1 "2003-05-18T07:55:48Z")

</div>

Ok, I need to load info from a text file on release of a button. Easy enough, but here is the twist. I have 3 buttons, all will load a seperate line of text, of course it will be html dynamics, so I can intergrate links, but I need this in a text box that will tick scrolling the text right to left. So far, if you’ve made it, it’s seems pretty simple…here is the real twist. There is 1 more button, that will act as a power button. As of right now, on press it enables PowerMC, and it plays the MC. On the second press it goes to and plays the off verison.

[AS]on (press) {  
if (\_root.PowerMC.enabled==false) {  
\_root.PowerMC.enabled=true;  
\_root.PowerMC.gotoAndPlay(“on”);  
}  
}  
on (press) {  
if (\_root.PowerMC.enabled==true) {  
\_root.PowerMC.enabled=false;  
\_root.PowerMC.gotoAndPlay(“off”);  
}  
}[/AS]

How would I be able to control the other 3 buttons, so if PowerMC.enabled==false they won’t load in the text. This is pretty confusing, and not knowing enough AS to pull this one off, I really need some help. 😃 Thxs in advance.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 18, 2003, 10:18pm UTC](https://forum.kirupa.com/t/loading-text-with-a-big-twist-as-always-with-me/21162/2 "2003-05-18T22:18:42Z")

</div>

argh, so close but grr!
