Loading dynamically generated xml file into flash HELP

Hi Im trying to load a dynamically generated xml file into Flash. The problem I have is that the number in the URL for the xml is dynamically created ie) 1, 2 etc. So is there a way to load a variable into URL so that number can be accessed externally?

var wPath:String = new String();
wPath = "admin/content/bubble/1/bubbles.xml";

var xmlBubbles:XML = new XML(); // Create a new XML object.
xmlBubbles.ignoreWhite = true; // Set the ignoreWhite property to true (default value is false).
var checkProgress = function(xmlObj:XML) {
    var bytesLoaded:Number = xmlObj.getBytesLoaded();
    var bytesTotal:Number = xmlObj.getBytesTotal();
    var percentLoaded:Number = Math.floor((bytesLoaded/bytesTotal)*100);
    clpLoading.txtPercent.text = percentLoaded + '%';
}

// After loading is complete, trace the XML object.
xmlBubbles.onLoad = function(success) {
    clearInterval(intervalID);
    //trace(xmlBubbles);
    play();
};
xmlBubbles.load(wPath); // Load the XML into the xmlNews object.
var intervalID:Number = setInterval(checkProgress, 100, xmlBubbles);
stop();

Thanks