Skip to main content
markc888
Inspiring
Jul 14, 2011 3:10 PM UTC
Answered

StageWebView

Hi,

I'm currently working with AIR > iOS for iPad.

If I add a StageWebView to my stage and play a video in there, does anyone know if there is any way I can add something to the stage on top of the StageWebView?

Thanks,

Mark

This topic is closed to new replies. Start a new post to keep the conversation going.
relaxatraja
relaxatrajaCorrect answer
Inspiring
Jul 22, 2011 4:54 AM UTC

As Joe said, its true. but you can draw your stagewebview not to the stagewidth and stagehieght. so that you have the items to show up when you having the stagewebview. and still you can use the graphic and buttons there. For example using the button you can remove the stagewebview by setting the value to null.

8 replies

Inspiring
Jul 31, 2012 7:56 PM UTC

Actually there is a way to do this using an ANE... Check out this guys blog: http://lancelotmobile.com/blog/button-on-top-of-a-stagewebview/

Translate
Inspiring
Jul 31, 2012 10:39 PM UTC

I'm finding this ANE invaluable for video. Soooo much easier than dealing with stageWebView (once you start getting beyond the basics of SWV).

This will even let you put your own controls on top of the video.

http://darkredz.com/introducing-ios-uiwebview-and-videoplayer-native-extension-for-air-mobile/

Awesome support from Leng, too!

Demo video just release...

http://darkredz.com/demo-on-videoplayer-class-in-uiwebview-native-extension/

Translate
relaxatraja
Inspiring
Jul 15, 2011 8:48 AM UTC

Yes still you can add items

Translate
markc888
markc888Author
Inspiring
Jul 15, 2011 4:08 PM UTC

Do you have an example of how to do this?

Thanks,

Translate
Participating Frequently
Jul 21, 2011 10:40 PM UTC

The StageWebView displays above any items on the Flash display list, so you can't show Flash controls/graphics over the top.

Translate