Things to consider when doing runtime component creation. If you use addChild method your SWF size will include all the components that you might want to create regardless if you use them or not.
You can create RSL's so the components are downloaded once and shared across your SWF applications. The other way is to have multiple SWF's and load them in through SWFLoader. The downfall here is the SWF's could contain duplicate classes, unless you use RSL's. If your use is probably going to use a majority of your runtime components and the file is not large addChild is a perfect way to go. Renaun --- In [email protected], "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/

