Check out the compiler arguments line in the Flex properties and add -default-background-color #PUTYOURCOLORHERE
Check the complete list compiler aurguments at :- http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=compilers_123_24.html
Its free data service provided for the flex users which is alternative to Life Cycle data service. I have tried remoting service and it runs with good compatibility without much code change. It also support the data push by the flex. we can download the binary from www.graniteds.org/ .
Handling resource bundles in flex 3.0 has improved a lot from the previous version.
you just need to add loacale{locale} folder in the source path of the application and have to keep the en_US or ja_JP (which ever language refrence you want to add)
then you will have to make sample.properties file in each of the language refrence folder
in properties file you will have to add hello=Hello World
the properties which you need to access from the application(here i used hello property)
in the application we will use
we can make the mapping of the resource bundle dynamic with the following code.
add the code in the script of the application
[ResourceBundle("sample")]
[Bindable] private var locales:Array = [ "en_US" , "fr_FR" ];
private function localeComboBox_initializeHandler(event:Event):void { localeComboBox.selectedIndex = locales.indexOf(resourceManager.localeChain[0]); }
private function localeComboBox_changeHandler(event:Event):void { // Set the localeChain to either the one-element Array // [ "en_US" ] or the one-element Array [ "fr_FR" ]. resourceManager.localeChain = [ localeComboBox.selectedItem ]; }
For every method defined in the remote object there should be fault and result function
//result function private function getFullDetailsSuccessfull(evt:ResultEvent):void { PopUpManager.removePopUp(initial); CursorManager.removeAllCursors();
// fault function private function getFullDetailsFailed(evt:FaultEvent):void { this.enabled =true; Alert.show("There was an error communicating to theserver:"+evt.fault.faultCode); }
Corresponding to this there should be entry in remoting-config.xml the destination should be same defined in the mxml file
// the title property private var _title:String; public function set title(t:String) : void { _title = t; } [Bindable] public function get title() : String { return _title; }
// the subComponents property (default) private var _myChildren:Array; public function set subComponents(a:Array) : void { _myChildren = a; } public function get subComponents() : Array { return _myChildren; }
// the controlComponents property private var _myControlChildren:Array; public function set controlComponents(a:Array) : void { _myControlChildren = a; } public function get controlComponents() : Array { return _myControlChildren; }
World is recognising flex day by day so come up and have your hands with me in flex. I have list of flex components which can be customised according to your needs , just pass your quieres to my mail and i would surely help you with your problems on flex. The best combination is of tomcat +mysql+flex .