You COULD generate mxml using some server-side technology.  As I understand, FDS still supports on-demand generateing/compiling of mxml files, so you could save the mxml, then call it.

 

Our 1.5 app allows you to design complex logic, saving it to a database, then actually uses client-side AS to publish an mxml component.

Tracy

 


From: [email protected] [mailto:[email protected]] On Behalf Of Andrew Trice
Sent: Tuesday, August 08, 2006 8:52 AM
To: [email protected]; [email protected]
Subject: RE: [flexcoders] Dynamically Create a MXML file

 

That's not really the way that flex works.  You don't create mxml on the fly.  What you can do is create an extensible component that reads some sort of configuration, and dynamically adds elements on the fly, using the addChild method.  This way you can dynamically add any kind of component at runtime, whether it is a textbox, radio button, or custom component.

-Andy

 


From: [EMAIL PROTECTED]ups.com on behalf of Pramod
Sent: Tue 8/8/2006 7:17 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Dynamically Create a MXML file

Hi,

I am currently working an a project where the reqirement is as follows -

I need to get info from the user and on submit, create an application
with the inputs from the previous form.

Is there a tutorial or a link where i can find info on how to create an
mxml file and generate them on a click of a button?

Thanks a lot in Advance,
Regards,
Pramod

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to