on click swf embed help needed, newbie here

  • kadamsharad
  • Born
  • Born
  • kadamsharad
  • Posts: 2

Post 3+ Months Ago

hi, all
i was searching for how to hyperlink an embeded swf tag and i found this forum,
i m new to swf embed.

here is my code,

Code: [ Select ]
<OBJECT id="bannerFlash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" "path to macromedia .cab file#version=6,0,0,0" WIDTH="950" HEIGHT="250" ALIGN="" VIEWASTEXT>
<PARAM NAME="movie" VALUE="myfile.swf">
<PARAM NAME="quality" VALUE="high">
<PARAM NAME="bgcolor" VALUE="#000000">
<EMBED id="bannerFlash" src="myfile.swf" quality="high" bgcolor="#000000" WIDTH="950" HEIGHT="250" NAME="<%= strImage %>" ALIGN="middle" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromediadot com/go/getflashplayer"></EMBED></OBJECT>
  1. <OBJECT id="bannerFlash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" "path to macromedia .cab file#version=6,0,0,0" WIDTH="950" HEIGHT="250" ALIGN="" VIEWASTEXT>
  2. <PARAM NAME="movie" VALUE="myfile.swf">
  3. <PARAM NAME="quality" VALUE="high">
  4. <PARAM NAME="bgcolor" VALUE="#000000">
  5. <EMBED id="bannerFlash" src="myfile.swf" quality="high" bgcolor="#000000" WIDTH="950" HEIGHT="250" NAME="<%= strImage %>" ALIGN="middle" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromediadot com/go/getflashplayer"></EMBED></OBJECT>



what i want to do is , if someone clicks on the swf viddeo it should "_blank" to link.

i have just installed Adobe_Dreamweaver_CS5

thanks for your time.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1828
  • Loc: In the Great White North

Post 3+ Months Ago

wrap it with an <a> just like any other link? Or use a javascript onClick on the id "bannerFlash". Just a word of warning though. Both those methods will destroy any interaction that's built into the flash.
  • kadamsharad
  • Born
  • Born
  • kadamsharad
  • Posts: 2

Post 3+ Months Ago

graphixboy wrote:
wrap it with an <a> just like any other link? Or use a javascript onClick on the id "bannerFlash". Just a word of warning though. Both those methods will destroy any interaction that's built into the flash.


thanks a lot for ur reply.,,

but can u explain a little more, as i m dying to get it to work, its costing me $10 a day, i mean i m not actually loosing money , but i m not earning because of this.

i tried wrapping it with <a> but its not working , i would be grateful if u expalain me about javascript method. or i have even read about the transparent image overlay method but not sure how to do it.,

thanks for ur time.
  • suzie
  • Guru
  • Guru
  • User avatar
  • Posts: 1134
  • Loc: England

Post 3+ Months Ago

<a href="http://ozzu.com/">Ozzu</a>

Or

On click/ or on this frame etc 'go to' then put in your Hyperlink.

This would work in Swishmax so Flash should have similar actions.

HTH

S

Post Information

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