how do i make my flash a link

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
adsegzy
Forum Contributor
Posts: 184
Joined: Tue Jul 28, 2009 9:26 am

how do i make my flash a link

Post by adsegzy »

I have a flash /animation which i want to make has a link to another page.am using macromedia dreamweaver 8, the generated code for the flash is
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shoc ... n=7,0,19,0" width="150" height="112" title="Place Advert">
<param name="movie" value="images/advert.swf" />
<param name="quality" value="high" />
<embed src="images/advert.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="150" height="112"></embed>
</object>
i tried adding <a href='#'> to the beginning of the code and </a> to the end of the code but still does not link to the page i wanted, what can i do
oscardog
Forum Contributor
Posts: 245
Joined: Thu Oct 23, 2008 4:43 pm

Re: how do i make my flash a link

Post by oscardog »

Fairly sure it's impossible to add a link to an object. You will need to open up the .fla file and add in some actionscript to make it open the link when clicked. If you're linking to an external file (like youtube, for example) then there is no way of making it link.
Post Reply