Thanks Ian. Looks quite interesting from a distance. Will the mx.lang.*
classes add too many extra KB's into my published movie? Can I manipulate
the string values at runtime? Does someone have code examples to do this?

Also, my very basic investigation shows that using this creates a separate
XML file to store the string values. Is this avoidable? I'm on a pretty firm
spec where the swf has to be completely standalone with no external
dependencies except the host application.

Regards,
Pranav Negandhi

Fractal | ink
O: 91 22 5660 3682
M: 91 98211 73656
www.fractalink.com


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Ian Thomas
> Sent: Thursday, December 08, 2005 11:00 PM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Display same value in 3 fields
> 
> 
> Have you investigated the string table? (Press CTRL+F11 in authoring)
> 
> We use the MX04 string table alongside a (heavily modified) 
> version of the built-in Locale code all the time. We also use 
> our own handrolled XML string tables (just files full of 
> tagged-up string resources), depending on the circumstances.
> 
> This lets you put some sort of symbol in your code - e.g.
> 
> myField.text=Locale.loadString("IDS_TITLE");
> 
> and then you change either a value in the string table (if 
> you're doing it that way) or a value in an XML file somewhere.
> 
> e.g. (fragment of standard Macromedia string table XML) 
> <trans-unit id="001" resname="IDS_TITLE">
>      <source>Main Menu</source>
> </trans-unit>
> 
> Hope that's useful,
>   Ian
> 

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to