Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting User specified text in Flash 5 button

Status
Not open for further replies.

year2000

Programmer
Jun 10, 2002
18
IN
Hi,
As per my requirement, I want to set the flash 5.0 button caption dynamically using dynamic text. Actually I am working on a multilingual web tool. I want to change the button caption as per the language selected by the application user. I need to to pass various text strings in flash movie at run time to display the button caption. Language could be anyone selected by user viz, french, german, korean etc. Hence my flash movie should be able to support various other charsets (e.g. utf-8) too, apart from standard ISO charset.

Thanks.
 
In order to set the text dynamically you'll have to embed your button in a movieclip - this way the button still works (rollovers etc) but you can add the label text in another layer of the movieclip. The label should be a dynamic text field - you can set its content by setting the value of its variable name.

In Flash 5 unicode isn't supported - you need MX in order to support full character sets.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top