Mike Krotscheck wrote:
>
> This is possible two different ways:
> 1- With the livecycle server, which will compile your mxml on the fly 
> and then send the resulting swf to your application. This costs a lot 
> of money.
> 2- By using some kind of object encoding (coreLib.JSON might be able 
> to do this), converting the string to a UIComponentDescriptor, and 
> then adding it to a management class using 
> createComponentFromDescriptor(). Note that in this case you're not 
> actually passing MXML
>  
> I highly reccomend you avoid the latter- dynamically sending object 
> descriptors of _any_ type is just asking for someone to inject their 
> own descriptors and thus backdoor your application.









ok, I understand your reasons, but what would you recommend in case I 
wanted to be able to insert dynamically generated mxml code into my 
application (at runtime)?

thanks again

ricardo

<http://www.resource.com/> <mailto:[EMAIL PROTECTED]>

Reply via email to