Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
When creating a new mobile project with Flex 4.6, a new Android-specific flag has been created in app.xml named color depth. By default, when Flash Builder creates a new Flex mobile project, it sets this value to 16 bit. We have the option to change its value to 32 bit. Now there are pros and cons to both options. The 16-bit mode is optimized for performance and other general-use cases. The 32-bit mode offers us specific feature that our app may require and especially if we're doing gaming, or we're using lots of stage video, we're utilizing stage 3D support, and it also offers superior rendering of gradients.
Again, it's important to evaluate the requirements of your entire application before making the switch to 32-bit rendering. Now, remember this is only supported on Android. And if I open up the app.xml file-- so, for example, I have my SplitViewNavigator that we were working on earlier, which is most decidedly an application not designed for this-- if I scroll down to approximately line 229, you can see that we have this new colorDepth. So, I can just uncomment this.
The default is 16 bit, so if I don't specify anything, it'll be 16 bit. If I specify 32 bit, this will be useful for things like gaming or very graphical-intense applications will perform better on Android devices.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 98509 Viewers
61 Video lessons · 85804 Viewers
71 Video lessons · 69708 Viewers
56 Video lessons · 102013 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.