This may be an incredibly dumb question, but I can't for the life of me figure this out:
I have a bunch of Flash .SWF files embedded in my page, how do I hyperlink them? I tried putting an <a href around them, tried putting them in a hyperlinked DIV, nothing works.
No, I do not have access to the FLA for the SWF's nor do I have the desire to do an Onlick event in the Actionscript itself.. just a simple hyperlink.. I must be absorbing too much monitor radiation this one should be simple!
The .swf's are small previews of for-sale MPJEG and MOV files, so it's important that they are not just static GIF's: they are the product preview.
Asking the original creators to hyerlink inside the SWF is not an option, as the link is a dynamic DB URL:i.e. default.asp?product=2328098.
Is there no way to have an OnClick event on a div in this sense and have it perform the hyperlink? As mentioned,I tried doing a <div onlick=a href type link.. but there was no effect. Is there a way to set the Z-index of a DIV above the SWF file (if this is the problem)?
Unfortunatley you cant get any div above the layer of the swf - belive me I have tried this before
is it out of the question to have text and or a background image as a link above/below/left or right of the swf..? probably a crap solution I know, but I am not sure there is a straight answer.
Or just another thought (although it is messy) have you tried layering another (invisible background) swf over the top using CSS positioning and z-indexing - and put a link in there.... mmmn what a terrible messy idea :-(
Um actually just re-read your last post - you can use dymanic links..
Get the people who made the swf to add functionality so that the swf will except the URL as a variable, that way you wont need to edit the .fla and re-publish the swf, more importantly however the URL can be fed into the swf dynamically as the page loads