Jump to content

Recommended Posts

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.