Skip to main content
Participant
January 20, 2012
Question

StageWebView layering

  • January 20, 2012
  • 1 reply
  • 1547 views

Hi

I have a requirement to load an HTML 5 webpage into an iOS AIR app and overlay a video component on top of it.  I understand that this isn't really possible given that StageWebView is outside of the display list and will appear on top of my display list objects.  I could take a snapshot of the StageWebView and hide it, but there are elements in the HTML page which are interactive - doing the snapshot will prevent the interaction.  I wondering if anyone has an elegant solution to this problem?  Could I somehow get an instance of iOS Safari and include that in someway (I thought I saw something todo with native maps in AIR iOS a month or two ago)?  Alternatively could I write a native iOS app and load my AIR app into that? 

Thanks for any thoughts.

Ben

This topic has been closed for replies.

1 reply

Colin Holgate
Inspiring
January 20, 2012

StageWebView is the same as an instance of Safari. I believe you can set the html of the web view, so could you play the video as part of the HTML5, instead of being FLV on top of HTML5?

Participant
January 20, 2012

I wish I could but unfortunately the video has to be handled in AS as it's in FLV and we are doing a bunch of things to the stream.

February 3, 2012

If it is so much of an requirement, you can use the Video component at the cost of performance if the video length is few minutes.