Skip to main content
March 4, 2012
Answered

Transparent background instead of color for stage

  • March 4, 2012
  • 1 reply
  • 21655 views

Is there a way to set the background color for the stage to transparent instead of a color? I only see color as options when clicking in property manager for the background.

    This topic has been closed for replies.
    Correct answer adninjastrator

    Do you mean transparent while designing in Flash or after you publish the .swf to use on a Web page?

    On the Web page you add the parameter wmode transparent to the embed code to give the stage a transparent background.

    <param name="wmode" value="transparent" />

    Best wishes,

    Adninjastrator

    1 reply

    adninjastrator
    adninjastratorCorrect answer
    Inspiring
    March 4, 2012

    Do you mean transparent while designing in Flash or after you publish the .swf to use on a Web page?

    On the Web page you add the parameter wmode transparent to the embed code to give the stage a transparent background.

    <param name="wmode" value="transparent" />

    Best wishes,

    Adninjastrator

    March 5, 2012

    Either one, but after I publish for sure. I found the wmode command in the publish window, but that didn't work. In the stage properties section, there is a background setting there. You can only select a color and not a transparent background. I had a "background" layer, which I deleted and tried that, but still the background color showed in playing the flash item. It seems that background setting for the stage is my problem, and I don't see how to change that to transparent. I'm sure I'm missing something but sure could use some help.

    sinious
    Legend
    March 5, 2012

    By default there is no background color with wmode="transparent" set. You may just be a victim of browser cache. Clear your cache as flash has a nasty habit of staying in there a while. What that does is tell the browser that you should be able to see through the flash piece in the browser.

    Mind you, flash doesn't always play nicely in all browsers. Sometimes you expect content to render 'over' flash (drop-down menu or such) and the browser still shows the flash item 'over' the menu. This is normal.

    If you're exporting a projector, you cannot export a projector with a transparent background. You will need an extension to flash projectors such as MDM Zinc or Screentime mProjector (Zinc is preferred). They can export transparent projectors (as well as a ton more).

    Any time you load a SWF inside another, the background will ALWAYS be transparent as well. The document background property has absolutely no effect on this. If you want a background you explicitly have to put a background layer in your SWF to have one.