Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

backgroundAlpha to 0 in flash cs6

Community Beginner ,
Aug 20, 2013 Aug 20, 2013

I am trying to load a Starling(stage3d) game.swf into a non Starling wrapper.swf.  I can get the game.swf to load and from trace commands can see that it's there but I can't see it visually.

From what I understand the stage3d is behind the background of the stage.

I've seen solutions posted saying that backgroundAlpha needs to be set to 0.  I am using flash cs6 and can't figure out, if this is the solution, how to set the backgroundAlpha to 0.

Is there a way to set backgroundAlpha to 0?

TOPICS
ActionScript
600
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 21, 2013 Aug 21, 2013
LATEST

Only in a couple instances have I seen transparent possible. If this is embedded in a webpage you usually set the wmode parameter to "transparent" (see here) and it will be transparent. However as you know, Starling requires the wmode to be set to "direct" to work so you can't do that.

Otherwise enhancers like Zinc or mProjector could turn SWFs into more functionally enhanced versions of a projector and have a transparent property you can trigger to remove the chrome from the projector overall.

Otherwise I am unaware of any metadata or programmatic ways to set the actual background color of the stage to transparent. The stage does extend DisplayObject so it has an alpha property but that'd hide everything on the display list.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines