O'Reilly logo

Flash Development for Android Cookbook by Joseph Labrecque

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using StageWebView to load ads within a Flex mobile project

As StageWebView instances are not part of the DisplayList, we could have a perceived problem when it comes to using it within a ViewNavigatorApplication. The main problem being that the StageWebView will always remain an overlay above all other objects, and that it will not be able to transition along with other items within a particular view. In this recipe, we will examine this and demonstrate some techniques for coping with the inordinate behaviour of the StageWebView object.

Getting ready…

For this example, we'll be using Google AdSense Mobile content | Ad units. You will need to sign up for an AdSense account at https://www.google.com/adsense/ and configure a Mobile content Ad unit: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required