hello guys, im just to buil my data driven application im still newbie.. can anyone help with get var from php code to flash.. Im using LoadVars here is my code..
var lvFile:LoadVars = new LoadVars();
lvFile.load = function(bSuccess:Boolean){
if (bSuccess){
trace(lvFile.name1);
trace("loaded");
}
else{
trace("not loaded!!!!");
}
}
lvFile.load("http://localhost/web/final_website/Flash/test.php");
and here is my php code..
<?php
$name1 = "Its me!";
echo $name1;
?>
Im having undefined in my output panel in flash.. Can anyone help how to do it right? thanks guys for the help...