...

View Full Version : embed on object



twomt
06-30-2007, 07:21 PM
I've embedded a flash movie on the site in an object as follows :


echo ("<object width=\"250\" height=\"200\">
<param name=\"movie\" value=\"target.swf\">
<embed src=\"images/swf/target.swf\" width=\"250\" height=\"200\" loop=\"false\"></embed>
</object>");

Now, once this flash file has played, I want the object to kind of disappear and not leave a "box" behind with the latest scene of the movie.

Is there an easy way of doing this?

_Aerospace_Eng_
06-30-2007, 07:49 PM
Not with PHP. You would need to put something in the flash file that calls a javascript function once its done playing to hide it by changing its style properties.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum