Skip to main content
markc888
Inspiring
July 14, 2011
Answered

StageWebView

  • July 14, 2011
  • 8 replies
  • 2341 views

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 has been closed for replies.
Correct answer relaxatraja

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
July 31, 2012

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/

Inspiring
July 31, 2012

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/

relaxatraja
Inspiring
July 15, 2011

Yes still you can add items

markc888
markc888Author
Inspiring
July 15, 2011

Do you have an example of how to do this?

Thanks,

Participating Frequently
July 21, 2011

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