This content has been marked as final. Show 2 replies
Umm.... I haven't seen a way to do this after working almost a year in Flex. I know you can have Flex compile at runtime (ie wait until the page is loaded then compile it, but thats slow). Also, loading a page at runtime is going to cause things to slow down.
Any reason why you want to do it this way?
I need to load the mxml in runtime, my application will only have the <mx:Application>, the rest will all be dynamic.
In undertaking work that we have a coreVM and several customers as Ajax, C #. NET, Java, running this way, our rule of this separate business, customers are only surrender of screens, and now the challenge is to develop in Flex.
In seeking a resolution, passed by multiple sites in one of them found
a very interesting article.
In this article the author says he wrote a small component called
MXMLLoader. The objective of the component, is to create an interface
MXML markup loaded at runtime. The source of property
component accepts an XML string or an object containing the source MXML.
Ok tests, plus the componete still incomplete,
I believe that with the help of everyone we can improve and use the
compomente, to find another solution.
It follows the Blog URL:
http://mannu.livejournal.com/311003.html # cutid1
The source this with the broken link, which has low of following URL: