views:

192

answers:

1

I'm trying to change the text on several symbols by having a user press one designated symbol ! I don't care if its with flash 2.0 or 3.0 , I did a menu bar and want to change the text on the symbols if on symbol in particular is pressed ! I tried everything I could think of and expected it to be fairly easy ! I must be missing something !

When a user presses a symbol code is executed to change the text on all the other buttons !

There must be more than my_symbol.text="text I want";
Is there a sub_scene.scene.instance_name.text or something I'm missing ?

Thanks

Pete

+2  A: 

The question is quite vague but you need to target the textField and not the symbol in any case:

myMovieClip.myTextField.text = "Changed"

If this is not working first thing to check is if the instance of the container is accessible from your scripts own scope :

trace(myMovieClip);
Theo.T
Thanks I'll try that and let you know ! Pete
Peter
preliminary test shows it should work fine with what you suggested . Thanks Pete
Peter
did it work out ?
Theo.T