why dont you create a ANT to do the mxmlc compilation and run it from php ,
check here for more information http://stackoverflow.com/questions/1389992/how-to-run-ant-command-in-batch-file-through-php Best regards Gehan On Tue, May 4, 2010 at 7:15 PM, kanu kukreja <[email protected]> wrote: > > Can somebody please reply on this, i got few replies yesterday, but not > relevant with the question i asked. > > Wanted to run compiler mxmlc/fcsh using php to generate swf file. > > Thanks > > On Mon, May 3, 2010 at 8:00 PM, kanu kukreja <[email protected]>wrote: > >> Hi, >> >> My question is whether or not Flex's mxmlc can be called from within a PHP >> script. Here is the background: >> >> I have been created a simple process that creates a simple quiz/tutorial >> by converting a text file into a .as file and compiling to a .swf file using >> the mxmlc compiler. This works well from the command line, but I wanted to >> make the process easier by creating a web-interface to do this. I have not >> been able to get the mxmlc compiler to work. >> >> After searching on the Web and on this site, I believe that using fcsh >> (instead of mxmlc) may be the way to go. Using fcsh would certainly compile >> the .mxml file faster (after the first run), and I think that fcsh can be >> launched as a service that might be able to be called from PHP. >> >> On the other hand, maybe I am approaching this the wrong way. Would it be >> better to write a Flex application that calls fcsh/mxmlc and avoid using >> PHP? >> >> Thanks >> >> Kanu kukrejA >> > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

