ok, i know there are several tutorials on this issue, getting php-variables into flash. but , maybe im to stupid, i cant get it work properly when i use dynamic content:
here is the actionscript:
this.createEmptyMovieClip("target_mc", this.getNextHighestDepth());
loadVariables("params.php", target_mc);
function checkParamsLoaded() {
if (target_mc.done == undefined) {
trace("not yet.");
} else {
trace("finished loading. killing interval.");
trace("-------------");
for (i in target_mc) {
trace(i+": "+target_mc*);
}
trace("-------------");
clearInterval(param_interval);
}
}
var param_interval:Number = setInterval(checkParamsLoaded, 100);
this is the php:
<?php
echo (var1="hello"&var2="goodbye"&done="done");
?>
and this is the result:
finished loading. killing interval.
done: “done”;
?>
var2: “goodbye”
<?php
im thankful for any help