Hi… can anyone please tell me the best way to load multiple variables from a php flile into flash?? I have been trying with no luck… I’m printing them from the php like this:
print "mx=$movx&my=$movy&bg=$bgC";
and them impor them to flash using this code:
loadRemote.onRelease = function() {
mData = new LoadVars();
mData.load("load.php");
movingX = mData.mx;
movingY = mData.my ;
bgColor = mData.bg;
if (mData.mox != undefined) {
this.preview(4);
alert.msg.text = "working!";
} else {
alert.msg.text = "load error!!";
}
};
–
-rJr-