Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Make embedded Flash a link?


  • From: javascript@xxxxxxxxxx (Trey H)
  • Subject: [Javascript] Make embedded Flash a link?
  • Date: Fri, 31 May 2002 22:19:08 +0000

The only way I can think of to do this correctly is to set the link in the 
actual Flash animation file.  If you cannot do this, then the only way that 
would work is probably the onBlur command in the body tag.  The only problem 
with this is that if the user unfocussed the window in another way (like 
clicking outside it or on another animation) the onBlur will still set off.  
If it comes down to you needing to use the onBlur command this is what it 
should look similar to this:
<body onBlur="location.href='http://www.yahoo.com'">

I hope this was of use to you and I highly recommend trying to alter the 
Flash animation to link first.

====================================
Trey: tutwabee@xxxxxxxxxxx
Get free JavaScripts at the Blue Dragon!
Just go to:
http://www.websiter.biz
====================================
Make money by being online:
http://www.degoo.com/index.php?refid=tutwabee
===================================
Earn free traffic for your website easily:
http://tools.addme.com/servlet/popview?id=52260
====================================



>From: "Peter Brunone" <peter@xxxxxxxxxxx>
>Reply-To: javascript@xxxxxxxxxx
>To: <javascript@xxxxxxxxxx>
>Subject: [Javascript] Make embedded Flash a link?
>Date: Fri, 31 May 2002 11:48:43 -0500
>
>
>	Slightly off topic, but this is the best place I know to ask.
>
>	I've been handed a Flash (.swf) file, and asked to put it in a page and
>make it link to something.  I assumed I could just use the standard EMBED
>tag and enclose it in <a href="blah"> </a>, but this isn't producing a 
>link.
>I tried an onClick handler too, but to no avail.
>	Anybody got a clue to hand out?
>
>Thanks,
>
>Peter
>
>_______________________________________________
>Javascript mailing list
>Javascript@xxxxxxxxxx
>https://lists.LaTech.edu/mailman/listinfo/javascript




====================================
Trey: tutwabee@xxxxxxxxxxx
Get free JavaScripts at the Blue Dragon!
Just go to:
http://www.websiter.biz
====================================
Make money by being online:
http://www.degoo.com/index.php?refid=tutwabee
===================================
Earn free traffic for your website easily:
http://tools.addme.com/servlet/popview?id=52260
====================================


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx