aniesh82 Posted March 14, 2007 Share Posted March 14, 2007 Hello I have uploaded many swf (flash file) and stored their names to tables . From table, I can retrieve the swf file name. These swf files are banners. When someone clicks on the swf banner, it will directs to its destination url. How can I add hyperlink to swf files. I found code from net to include swf files to html. The code is below: ## $image_name, $width, $height. will come from table. <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" WIDTH="'.$width.'" HEIGHT="'.$height.'" id="MyMovieName" > <PARAM NAME=movie VALUE="images/upload/'.$image_name.'"> <PARAM NAME=quality VALUE=high> <EMBED src="images/upload/'.$image_name.'" quality=high WIDTH="'.$width.'" HEIGHT="'.$height.'" NAME="MyMovieName" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> </EMBED> </OBJECT> Using this code I can show swf files. But it doesn ot give any idea about , including a hyper link. Can someone help me ? Regards Aniesh Joseph Link to comment https://forums.phpfreaks.com/topic/42660-iclude-hyperlink-to-swf-file/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.