Quantcast
Channel: Adobe Community : All Content - AIR Development
Viewing all articles
Browse latest Browse all 2954

Using a ANE containing a GLSurfaceView with a Loader

$
0
0

I have created an ANE (for Android) so I can use some external java code I have written. This code is used to display OpenGL graphics, and it also creates a GLSurfaceView on which to display this.

 

This setup works fine, and I can call the ANE to load up the GLSurfaceView from my Air application without a problem. However, I  want to use Air's Loader class to display a SWF file in front of the GLSurfaceView. I have managed to get this to work, but the background of the Loader view is always white - I assume this is because the 'background' is actually the root SWF. I really want this background to be transparent so it will show my GLSurfaceView. Is there anyway to accomplish this? I have tried setting background transparencies on all the views in the ANE, setting alpha's on the views in Air and setting 'transparency' to 'true' in my Air XML, but with no success.


Viewing all articles
Browse latest Browse all 2954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>