[flexcoders] Is it possible to replace UI controls in mxml at runtime?
Hi, I'mcreating a generic Search componentthat contains few buttons, a form, say 'formSearch'to capture the search parameters. Using the component I need to serach on persons, accounts, transactions etc. and have separate PersonSearch, AccountSearch, TransactionSerach 1. Is it possible to replace the 'formSearch' with another form at runtime?How would you do it and at whatevent? 2. Are there any preference betweenMXMLandAS for this purpose? Dong __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Is it possible to replace UI controls in mxml at runtime?
Sure you can, try view state or viewstack, they are built for this :-) Jeremy. On 6/20/06, Dong Lee [EMAIL PROTECTED] wrote: Hi, I'mcreating a generic Search componentthat contains few buttons, a form, say 'formSearch'to capture the search parameters. Using the component I need to serach on persons, accounts, transactions etc. and have separate PersonSearch, AccountSearch, TransactionSerach 1. Is it possible to replace the 'formSearch' with another form at runtime?How would you do it and at whatevent? 2. Are there any preference betweenMXMLandAS for this purpose? Dong __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___