Forum Replies Created

  • Clomper Van housen

    March 17, 2010 at 2:58 pm in reply to: Full Page Overlay – FAO Abraham

    Another way around the transparency issue is to use a 50% opaque PNG as your div background image. Replace this:

    <style>
    #displaybox {
    z-index: 10000;
    filter: alpha(opacity=50); /*older IE*/
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50); /* IE */
    -moz-opacity: .50; /*older Mozilla*/
    -khtml-opacity: 0.5; /*older Safari*/
    opacity: 0.5; /*supported by current Mozilla, Safari, and Opera*/
    background-color:#000000;
    position:fixed; top:0px; left:0px; width:100%; height:100%; color:#FFFFFF; text-align:center; vertical-align:middle;
    }

    With this:

    <style>
    #displaybox {
    z-index:10000;
    background-image:url(‘images/img_50grey.png’);
    background-repeat: repeat;
    position:fixed; top:0px; left:0px; width:100%; height:100%; color:#FFFFFF; text-align:center; vertical-align:middle;
    }

    Where “img_50grey.png” is a black 1×1 pixel png with the transparency set to 50%. Text and images that you put in ‘innerHTML’ will no longer inherit the transparency of the displaybox.

  • Clomper Van housen

    March 17, 2010 at 2:40 pm in reply to: Full Page Overlay – FAO Abraham

    Abraham, I have been trying to create a close button in my swf that will close the overlay. This script

    on (release){
    getURL(“javascript:clicker()”);
    }

    is not working. I just get a blank page that says “false” on it. You would be my hero if you could let me know a way to close the overlay from flash. Thanks!

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy