Can you place php varibles in the html wrapper for a swf, that could be read into the swf when it loads?
Perhaps using a param?
$myVariable = "$var1,$var2,$var3";
like this with php in the html?
<param name=FlashVars value="$myVariable" />
or perhaps ?
<param name=FlashVars value="myVariable=$myVariable" />
Then perhaps in the swf with as3 using something like this?
var myloader:URLLoader = new URLLoader()
myloader.load(new URLRequest(this.root.loaderInfo).parameters))
myloader.addEventListener(Event.COMPLETE, onLoaded)
function onLoaded(evt:Event)
{
trace(myloader.data)
}
Unsure how to access it using the correct path to the param and then how to get the php variable $myVariable into myloader.data?
Greater wisdom required than mine. Kindest regards. Adrian.