A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Putting a Flash pop up with shadow over html design

  1. #1
    Junior Member
    Join Date
    Feb 2002
    Posts
    14

    Putting a Flash pop up with shadow over html design

    Hello everyone.
    I'm building a site with mostly all HTML and on the right is some Flash navigation. The question I have, is there a way to build a pop up window with a shadow over the main body of html?

    If so can someone help me out or tell me how to do it.

    my email is ccarrillojr@yahoo.com if anyone can help

    thanks

  2. #2
    Dear ccarrillojr, I think i cant get ur point??? do you want to open a new popup window, or you only want to popup flash

    like today, i visited www.cartoonnetwork.com and in the main page, some cartoon walks in and out. that is flash, like if you are seeking a floating & Transparent flash movie, try this code if it works



    <script language="JavaScript" type="text/javascript">
    <!--

    var browserPlat = navigator.platform;
    var finalWidth = document.body.offsetWidth/2;


    if (browserPlat.indexOf('Mac') == -1) {
    if (!document.layers) {
    document.write('<div id="flashAd" style="position:absolute; z-index:100; top: 6;"><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="800" height="800" name="ad"><PARAM NAME=wmode value="transparent"><param name="movie" value="movie.swf "><param name="quality" value="high"></object></div>');
    if (finalWidth <=400) {
    finalWidth = 0;
    flashAd.style.left = finalWidth;
    } else {
    flashAd.style.left = (Math.round(finalWidth)-417);
    }
    }
    }

    //-->
    </script>


    you can also use this script to make a transparent falsh movie

    Reply if this is/isn't that u want

    Regards, Muhammad Waqas

  3. #3
    Junior Member
    Join Date
    Feb 2002
    Posts
    14
    Thanks Muhammad,
    Yeah thats kind of how I want it to work.
    So if I put that in will I be able to control it with buttons or will it just animate on it's own?

    Thanks for your help again.

    Cliff

  4. #4
    ofcource, it works just as a flash movie dose

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center