Hi guys,

The weirdest thing keeps on happening. I've tried various things but nothings seems to help. I've got a php script that should return a variable to flash. In short:

PHP Code:
<?php
require "functions.inc.php";
require 
"config.inc.php";
$i 1;
$files CC_readDir($dir_commissions);
echo 
"&img=".$files[$i-1]."&";
?>
When I run it in a browser it returns:

&img=CIMG0778.JPG&

When I run the swf it returns:

".$files[$i-1]."

Looks like flash doesn't parse the php... What am I doing wrong?

Thanx for the help!

Cheers,
Gekke_Hollander