Changing button's text

I'm new in flash, therefore I don't know much about it.

I have to make a menu for homepage with changable languages.
I'd like to make one .swf for all languages, not seperate .swf's for each language.

I found a way, how to do it, but I'm a bit confused - it does work in new flash document, but doesn't work, if I'm trying to edit some document (I already have a menu, that I need to change - doesn't work in this menu). Could anyone help me?

The way I'm doing it:
1. Create "Dynamic Text", using Text Tool
2. Right click on this Dynamic Text --> Convert to simbol (Behaviour: Button)
3. Select newly created button; write an action for it - on (release) {txt = txt + 'x';}
4. Double click on button
5. Select 'Up' frame --> select TextField --> Link it with variable 'txt' in Properties (write 'txt' in text box next to 'Var:')
6. Disable 'Selectable' property, if enabled
7. Press F12 to preview it. Click on button - it changes variable and also text of button
LVL 11
ZhaawZSoftware DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hello ZhaawZ,
         I think it would be best if you could post the fla somewhere so that i can see for myself

ZhaawZSoftware DeveloperAuthor Commented:
Sorry, I think I'm not able to give away that .fla. Just thought that maybe somebody have had same problem. Could it be related to variables in different timelines?
ZhaawZSoftware DeveloperAuthor Commented:
Here is a .fla with same situation I have -
There are 4 identical TextFields, associated with variable. 3 of them work fine, but the 4th doesn't.
3rd and 4th TextFields are in same timeline. Only difference is that 4th is associated with mask layer - does it matter?
ZhaawZSoftware DeveloperAuthor Commented:
There's no help needed anymore. It can be done at runtime with setMask(), not at design time.

>> Dynamic/Input textfields cannot be masked with a mask added at authortime (drawn in flash). If you need to do this, you should embed font outlines for the textfield in question. An alternate solution is to add the mask at runtime, using the setMask() function.
Question answered by asker or dialog valuable.
Closed, 125 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.