Skip to main content
Participant
April 14, 2016
Question

Adobe Air SDK bug---StageVideo

  • April 14, 2016
  • 1 reply
  • 277 views

Hi at all,

I'm using starling and StageVideo to play .MP4 in 2 different Page of my Adobe Air iOS/Android App.

I'm trying to disable/make invisible Stage3D before starting Video:

MyAPP.singleton.stage3D.visible = false;

// play with StageVideo

// some code to play Video

// ---

// ---

this.onFinishPlay = function (e)

{

   // Go to Home Page

  // Re Enable Stage3D

MyAPP.singleton.stage3D.visible = true; // i see Stage3D black!

}

Basically, i use Stage3D.visible to make Starling invisible and visible.

And it work!!!! But when i use StageVideo than Starling show me an BlackScreen when i came back into Home 😞

Also The flash become not transparent,and I want to know how to make it transparent.

Anyone can help us?

This topic has been closed for replies.

1 reply

Colin Holgate
Inspiring
April 14, 2016

I imagine both are using GPU memory, and all your Stage3D textures will be lost. One way to force a reload is to set the stage quality. Like:

stage.quality = stage.quality;

Participant
April 14, 2016

Thank you very much,I will try it.