here's an example on how to get the $imageurl into flash:
Actionscript Code:
// create a new loadvars variable
var lv:LoadVars = new LoadVars();
// if you want to send a parameter together with the lodavars, you have to fill it in here:
lv.my_param_name = my_param_value;
/* now load the page:
depending on what you want to do (just load, send data and load, only send data), you have three options:
LoadVars.send : only sends data
LoadVars.sendAndLoad : sends data and loads the results
LoadVars.load : loads a php
as you only load data from the page load() will suffise:*/
lv.load("http://www.myurl.com/mypage.php");
// now define what you want to do with the loaded data:
lv.onLoad = function(){
// grab the imageurl
if(this.imageurl != ""){
// do stuff with the var
}else{
// something went wrong
}
};
here's the php page, which is similar to the one you use:
Hope this helps you any further
UnrealEd