Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
Join James Talbot, as he reviews the new features in Adobe Flex, Flash Builder, and AIR for mobile application developers. This course covers the Spark components for building mobile user interfaces in the Flex SDK, and the AIR support for native extensions, which enable applications to use parts of the host operating systems that were previously unavailable. The course also describes new testing and network monitoring capabilities available with Flash Builder 4.6, and the ability for Android applications to be deployed without relying on a separate runtime.
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.
There are currently no FAQs about Flex 4.6 and AIR 3.0 New Features for Mobile Apps.
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.