[SOLVED] link on ".swf" file

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

Post Reply
User avatar
ddragas
Forum Contributor
Posts: 445
Joined: Sun Apr 18, 2004 4:01 pm

[SOLVED] link on ".swf" file

Post by ddragas »

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>";
?>
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

I think the link needs to be in the flash movie itself...
User avatar
ddragas
Forum Contributor
Posts: 445
Joined: Sun Apr 18, 2004 4:01 pm

Post by ddragas »

thank you for reply
Post Reply