Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
26 Rapid andRoid development in Flash Cs5 Using Images in Your Animation Every animation requires at least an image. As mentioned in the previous section, you will want to keep your animation images in a bitmap format such as PNG. Vector- based drawings will chew up the graphics processor on your Android phone, resulting in slow animation and shorter battery life. Not much fun there. Animation Techniques You should Use on mobile Devices Flash provides you with a wealth of animation techniques you can use. From simple frame-by-frame animations to Classic Tween and Motion Tween techniques, you have lots of choices when it comes to animation in Flash CS5. Throw in the many third-party animation tools and there is very little you cannot accomplish. The goal of this section is to show you animation tech- niques you can apply without having to add ActionScript. Each technique will be assessed for its performance on Android devices. There are three basic animation techniques we are going to lookat: · Frame-basedanimation · ClassicTween · MotionTween Each of these techniques can be tweaked to run on the Android phone. The good news is that you do not need to do too