After spending a few $ on 3 diffrent flash and always strogling on the same very anoying detail ... i decided to learn how to get this solved my self...
in the .as file locate the line that loads the data.xml and change the line to:
loader.load(new URLRequest(loaderInfo.parameters.myFlashVar));
Then load the myFlashVar as a normal FlashVar like this
PHP Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="200" height="50" id="miniMp3Player" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="flashvars" value="myFlashVar=data.php" />
<param name="movie" value="miniMp3Player.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /> <embed src="miniMp3Player.swf" quality="high" bgcolor="#000000" width="200" height="50" name="miniMp3Player" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
</object>
Change the data.php to what ever you need the XML to be ...
compile the .fla to swf and voila ;-)
You can use this with any flash applications