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

Thank you in advance for your help.
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.

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...  ;)


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
Modify your
<param name="wmode" value="opaque" />
<param name="wmode" value="transparent" />

Try the example below
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<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;
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>

<table width="185" border="0" align="center" cellpadding="0" cellspacing="0">

    <td><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="600" height="451">
        <param name="movie" value="" />
        <param name="quality" value="high" />
        <param name="wmode" value="transparent" />
        <param name="swfversion" value="" />
        <!-- 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="" width="600" height="451">
          <param name="quality" value="high" />
          <param name="wmode" value="transparent" />
          <param name="swfversion" value="" />
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
            <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>

            <p><a href=""><img src="" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
          <!--[if !IE]>-->
    <td align="right" class="tabletext">ENTER</td>

<script type="text/javascript">

Open in new window

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>

Open in new window

Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Chris StanyonWebDevCommented:
Oops. Sorry. Wrong post :(
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:
mattybrownAuthor Commented:
Thank you. Both solutions seemed to work.
FYI, transparent wmode 'could' slow down your Flash movie, so it's best to avoid using it if possible...

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)
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.