# Can someone help me a little or alot

**URL:** <https://forum.kirupa.com/t/can-someone-help-me-a-little-or-alot/9045>\
**Category:** Uncategorized\
**Created:** [December 3, 2002, 7:35pm UTC](https://forum.kirupa.com/t/can-someone-help-me-a-little-or-alot/9045 "2002-12-03T19:35:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![thediablo](https://avatars.discourse-cdn.com/v4/letter/t/c37758/32.png) [@thediablo](https://forum.kirupa.com/u/thediablo)\
**Post date:** [December 3, 2002, 7:35pm UTC](https://forum.kirupa.com/t/can-someone-help-me-a-little-or-alot/9045/1 "2002-12-03T19:35:01Z")

</div>

ok this is what i got…

some rollover buttons…

what i need…

is that when you click in the buttons i can load some text in an  
Dynamic Text Space in my flash movie…

did i ask this right?..

if you understand the question 😛 please help me thanks!

Best Regards.

-thediablo 😃

---

<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:** [December 3, 2002, 7:50pm UTC](https://forum.kirupa.com/t/can-someone-help-me-a-little-or-alot/9045/2 "2002-12-03T19:50:49Z")

</div>

first you should do one of the tutorials to understand how to load dynamic text

here are a few on this site  
[http://search.atomz.com/search/?sp-advanced=1&sp-q=dynamic%20text&B1=search&sp-a=00040c2f-sp00000000&sp-w-control=1;](http://search.atomz.com/search/?sp-advanced=1&sp-q=dynamic%20text&B1=search&sp-a=00040c2f-sp00000000&sp-w-control=1;)

secondly, once you’ve learned how to load dynamic text you will understand how to change it.

there are several ways to do this.  
one :: you can create different keyframes each with a dynamically loaded text box and tell the buttons to go to different frames

two :: you can change the variable in your load script

this goes on your frame to load the text

```auto

loadText = new loadVars();
loadText.load("kirupa.txt");
loadText.onLoad = function() {
		scroller.text = this.kirupatext;
};

```

then assign something like this to the buttons

```auto

on(press){
loadText.load("kirupa.txt");
}

```

change the name of the file for each one you want to load.

i haven’t tried it in flash but i definately think you should look through the tutorials and i’m sure you’ll find the best way to do it that suits your needs based on your understanding of actionscript. if you’re a novice, then you should probably use my first suggestion which was to have different text on each keyframe and just tell the buttons to

```auto

on(press){
gotoAndStop(2);
}

```

i hope this helps

---

<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:** [December 3, 2002, 8:07pm UTC](https://forum.kirupa.com/t/can-someone-help-me-a-little-or-alot/9045/3 "2002-12-03T20:07:50Z")

</div>

thanks!

so with the on (press) action in each button. i can load the text  
to the same Dynamic Text Field?

do i have to put the instance name of the dynamic text or something?

like loaText.load.INSTANCE(“text.txt”)

algo what formats does flash support? may i add html tags, to it?

Thanks for the help!

---

<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:** [December 3, 2002, 8:10pm UTC](https://forum.kirupa.com/t/can-someone-help-me-a-little-or-alot/9045/4 "2002-12-03T20:10:44Z")

</div>

i believe you would have to specify the instance name of the object in which you want the dynamic text to appear.

flash will support html v1 that means no tables and no dhtml or fancy stuff. just basic formatting tags and anchors

🙂

---

<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:** [December 3, 2002, 8:14pm UTC](https://forum.kirupa.com/t/can-someone-help-me-a-little-or-alot/9045/5 "2002-12-03T20:14:24Z")

</div>

THANKS!

sofor every button it would something like…

on(press){  
loadText.load.instance(“info.txt”);  
}

???

or where does the instance name go?

---

<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:** [December 3, 2002, 8:18pm UTC](https://forum.kirupa.com/t/can-someone-help-me-a-little-or-alot/9045/6 "2002-12-03T20:18:08Z")

</div>

looks right to me.

try it and let me know, if that doesn’t work we can try to figure something else out

---

<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:** [December 3, 2002, 8:21pm UTC](https://forum.kirupa.com/t/can-someone-help-me-a-little-or-alot/9045/7 "2002-12-03T20:21:39Z")

</div>

:D:D

ok ill give it a shoot and tell you…

thanks for the help

im learning AS fast!!!

i think… 😛

---

<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:** [December 3, 2002, 8:41pm UTC](https://forum.kirupa.com/t/can-someone-help-me-a-little-or-alot/9045/8 "2002-12-03T20:41:26Z")

</div>

nop didnt work…

o well…  
😛

any other suggestion
