# Php-flash comunication-problem

**URL:** <https://forum.kirupa.com/t/php-flash-comunication-problem/201860>\
**Category:** Uncategorized\
**Created:** [September 25, 2006, 7:53pm UTC](https://forum.kirupa.com/t/php-flash-comunication-problem/201860 "2006-09-25T19:53:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Exos\_Sho](https://avatars.discourse-cdn.com/v4/letter/e/ed655f/32.png) [@Exos\_Sho](https://forum.kirupa.com/u/Exos_Sho)\
**Post date:** [September 25, 2006, 7:53pm UTC](https://forum.kirupa.com/t/php-flash-comunication-problem/201860/1 "2006-09-25T19:53:25Z")

</div>

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:

```auto

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

<?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

## echo var1: “hello”
