Hi, There is an intriguing article in the flex cookbook on the adobe site about reading in MXML at runtime and using the XML object to create components at runtime. While I don't totally get how this works as there are no code samples, but very vague actually, but it states:
"Let’s consider, for a moment, how Adobe might have chosen to leverage reuse within the Flex2 programming model. "Assuming the Adobe engineers did not want to have to recreate the wheel in terms of how to make Flex2 able to load normal non-GUI XML I would surmise they chose to simply reuse whatever code they wrote that was able to read MXML into a way to read XML. "As we know, MXML resembles XML rather closely. Heck, MXML is XML ! Yipee, now I can easily read MXML because it is essentially a form of XML. "We also know Flex2 knows how to read MXML at runtime because the compiler knows how to convert MXML into GUI Objects. "But what if we could trick Flex2 into dynamically loading MXML at runtime ?" So my question, has anyone ever done this and how did they do it? I'm not talking about using the modules package to load in precompiled swfs. But loading in mxml and having it run after being loaded. Best, Austin -- 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/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/