...

SWF Movies as Hyperlinks

optimism_
05-10-2003, 06:13 PM
hi.
How can i make it so that the entire .swf movie becomes a hyperlink. Ive tried surrounding the <object> and <embed> tags supplied by Flash with a hyperlink tag, but it does not seem to affect the movie itself, only the text arround it

optimism_

scroots
05-10-2003, 07:51 PM
you could possibley place it between a set of <span> tags and have an onlcick event for the span tags and a little javascript to redirect.

sound any good?

scroots

ionsurge
05-11-2003, 10:58 AM
Couldn't an link (<a>) tag placed outside the embed tags work?


But I am pretty certain that scroots method will work.

optimism_
05-11-2003, 12:17 PM
i did already say that i had tried surrounding the generated code with < a > tags and that it didnt work.

and scroots, your code doesnt seem to work either, unless ive got it wrong.


<span onClick="window.open('http://www.gillard.plus.com')">
<embed src="resources/images/mcg.swf" width="128" height="50"></embed>
</span>

optimism_
05-12-2003, 09:18 PM
hi again

i have tried all of your suggestions, and included an onClick event in the object tag as well. None of them work.
Surely there must be a way to make flash files link - isnt flash supposed to be used for making banner ads among other things?

optimism_

whackaxe
05-13-2003, 03:55 PM
using flash MX make a button over the whole stage and make it open a new window with the on click


P.S for any one old enough round here...i'm back :D



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum