On Nov 23, 2015 11:03 AM, "Alex Harui" <[email protected]> wrote:
>
>
>
> On 11/23/15, 10:25 AM, "[email protected] on behalf of OmPrakash
> Muppirala" <[email protected] on behalf of [email protected]> wrote:
>
> >I don't know if there is a recommended way though.  What exactly are you
> >looking for?
>
> Isn't there some sort of trick you have to use to see Stage3D in a Flex
> app?

Yes, since Stage3D is drawn behind the display list, we need to, at the
minimum, set the backroundAlpha of the top level  Application to 0.  And if
the Stage3D content needs to live inside a container, it's backgroundAlpha
should be set to 0 as well.

On top of that, since the UIComponent's layout mechanism does not affect
Stage3D content, all layout operations must be done on the Stage3D content
as well.

I have wrapped my Stage3D content inside a UIComponent, which has the code
to handle this.

I think that is pretty much it.

Thanks,
Om

>
> -Alex
>

Reply via email to