xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"
creationComplete="initApp()">
import mx.resources.ResourceBundle;
import mx.controls.Alert;
private function initApp():void {
b1.setStyle("downSkin", resourceManager.getClass("RegistrationForm", "flag"));
}
private function registrationComplete():void {
Alert.show(resourceManager.getString('RegistrationForm', 'thanks'));
}
[ResourceBundle("RegistrationForm")]
label="{resourceManager.getString('RegistrationForm','personname')}">
label="{resourceManager.getString('RegistrationForm','street_address')}">
label="{resourceManager.getString('RegistrationForm','submit_button')}"
click="registrationComplete()" />