flash banner pointing to an external link

  • sycamorex
  • Born
  • Born
  • sycamorex
  • Posts: 2
  • Loc: London

Post 3+ Months Ago

Hi, I'm new to flash. I am helping my friend with a website.
He was given a flash banner to include on the website. The code I put is as follows:

Code: [ Select ]
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="640" height="90" id="lloyds728x90" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="flash/lloyds728x90.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="flash/lloyds728x90.swf" quality="high" bgcolor="#ffffff" width="640" height="90" name="flash/lloyds728x90" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
  1. <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="640" height="90" id="lloyds728x90" align="middle">
  2. <param name="allowScriptAccess" value="sameDomain" />
  3. <param name="movie" value="flash/lloyds728x90.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="flash/lloyds728x90.swf" quality="high" bgcolor="#ffffff" width="640" height="90" name="flash/lloyds728x90" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
  4. </object>


Now I'm supposed to link this banner to an external address. How can I do it? I was trying to put everything in <a href="........> flash </a> but it doesn't work.
any help greatly apreciated
thanks
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Belk Media Group
  • Graphic Monk
  • Professor
  • User avatar
  • Posts: 778
  • Loc: In the heart of California, Fresno.

Post 3+ Months Ago

You can't do it, unless, you have the Flash Application. The banner has to be programmed internally to link to an address. As you have already found out, trying to link it like you would a jpg just will not work.

Here's the actionScript you'll need to link the banner. Add this to the button.
Code: [ Select ]
on (release) {
getURL ("http://yourAddress.com", _blank);
}
  1. on (release) {
  2. getURL ("http://yourAddress.com", _blank);
  3. }
  • sycamorex
  • Born
  • Born
  • sycamorex
  • Posts: 2
  • Loc: London

Post 3+ Months Ago

Thanks Origin

Sorry for being a complete newbie (because that's who I am when
it comes to flash) but where exactly am I supposed to insert
the code you wrote?

Inside the code I got? At the beginning of it? at the end?

thanks, and appreciate your time and help
  • Belk Media Group
  • Graphic Monk
  • Professor
  • User avatar
  • Posts: 778
  • Loc: In the heart of California, Fresno.

Post 3+ Months Ago

You need to place that code inside the actionScript window. Make sure you have selected the button. The script is actually applied to the button and not to a frame.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 16 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.