Variable on URLLoader getting data

Hello.

Im working with this little sidescroller tile based game, im saving maps to xml file.

But got this little problem.
I would like to do something like this.

var currentLevel:int = 1;
var myMap:String = “map” + currentLevel;

var myMap = xmlData.myMap.tiles.text();

so i would like to put that variable to that getting data from xml so if my currentLevel changes its getting diffrent data from xml file.

so is that possible to put variable to that xmlData.myMap.tiles.text();

thanks for help.