[flexcoders] xml-combobox
Hi pals, In my application I have a help feature it permits to display help text if user requests for. Is a multilang application. My initial idea to implement this feature is to create a XML file as follows: help_text_lang11 help_text_lang12 help_text_lang1 help_text_lang2 help_text_lang21 help_text_lang22 help_text_lang21 help_text_lang22 In my code: .. In selectFields function I create dataprovider for 2nd combo: My objective is to have 2 dropdown list as shown in the figure below. Where "objecte" contains the obj nodes from the XML above, i.e. {screen1,screen2}. Once selected the "objecte" the "camp" list should be filed with the appropiated fields {field11,field12} or {field21,field22}. Finally when user selects field the help text is displayed in the textArea "Descripcio". I´m not able to display the contents of 2nd list once the first is selected. Basically I don´t know how to manipulate(access nodes) the XML contents using ActionScript API (Array). I suppose this is quite enough to clear my problem. Grateful if somebody could help me?. Thanks. (Embedded image moved to file: pic11538.pcx) Isaac Bibás Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ pic11538.pcx Description: Binary data
Re: [flexcoders] xml-combobox
On 4/13/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >dataProvider="{helpList.obj}" width="180" > change="selectFields(event)" initialize="sort();"/> > > In selectFields function I create dataprovider for 2nd combo: > >width="180" > change="display_help(event)" initialize="sort();"/> [snip] I would simply use data binding to set this up. http://www.macromedia.com/2003/mxml"; xmlns="*"> one two three four -- [EMAIL PROTECTED] http://manish.revise.org/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] xml-combobox
Thanks, Manish. Isaac Bibás Forado Manish Jethani <[EMAIL PROTECTED]Para: flexcoders@yahoogroups.com mail.com>cc: Asunto: Re: [flexcoders] xml-combobox 14/04/2005 00:31 Por favor, responda a flexcoders On 4/13/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >dataProvider="{helpList.obj}" width="180" > change="selectFields(event)" initialize="sort();"/> > > In selectFields function I create dataprovider for 2nd combo: > >width="180" > change="display_help(event)" initialize="sort();"/> [snip] I would simply use data binding to set this up. http://www.macromedia.com/2003/mxml"; xmlns="*"> one two three four -- [EMAIL PROTECTED] http://manish.revise.org/ Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/