Skip to main content
Inspiring
February 20, 2013
Answered

Black background in native Display List elements overlayed with Starling

  • February 20, 2013
  • 6 replies
  • 1546 views

Hello, I'm having an issue in the iPad, where all native DisplayObjects are shown with an opaque black background instead of being transparent while being displayed over Starling graphics using "nativeOverlay". This doesn't happen in the PC, in ADL, only in the iPad. Does anyone know what's causing this?

I also tested in Android, and this doesn't happen. So this is a problem only in iOS. Is this a known problem? Surely someone has tried before to overlay Flash display objects over Starling display objects and had this issue?

Any possible fixes or workarounds for this?

Thanks!


This topic has been closed for replies.
Correct answer OMA2k

For now I haven't found a solution other than not overlaying DisplayObjects. I've contacted an Adobe developer about this bug.

What ANEs / SWCs are you using? Maybe there is something in common in our applications.

Meanwhile, please vote this bug to try and get it fixed:

https://bugbase.adobe.com/index.cfm?event=bug&id=3511693

Thank you!


Hello, I just found the culprit of this annoying bug.

It's StageVideo! If you play any video with StageVideo BEFORE showing any Stage3D/Starling stuff, then you'll get this behaviour (native DisplayObjects with opaque background over Starling).

This is a bug which happens to be almost 1 year old!

Please, check this out and vote to try to get this finally fixed for good!!

https://bugbase.adobe.com/index.cfm?event=bug&id=3186454

6 replies

Colin Holgate
Inspiring
February 20, 2013

Out of curiosity, do regular Flash timeline things also show a black background? I've done a lot of normal display list things on top of Starling, but I haven't needed to use Starling's nativeOverlay to do that.

OMA2kAuthor
Inspiring
February 21, 2013

Adding a Sprite directly to the stage instead of using the nativeOverlay yields the same results. All display object still have a black opaque background. Why?

My iOS version is 6.1.2, which I believe it's the latest.