No, there's no way of avoiding the external XML files without a lot of
fudging with the code.
Sounds like your best bet would be to simply create a look-up table
somewhere in your code - as a static singleton if needs be.
e.g.
class Strings
{
public var static MENU_TITLE:String="Main Menu";
public var static APP_TITLE:String="My Application";
}
myTextField.text=Strings.APP_TITLE;
and so on...
HTH,
Ian
On 12/8/05, Pranav Negandhi <[EMAIL PROTECTED]> wrote:
>
> 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
>
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders