ASTRA Badge Kit
The Badge Kit is an an XML-based framework for rapid development of small interactive Flash applications. You can learn how to use the Badge Kit very quickly, and most of the usage scenarios require no knowledge of Flash.
Deploying Components
To actually use classes such as UI components or or services in a Badge, you'll need to compile the code into a swf and load that at runtime. You've got a few options as a Flash developer to compile your swf.Using Flash
Generally, the easiest way is using the Flash authoring environment to compile code into a swf. We use this approach in the default set of components for the Badge Kit. You might have noticed the import of swf called base_components.swf in the examples. Using a resources tag, most badges will import this swf so that they can use basic UI components and services, such as buttons and lists. You can edit this swf by opening the source for it at source/base_components.fla. There you'll notice in the library of this FLA file is a number of basic UI components, which you can add to or remove as you see fit. To add your classes to this file, we recommend either adding components to your library or doing the following:- Going into the source code and importing the required classes.
- Creating a variable of that class's type which will force the compiler to include the class.