The problem is that there are two server-based compile steps that happen before the client gets the app.
First, the mxml is generated in .as files, then the .as files are compiled into a swf, which is wrapped in html then sent to the client. You are skipping the generate and compile. I don't know of any to do this in a "stream". There is a command-line compiler, mxmlc, but I suspect it is not stream oriented either. For dynamic mxml, folks usually use the taglib functionality. Tracy -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of priya_sukup Sent: Monday, August 29, 2005 9:12 AM To: [email protected] Subject: [flexcoders] Creating flex gui on the fly Hi, I am trying to create flex screens on the fly in my web app. I am using xsl to transform the xml of a screen to mxml. The screen is identified based on the url sent to the server. The transformation is done using xalan from a servlet. But when the response is sent to the browser from the servlet the content(the generated mxml file) is displayed as xml in the browser. Can any one help in this? Can i use any of teh filters defined in flex to transform the response containing the mxml to swf. If i save the mxml into a file in the web app folder and redirect to the saved mxml. everything works fine. But i don not want to create the mxml in the server. So can any one help me out.. Thanks in advance Priya -- 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 ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- 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/ <*> 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/

