Is this - Locale.stringIDArray - an Array or an Object?
public static loadStringEx(stringID: String, languageCode: String) : String
This is the loadStringEX declaration, and it would seem to indicate that it's a multidimensional array? that is, the Locale.stringIDArray. (Or it's an object)
var arr:Array = Locale.stringIDArray;
for (var i=0; i<arr.length; i++) {
IDLabel = Locale.loadStringEx(Locale.stringIDArray, loc)
ID = Locale.stringIDArray;
trace("ID :" + ID + " is " + IDLabel);
trace("Array ID:"+ Locale.stringIDArray + ":" + IDLabel);
}
and this returns
ID :IDS_008 is 复位
Array ID:IDS_008:复位
ID :IDS_010 is 目前的地理定位数据\n
Array ID:IDS_010:目前的地理定位数据\n
ID :IDS_015 is 水平精度
I am thinking of extracting this data, easy enough in this instance, and putting it into an SQLite database. That way I can recall it anytime anywhere to use in various parts of the program.
I can't find anyone doing Locale work and the examples in the Adobe help are just too basic. The ID and the Label have to be available to me from anywhere in the program.


