-
I want to make the stage background of adobe air transparent in android, position another view behind it and use this background, is this possible? For example, in Flash, we could put html elements behind the background by making it transparent because it was below. <object width=“800” height=“600”>
<param name=“movie” value=“your_flash_file.swf”>
<param name=“wmode” value=“transparent”>
<embed src=“your_flash_file.swf” width=“800” height=“600” wmode=“transparent”></embed>
</object> |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
To create an Android app with a transparent background in Adobe Animate CC, follow these steps: Step 1: Set Up Stage for Transparency
Set Stage Color to None. Set the appropriate stage size for your app. Step 2: Enable Transparency in Publish Settings For AIR for Android (AS3)
For HTML5 Canvas
Step 3: Modify the App Descriptor File (For AIR APK) If transparency is not working, modify the app.xml file:
Step 4: Export the APK
Step 5: Test on an Android Device Install the generated .apk on an Android device and run it. If everything is set correctly, your app should have a transparent background. |
Beta Was this translation helpful? Give feedback.
One of the features we are looking at for AIR 52 is to allow control of the z-ordering of the various "StageXXX" components - so that for example you could have StageView or StageWebView being displayed in layers underneath the actual Stage for display objects, plus of course Stage3D also having layers (and all of these having the potential for transparency...)
So that will hopefully help to achieve what you're after here.