[kml_flashembed movie="/flex/LengthConverter/bin/LengthConverter2.swf" height="150" width="550" /]
BREAK
This is an example of a simple flex app that converts miles to kilometers and vice versa. Notable features are:
- Uses <mx:Script> instead of inline actionscript elements.
- Validation for invalid characters.
There are many ways to approach this sort of simple flex app, but but building the project from ground with packages in AS 3 would be the most efficient in this case.