Right, but you need to insert your code block in a way that it is executed and then returns the name of a swf to load. Right now you are loading the client side object/embed tags that then calls another PHP file that returns the name or value of your SWF. You need to combine the two files and return the value of the SWF on the first parse so the filepath is there once the object/embed tags are rendered on the client side.
I hope that makes sense, -- Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php