문제

Using this class to wrap a StageWebView instance order to add it to the displaylist

http://soenkerohde.com/2010/11/air-mobile-stagewebview-uicomponent/

However, no matter what I try, I am still unable to control the alpha or visibility of the StageWebView instance.

Does anyone know how to do this?

도움이 되었습니까?

해결책 2

You can control visibility by setting it = null, but its an on-off option. No change in alpha is possible

다른 팁

You can't. And you can't even place some DisplayObject over StageWebView, and animate It's alpha to imitate appearance.

It is possible to display a web page with alpha by rendering the StageWebView to a Bitmap then draw the bitmap on screen with the required alpha.

Of course, no user interactions are possible while the view is displayed this way. But when you just want to create "show / hide" animations or you don't need the user to interact with the StageWebView, then it's fine.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top