Well, you can always run MXMLC itself, because it's a Java program. The mxmlc command is roughly equivalent to java -jar ${FLEX_HOME}/lib/mxmlc.jar [args].
I note that running MXMLC is not exactly the same as the MXML generation, because you have to pass in some args that pertain to the runtime environment, in particular the AMF gateway URL. It is also slower because it doesn't do incremental compilation. You could also probably accomplish the same thing by simply generating an HTTP request for an .mxml file that you dynamically generate in the doc root. Rick Bullotta wrote: > Is there a programmatic interface, preferably in Java, to the same code > as MXMLC? We’re interested in “on-the-fly” MXML generating/compilation, > and cannot use the JSP approach. > > *Thanks!* > > *Rick Bullotta* > CTO > Lighthammer Software > www.lighthammer.com <http://www.lighthammer.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] > <mailto:[EMAIL PROTECTED]> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/>. > > 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/