Hello, I'm trying to integrate a Flex app with a J2EE app. After reading up a little I determined that LifeCycle Data ES is what I would need to effect this. LifeCycle Data ES is what allows me to get data from the server and save data etc. However I really don't need that level of integration. All I need is the ability to compile my .mxml file on the server so that it is rendered as a .swf file on the client. LifeCycle Data ES seems like overkill for just this.
How can I achieve above. Secondly, I need to pass in a file name to my .mxml file dynamically. Traditionally, since the mxml file is executing on the client, I would expect a HTTPService call to get the file name. However, if my .mxml file is dynamically compiled on the server into an .swf (like a .jsp into a servlet), then I can really place the file name dynamically in the source code of the mxml file. How can I do so specifically? So there are two questions: 1. How can I compile .mxml files into .swfs on a J2EE server without using LifeCycle Data ES. 2. How can I specify a filename dynamically in a .mxml file so that it compiles int a .swf with the right filename (and executes on the client as usual) Thanks in advance, Pankaj

