Copy link to clipboard
Copied
How can we support a multi-lingual functionality in flash cc? As string panel is been Deprecated in a flash CC. Is there any other easy way to set a different value to text fields for multiple languages like string panels? Or xml is the only way ?
Currently we want to support English and Japanese language but we might introduce different language in future, So what is the best solution for it ?
Copy link to clipboard
Copied
use dynamic textfields and assign the text property of those textfields using actionscript.
Copy link to clipboard
Copied
Which text property you mean?
Copy link to clipboard
Copied
there's only one text property:
// initial language selection 'page'
var language1:Array=['language 1 text for first tf','language1 2nd tf's text', etc];
var language2:Array = ['language 2 text for first tf','language2 2nd tf's text', etc];
var languageNum:int;
function selectLanguageF(e:somekindofinteractiveevent):void{
languageNum=
}
// all other pages for all textfields
tfx.text=this['language'+languageNum]
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more