Useful code snipppet to add the batter indicator in your FlashLite applications.
This article contains a useful example of how to implement a battery level indicator in Flash lite. In doing so, the code demonstrates how to retrieve the maximum battery level, the current battery level, and whether the mobile phone is connected to the charger or not. The example shows how to use motion tweening to animate between the lowest battery level and the highest battery level. The battery indicator is only animated if the phone is plugged into the charger, otherwise it is displayed statically. A nice simple example of how to implement a useful feature in Flash lite.
--Larry101 14:05, 21 September 2009 (UTC)