Animation Using the TIMER Element

This chapter has discussed a number of ways timers create time intervals within applications. As you’ve seen, timers are useful in providing several functionalities to applications.

This chapter concludes with a look at using WMLScript in conjunction with timers to create simple animation effects.

The way animation works in this example is that images fire quickly one after another, giving the illusion of movement. This example creates some simple animation that you’ll incorporate into a splash page.

Before you can begin, you first must create some additional images to use with this animation example. In this example, you’ll create animation that causes the logo image created in the last chapter to grow and ...

Get WAP 2.0 Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.