feathersui / feathersui-starling

User interface components for Starling Framework and Adobe AIR
https://feathersui.com/learn/as3-starling/
Other
915 stars 386 forks source link

How to use Iris transition properly? #1728

Closed subdan closed 6 years ago

subdan commented 6 years ago

Look at the video. I use Iris transition to move from one screen to another. But I have an issue. Plus Button and List doesn't masked (Iris mask doesn't work). When Iris transition ends the Button and List disappears instantly. How to fix this issue?

https://drive.google.com/open?id=1wZYrsS0JU0ju8RmCveWq-GXkf7nERtvu

joshtynjala commented 6 years ago

The List has its own mask that might be conflicting with the mask used by Iris. Try setting clipContent to false on the List.

subdan commented 6 years ago

It doesn't help list.clipContent = false;

joshtynjala commented 6 years ago

Based on the video, it looks like the mask is working on some places, but not others. Is that right? So I can assume that you enabled depthAndStencil in your AIR application descriptor?

subdan commented 6 years ago

Yes, masking working on some places. Yes, I enabled depthAndStencil.

joshtynjala commented 6 years ago

You might also need to set clipContent in other places too. For instance, if you're using PanelScreen, that also has a clipContent property.

subdan commented 6 years ago

I disabled clipContent for PanelScreen and it did not helps.

joshtynjala commented 6 years ago

Did you disable it on both the PanelScreen and the List at the same time?

subdan commented 6 years ago

Yes.

joshtynjala commented 6 years ago

Are you using any filters?

subdan commented 6 years ago

It is @marpies theme. I think yes.

joshtynjala commented 6 years ago

I seem to recall that filters can conflict with masking too.

subdan commented 6 years ago

Ok, thanks for explanation.