Contents |
Oxygen - The Flash Lite Developers Toolkit is a set of free components and libraries for use in Flash Lite based applications. The Oxygen Toolkit includes debug tools as well as components to be used in applications.
Figure 1. Oxygen Screenshot
All the components included in the toolkit are Drag'n Drop ready. Just drag the component from Oxygen Common Library onto Stage, and you can just test the SWF movie.
Current Oxygen Toolkit version:
In this initial release of the toolkit, following components are available:
The installation package will install two saparate libraries. One for Flash Lite 1.x (pre-ActionScript) and another for Flash Lite 2.x & 3.x (ActionScript 1/2).
This version now also features a bar-graph just below the FPS value. This graph shows as full when when FPS is at its maximum value for current SWF movie. When any animation starts, the graph shows the percentage of the FPS that has dropped from its maximum value. It helps greatly in optimizing animations, as well as making decisions on when to use vector graphics or raster graphics.
The component refreshes its value and graph on every 10th frame. The FPS-Meter component can also be used in regular Flash version 5 to version 8 SWF movies which use AS1 or AS2.
Using this component, developer can see how much memory its application is consuming. It also helps in determining when to unload any resources, before loading new resources into the Flash Lite application. It is also helpful to point-out "Out of memory" errors in Flash Lite applications.
The component refreshes its values every 1 second.
The component is made to be easily customizable to fit in any user interface style. The developers can easily change color of the component by applying Tint affect to it. The other way to customize it is directly edit the vector graphics of the component.
The component refreshes its value every 10 seconds.
Figure 2. Editing component graphics
There are five keyframes on GFX layer. See Figure 2 for reference.
Below is the reference for each keyframe:
You can just replace the graphics on each keyframe according to the reference to fully customize the component to fit in your application's design.
This component is also similar to Battery Meter component. It is also easy to customize, and uses same keyframe layout as Battery Meter.
Signal Meter refreshes its value every 10 seconds.
The download includes full source code of all the components, including MXI source for making customized installable MXP package.
Download: media:Oxygen Toolkit v1.zip
Included in the download, is the self installable MXP (Adobe Flash Extension). If you have Flash 8 or Flash CS3 and Adobe Extension Manager, you can just double-click the MXP file to install the Oxygen Toolkit.
Figure 3. Accessing Oxygen Toolkit from Adobe Flash
After installation, you can access the Oxygen Toolkit directly in Adobe Flash.
1. Create a new Flash Lite document. 2. Open Window->Common Libraries menu 3. And select Oxygen Toolkit for your target Flash Lite version.
Just drag'n drop the required component on Stage, and test your Flash Lite movie. Its that simple!
Faisal Iqbal a.k.a. chall3ng3r, is mobile application developer having expertise in Adobe Flash, Adobe Flash Lite, Symbian S60, MS .Net and related technologies.
Find out more at www.orison.biz/blogs/chall3ng3r/
chall3ng3r 22:08, 31 March 2008 (EEST)
No related wiki articles found