Member Offer
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can anyone tell me how to make this swf transparent?

Discussion in 'Animation, Motion Design & Film Making' started by bamme, May 22, 2010.

  1. bamme

    bamme Senior Member

    Hi all

    I have a swf on this page:

    Winning Health Solutions

    I know that it is able to be made transparent, because with the previous code i embedded it with it was, however the previous code i used was bulky and not the best SEO wise. I am using swfobject at the moment:
    HTML:
    
        <script type="text/javascript">
    
    swfobject.embedSWF("/Winning_small.swf", "logo", "156", "100", "9.0.0", "", params);
    </script>
    
    
    I was advised to try this:
    HTML:
    <script type="text/javascript">
    params.wmode = "transparent";
        swfobject.embedSWF("Winning_small.swf", "logo", "156", "100", "9.0.0");
        </script>
        
    
    And it didnt work.. it just sorta stops displaying the swf.. has anyone got any ideas?

    ** ive now swapped it for a different swf with a background the same as the gradient background of that section of the page.. but as you can see if you look, there is still black at the bottom and top
     
  2. glenwheeler

    glenwheeler Senior Member

  3. bamme

    bamme Senior Member

    hi glen! sorry i didnt reply this, have locked myself out of df for quite a while!! thanks for the message though :)
     
  4. zap

    zap Junior Member

    Try this...
    HTML:
    <script type="text/javascript">
        var fo = new FlashObject("Winning_small.swf", "logo", "156", "100", "9.0.0");
    fo.addParam("wmode", "transparent");
    		fo.write("flashcontent");
        </script>
     
  5. BenJonesDesign

    BenJonesDesign Active Member

    If you're in Dreamweaver you can also just right click the swf, click parameters, create new parameter, Parameter = wmode Value = transparent, now click ok and all should be well.
     
  6. bamme

    bamme Senior Member

    Ah I really didn;t know you could do that using Dreamweaver! Thankyou for that tip :)
     
  7. glenwheeler

    glenwheeler Senior Member

    hope you managed to get it work Emma!
     

Share This Page