www.webdeveloper.com
Results 1 to 3 of 3

Thread: Disable 'hotspot' on embedded swf

  1. #1
    Join Date
    Jun 2009
    Posts
    20

    Disable 'hotspot' on embedded swf

    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....nts/gomilford/

    As you can see, when you click on the slideshow, it stops and turns to a white block.

    Thanks

  2. #2
    Join Date
    Feb 2008
    Location
    NW Washington State
    Posts
    1,856
    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.
    Code:
    <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.
    Code:
    <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

  3. #3
    Join Date
    Jun 2009
    Posts
    20
    great thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles