https://prerelease.adobe.com/
Já estou baixando o meu...
Divirta-se utilizando as novas funcionalidades :D
Dicas sobre Adobe Flex, Java, BlazeDS, Jboss, Hibernate, JPA, AIR, entre outras.
label_selecione_linguagem=Select your language label_nome=Name label_sobrenome=Last Name send_btn=Send
label_selecione_linguagem=Selecione a linguagem label_nome=Nome label_sobrenome=Sobrenome send_btn=Enviar
<?xml version="1.0" encoding="utf-8"?> <s:Application viewSourceURL="srcview/index.html" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"> <s:layout> <s:VerticalLayout/> </s:layout> <fx:Script> <![CDATA[ import mx.resources.ResourceBundle; [Bindable] private var locales:Array = ['pt_BR', 'en_US']; private static const LOCALIZATION:String = 'localization'; private function changeLanguage():void { this.resourceManager.localeChain = [cbxLanguage.selectedItem]; } ]]> </fx:Script> <fx:Metadata> [ResourceBundle('localization')] </fx:Metadata> <mx:Form> <mx:FormItem label="{resourceManager.getString( LOCALIZATION , 'label_selecione_linguagem' )}:"> <mx:ComboBox id="cbxLanguage" change="changeLanguage()" dataProvider="{locales}"/> </mx:FormItem> <mx:FormItem label="{resourceManager.getString( LOCALIZATION , 'label_nome' )}:"> <s:TextInput/> </mx:FormItem> <mx:FormItem label="{resourceManager.getString( LOCALIZATION , 'label_sobrenome' )}:"> <s:TextInput/> </mx:FormItem> <s:Button label="{resourceManager.getString( LOCALIZATION , 'send_btn' )}"/> </mx:Form> </s:Application>
resourceManager.getString(LOCALIZATION, 'string')