NYCPHP Meetup

NYPHP.org

[nycphp-talk] How can I include a hyperlink to swf file ?

Aniesh joseph anieshjoseph at gmail.com
Wed Mar 14 08:07:32 EDT 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070314/66ad8177/attachment.html>


More information about the talk mailing list