Hey Christopher, I've just pasted this code into a test flex app in it's init() function and debugged it after the second variables property was assigned.
They both contain "EUR". <code> var variables:URLVariables = new URLVariables(); var cur:String; cur = "EUR"; variables.currency_code = cur; variables.currency_codes = "EUR"; //debugged here </code> What are you experiencing? Nick 2009/8/21 christophe_jacquelin <christophe_jacque...@yahoo.fr> > > > Hello, > > The following code is not working: > > var variables:URLVariables = new URLVariables(); > var cur:String; > > cur = "EUR"; > variables.currency_code = cur; > > But this code is working : > > variables.currency_code = "EUR"; > > What could be the problem ? > Thank you, > Christopher, > > >