简体   繁体   中英

Adding flex components using xml

I have a dozen different custom components in my flex app. I want to use an external xml config file to load the components at run-tine. Can someone tell me whats the best way to architect this? I want to load these components and add dataProviders and event liseners to them at runtime. A brief example will greatly help.

check out this demo from adobe. It uses XML that dynamically loads the "pods" at run time.

http://examples.adobe.com/flex3/devnet/dashboard/srcview/index.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM