flash banner pointing to an external link

  • sycamorex
  • Born
  • Born
  • No Avatar
  • Joined: Aug 19, 2007
  • Posts: 2
  • Loc: London
  • Status: Offline

Post August 19th, 2007, 10:45 am

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
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post August 19th, 2007, 10:45 am

  • Belk Media Group
  • Graphic Monk
  • Professor
  • User avatar
  • Joined: Jan 12, 2005
  • Posts: 778
  • Loc: In the heart of California, Fresno.
  • Status: Offline

Post August 19th, 2007, 3:28 pm

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. }
http://www.JamesBelk.com Stay Tuned for the new era in Belk Media Design
  • sycamorex
  • Born
  • Born
  • No Avatar
  • Joined: Aug 19, 2007
  • Posts: 2
  • Loc: London
  • Status: Offline

Post August 21st, 2007, 3:15 am

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
  • Joined: Jan 12, 2005
  • Posts: 778
  • Loc: In the heart of California, Fresno.
  • Status: Offline

Post August 21st, 2007, 10:42 am

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.
http://www.JamesBelk.com Stay Tuned for the new era in Belk Media Design

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 33 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.