Enabling auto orientation with Adobe AIR
Everything we will be working on in this title is going to work for all mobile devices there not specific per device but per capabilities. We will start by seeing again how to configure and publish your application. In part one we go in detail into the steps involved when creating your application using Adobe AIR.
Our first step before we can start coding is we need to configure our application to listen into the orientation events. By default our application when we create it will only work in one mode but wouldn't auto-orient at all! We first need to change the configurations and enable our application to auto configure. So the first step in our training will be to setup and prepare our application to be enabled to auto-rotate. Once in the debugger we are not done yet we will need to enable orientation in the debugger as well. Once we follow all these steps our application will automatically auto-orient its content every time we move our device.
Ready to Level Up Your Skills?
Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!
Enroll Now for Free!