Link to home
Start Free TrialLog in
Avatar of fatttymelt
fatttymelt

asked on

Dynamic Text within a Button?

I am going crazy!  I am trying to change the text in a dynamic text field that is within a button object.

Is it IMPOSSIBLE to change the text of a dynamic text field that is within a button?

the important part of code is something like.

<currentmovie>.<instanceNameOfMyButton>.<fieldName>.text = "UPDATED"

If I keep my code the same, but change the button object to a movieclip, I can change the text.

<currentmovie>.<instanceNameOfMyMovieClip>.<fieldName>.text = "UPDATED"

What am I doing wrong?
ASKER CERTIFIED SOLUTION
Avatar of Calron
Calron

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fatttymelt
fatttymelt

ASKER

Thanks Calron.  I did as you said, and things are working just fine.