Using external variable with components?

hi all,

I am using a component “Hierachical Menu” with a component parameter that loads a xml file by “dir/dir/load.xml”
(http://www.flashcomponents.net/ and then under Menu’s)

Now i want to use a language var in the parameter how would i do that. I am trying “dir/dir/” +lang+ “load.xml”

Is this the good way?

is there another way? :h:

make sure you validate the language var if it is user input (ie. spelling mistakes/languages not supported by u etc etc ;))

Prophet.