Remove flash of white as an swf file loads on a web page

I am new to embedding flash on a web page. Is it possible to remove the flash of white that you see as the swf file loads prior to an animation playing on a web page?

Please see http://www.davidwilliams-bulkeley.com/dev/home-final-with-flash.html

Thank you in advance for your help.
mattybrownAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CyanBlueCommented:
Try setting the background of the stage to black and see if that sorta solves the problem...  You can do that from the Properties panel or Modify -> Document menu...  ;)

CyanBlue
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
remorinaCommented:
Modify your
<param name="wmode" value="opaque" />
With
<param name="wmode" value="transparent" />

Try the example below
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
	background-image: url(images/bg.jpg);
	background-repeat: repeat;
}
.tabletext {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #999;
	font-weight: bold;
}
-->
</style>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
</head>

<body>
<p>&nbsp;</p>
<table width="185" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>

    <td><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="600" height="451">
        <param name="movie" value="http://www.davidwilliams-bulkeley.com/dev/flash/signature-wb2.swf" />
        <param name="quality" value="high" />
        <param name="wmode" value="transparent" />
        <param name="swfversion" value="8.0.35.0" />
        <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don¿t want users to see the prompt. -->
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
        <!--[if !IE]>-->

        <object type="application/x-shockwave-flash" data="http://www.davidwilliams-bulkeley.com/dev/flash/signature-wb2.swf" width="600" height="451">
          <!--<![endif]-->
          <param name="quality" value="high" />
          <param name="wmode" value="transparent" />
          <param name="swfversion" value="8.0.35.0" />
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
          <div>
            <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>

            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
          </div>
          <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
    </object></td>
  </tr>
  <tr>
    <td align="right" class="tabletext">ENTER</td>

  </tr>
</table>
<script type="text/javascript">
<!--
swfobject.registerObject("FlashID");
//-->
</script>
</body>
</html>

Open in new window

0
Chris StanyonWebDevCommented:
You could also use iframes instead of a frameset, and set your links to target the iframe,

<a href="page2.html" target="myFrame">Page 2</a>

<iframe src="page1.html" name="myFrame" style="width:400px; height:300px;">
  <p>Your browser does not support iframes.</p>
</iframe>

Open in new window

0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Chris StanyonWebDevCommented:
Oops. Sorry. Wrong post :(
0
IqAndreasCommented:
In addition to CyanBlue's tip about setting the background color, if your animation starts getting larger, it will take longer for it to load. Then you are going to need some sort of preloader to load in the SWF, displaying the percentage done etc.

The best way to do a preloader in AS3 is using the Loader class to bring in an external SWF file. Here are a few guides to help you get started:
http://doogog.com/actionscript-3-external-preloader.html
http://www.gotoandlearn.com/play?id=85

http://www.google.com/search?q=as3+external+preloader
0
mattybrownAuthor Commented:
Thank you. Both solutions seemed to work.
0
CyanBlueCommented:
FYI, transparent wmode 'could' slow down your Flash movie, so it's best to avoid using it if possible...

CyanBlue
0
mattybrownAuthor Commented:
Thank you. I tried the 'transparent' mode and it seems to play okay. But I take your point. I also set the backgound to black so I will try it with only the background set to black to see if it makes any difference.


(Link below is both transparent and black background)

http://www.davidwilliams-bulkeley.com/dev/home-final-with-flash2.html
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.