I read a XML which has a unknown number of
I used Arrays to hold the data. Every time the TextFormat
should be used, I overwrite a temporary one with the data i hold in
the array and then I apply this format to the specific text.
Now I want to optimise this and create TextFormats at once
which can be applied when needed, without all the conversion.
The best way I can think of is by having
dynamic names for the
TextFormats for the user to call.
I can't use the way I did in AS2:
var ["TF_"+string]:TextFormat = new TextFormat(x,y,z); How is the
right Syntax in ActionScript3.0?