mr dobalino
09-13-2009, 11:18 PM
Hi,
Can anyone tell me how to disable the 'hotspot' of an embedded swf file?
I would like the following swf to be non-clickable.
http://www.web-design-queenstown.co.nz/clients/gomilford/
As you can see, when you click on the slideshow, it stops and turns to a white block.
Thanks
Eye for Video
09-15-2009, 01:00 AM
Yes, go back to the .fla file and remove the getURL.
If you can’t do that, then you’ll need to use a combination of HTML and CSS to “cover over” the <div> containing the Flash. This in effect, blocks the clickable part of the Flash.
First, be sure that your Flash has a window mode, like “opaque”, like yours does, but that’s a critical part.
<param name="wmode" value="opaque"/>
Second, create a transparent .png and place it in a <div> absolutely positioned over the top of the <div> holding the Flash. You can do this in PhotoShop by creating a .png of any color, and then setting opacity to 0%. Then put that image in a <div> over the Flash. Here is a simple test of the CSS I used to test this process.
<style type="text/css">
#flash {
position:absolute;
left:0px;
top:0px;
z-index:0;
}
#png {
position:absolute;
left:0px;
top:0px;
z-index:10;
}
</style>Best of luck to ya!
Eye for Video
www.cidigitalmedia.com