[thelist] Linking a flash file

Jason Lustig lustig at acsu.buffalo.edu
Sun Jun 23 19:24:01 CDT 2002


<<Did you try the onclick method?>>

Yeah, I've played around with it. This is the following code I tested:

<object onclick="window.location.href='http://www.google.com/';"
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0
,0" id="dishtech1" width="468" height="60">
  <param name="movie" value="movie1.swf">
  <param name="quality" value="high">
  <param name="bgcolor" value="#FFFFFF">
  <embed name="ad" src="movie1.swf" quality="high" bgcolor="#FFFFFF"
    type="application/x-shockwave-flash" width="468" height="60"

pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
Version=ShockwaveFlash">
  </embed>
</object>



... and it didn't work. I clicked, but nothing happened. Am I supposed to
put the onclick in the <embed> tag? I tried that and it didn't work
either...

--Jason




More information about the thelist mailing list