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
_______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php