Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Senior Member bamme's Avatar
    Join Date
    Aug 2009
    Posts
    319
    Member #
    19662
    Liked
    1 times
    Hi all, i embedded a swf into a page recently. I got it outsourced as i dont know my [COLOR=blue ! important][COLOR=blue ! important]flash[/COLOR][/COLOR] but the guy sent it to me like this..


    Code:
    </head>
      <body bgcolor="#000000">
        <center>
          <object
            classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
            codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
            id="Winning_small"
            width="156" height="98"
          >
            <param name="movie" value="Winning_small.swf">
            <param name="bgcolor" value="#000000">
            <param name="quality" value="high">
            <param name="wmode" value="transparent">
            <param name="seamlesstabbing" value="false">
            <param name="allowscriptaccess" value="samedomain">
            <embed
              type="application/x-shockwave-flash"
              pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
              name="Winning_small"
              width="156" height="98"
              src="Winning_small.swf"
              bgcolor="#000000"
              quality="high"
              wmode="transparent"
              seamlesstabbing="false"
              allowscriptaccess="samedomain"
            >
              <noembed>
              </noembed>
            </embed>
          </object>
        </center>
      </body>
    </html>
    ..which didnt look great. so i used swfobject and now i have this:

    Code:
    <script type="text/javascript">
        swfobject.embedSWF("Winning_small.swf", "logo", "156", "100", "9.0.0");
        </script>
    
    </head>
    <body>
    <!-- Header -->
    <div id="header">
      <div class="shell">
        <!-- Logo -->
       <div id='logo'>
             <a href="http://www.winninghealthsolutions.co.uk" title="Gyms in Southampton - Winning Health Solutions"><img src="/css/images/gym-southampton-logo.jpg" height="100" width="156" alt="gym in southampton - Winning Health Solutions gym Southampton" /></a>
    
           </div>
    <!-- End Logo -->
    owever, the logo was then black in the background. which was really annoying, cause i'd asked for a transparent background and now i had a black one which didnt match the gradient of the header of the page.

    so i went back to the logo designer and i asked, he didnt know how to make the background transparent with this new code i've used. So, i asked him to make a new one with the gradient in the background. he did, and there are still black bits to the side of the logo..

    so i thought best to come to a knowledgeable place and ask - how do i set the background for this embedded swf as transparent??
    the page is here:

    http://ameliealden.com/winninghealth/

    thankyou so much!

  2.  

  3. #2
    Junior Member
    Join Date
    Apr 2010
    Location
    Queensland, Australia
    Posts
    25
    Member #
    21819
    I have found this website that should help you out.

    http://www.verticalmoon.com/tutorial...ansparency.htm


    Hope this helps!

  4. #3
    Junior Member
    Join Date
    Jun 2010
    Posts
    1
    Member #
    22209
    Thanks Lein for your help !


Remove Ads

Posting Permissions

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

Search tags for this page

background video swf
,

change swf background color

,
embed swf background color
,
embed transparent swf
,
how to change background colour of swf
,
how to embed flash with transparent background
,
set background color for swf
,
swf background color none
,
swf embed bgcolor
,
transparent background swf
Click on a term to search for related topics.
All times are GMT -6. The time now is 07:58 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com