My first response... so here goes:
I have a small video player application I developed for McGill University Alumni.
You can see it here:
http://www.alumni.mcgill.ca/esol/holiday/2008/flash.php?giftCode=123456
It picks up a 'Gift Code' from the URL but you can always hard-code your .xml file.
Here are the object and embed (s) I use:
<embed src="mcgill_annual_fund200903.swf**?giftCode=<?php echo $giftCode; ?>**" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="680" height="550"></embed>
And with the .js embed script:
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','680','height','550','src','mcgill_annual_fund200903**?giftCode=**','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','mcgill_annual_fund200903?giftCode=','wmode','transparent' ); //end AC code
And then to retrieve the info in AS3:
//get the giftCode
var gCode:String;
var giftCode:String;
function loaderComplete(lEvent:Event){
gCode = loaderInfo.loaderURL;
giftCode = gCode.substr((gCode.indexOf("?giftCode=")+10));
//giftCodeTxt.text= giftCode;
}