Most of mx controls can be created with AS. The only thing that you have to take into account is to add the objects you create to the container hierarchy and to set the event listeners accordly with your needs
--- In flexcoders@yahoogroups.com, "Jawad Anwar" <[EMAIL PROTECTED]> wrote: > > Hi Flexcoders, > I am migrating JSP Front end into Flex and simply it creates different > html controls at runtime based on my java bean. Now I know one way is > to use embedded mxml tags in my JSP but I am wondering if there is > something better then this. > Can an Action Script render my Flex controls/containers at runtime? > For e.g.: > If 1st object type = "Checkbox" use Flex <mx:CheckBox> > If 2nd object type= "Text" use Flex <mx:ComboBox> > and so on > This is a high-traffic site with some 30+ objects on one page and > using embedded mxml does not sound feasible to me. > Any help would be greatly appreciated. > > Kind regards. > > Jawad Anwar > RIA Developer, > ------------------------ Yahoo! Groups Sponsor --------------------~--> Everything you need is one click away. Make Yahoo! your home page now. http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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/