The Flash Player can't turn MXML into SWF. Only the Flex compiler can do
that.

There is no real reason to turn the XML describing a screen into MXML.
Just get the XML into your Flex application.

Then parse through it and call createChild() to create components based
on what your XML says the screen should have in it.

- Gordon


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of priya_sukup
Sent: Monday, August 29, 2005 6: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/
 


Reply via email to