PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
ddragas
Forum Contributor
Posts: 445 Joined: Sun Apr 18, 2004 4:01 pm
Post
by ddragas » Sat May 28, 2005 12:21 pm
How to make link ("<a href=" . $some_page . "></a>") on ".swf" file
Code to output ".swf" file
Code: Select all
<?
echo "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=" . $width . " height=". $height . ">";
echo "<param name=\"movie\" value=" . $film . ">";
echo "<param name=\"quality\" value=\"high\"><param name=\"SCALE\" value=\"exactfit\">";
echo "<embed src=" . $film . " width=" . $width . " height=". $height . " quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" scale=\"exactfit\"></embed>";
echo "</object>";
?>
Burrito
Spockulator
Posts: 4715 Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah
Post
by Burrito » Sat May 28, 2005 12:52 pm
I think the link needs to be in the flash movie itself...
ddragas
Forum Contributor
Posts: 445 Joined: Sun Apr 18, 2004 4:01 pm
Post
by ddragas » Sat May 28, 2005 4:06 pm
thank you for reply