hello :) you can use my opensource framework and this extensions with the localization model of ASGard (ext of VEGAS)
Page of the Framework project : http://code.google.com/p/vegas/ Install VEGAS and this extensions : http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN Example to use the localization model in the svn of the project : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/asgard/system/ My event localization model is based on the W3C dom2/3 event model.... test the "Localization 02 - Eden.fla" example.. i use Eden format to creates external files to configurate my localizations. but you can use JSON with my framework or use my framework and this implementation to use XML(in AS2 xml is no speed... Eden more easy to use) More information about Eden format : http://code.google.com/p/edenrr/ More information about JSON format : http://www.json.org/ I use eden to create my configuration file too... http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/asgard/config/ You can use too my Opensource documentation framework AST'r : http://code.google.com/p/astr/ AST'r is a little application framework to implement config/localization/sounds/.... in a application based with VEGAS. EKA+ :) 2007/6/12, Cristo @ cryzto.ch <[EMAIL PROTECTED]>:
Hi everybody I'm working on a multilanguage configurator and want to update every textareas, labels etc. by clicking on one of the available lang-buttons (english, german, spanish ect.). My configurator consists of different movieclips/layers of course. Now I've tried to reach this by creating an evenlistener on those buttons, but without success. Code (layer: _level0): var langListener:Object = new Object(); langListener.click = function (EvtObj:Object){ trace("it worked!"); }; // ie: english-button _level0.langP_mc.en_btn.addEventListener("click", langListener); Can anyone help? Cryzto No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.8.14/845 - Release Date: 12.06.2007 06:39 _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com