==> dynamic text in movie clip

when i make a movie clip and place a dynamic text box in side and asign it a var of “name” i can place a

onClipEvent(load) {
name = “Button”;
}

and it will show the word “Button” in the dynamic text box in the movie clip but when i put this clip in to motion it no longer shows the test is there a way to get around this problem.

any help would be greatly apricated

PS: i owe to this site and the ppl of these fourm all i know

u have to give your dynamic text an instance name for example “myDynamic”, then on the main frame:

mc.myDinamic.text = “button”;

Im sry didnt discribe it qwite right :frowning:
i made btn with a dynamic text box so i want to add different text to each btn so i cant realy do it that way but ill c if i can adapt for it

but if there are anymore ideas im open to them (i realy need them)

Instead of making just a Button, convert it to a Movieclip because they are really just the same thing.

from what i understand in the end you want to have multiple instances of the same button but apply different text to each one.

one way of doing this would be to create a loop, to generate the buttons from the Library and at the same time give it some text, from an array, text file, database or what ever you really want to grab it from.

not sure if this is exactly what u wanted, kinda got confuzed with what was written.

now if what i said doesn’t make sence then i can always try again :slight_smile: unless its not what you wanted

thats a good idea but its realy not part of the data thats stoping the text from showing up and im not sure what it is?

BTW: where i come from we have no btn only MC

thanks for the tips ill try it