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] on behalf of Pramod
Sent: Tue 8/8/2006 7:17 AM
To: [email protected]
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