FMX need help with as and dynamic textfield

sorry guys, im a quite a newbie zu flash mx

i have a movieclip called “animation” which contains a dynamic textfield “mytext” (instance)

i’m trying to access this textfield from a button on the main stage to change the text of the textfield when the button is released.

thx a lot

ak

Use this action on the button:[AS]on(release){
_root.animation.mytext.text=“your new text goes here”;
}[/AS]

thx, but it doesn’t work. i almost tried everything

i’ll post the fla, maybe someone finds the clue

thx

ak

Your animation movie clip doesnt have an instance name
Give it an instance name of “animation” (without quotes)

thx a lot

ak

No problema
:slight_smile: