Php and flash

i have a php script that gets a color from a database and stores it in the variable $color. how can i make is so that my flash movie gets the variable from the script and changes a movie clip to that color?

php: echo $color
in flash use setRGB with the color variable…you don’t say in which format it comes, rgb, hex, name, so that’s all i can do for you…

shouldn’t that be

echo “myVariable=$color”;

:q:

You could get the variables from a txt file too, if you want.

k, thanks guys. but now im getting a variable $background. so i did echo “background=$background”; so that i can still use the variable background in flash. then, i try this: holder.loadMovie(background); and it equals onfloor.jpg, but i dont see onfloor.jpg loaded when i do this! if i just type “onfloor.jpg” it works fine…