You can simply call any external program from PHP by using the exec
If you're on a unix type system such a OSX or Linux, you do need to make
sure that you have all the permissions right. Since the script will be
triggered in the scope of the web-server you need to make sure that that
scope can execute your calls.
On the other hand, I'm wondering why you're generating .as files. Are you
sure you can't solve your particular problem by loading a dataset instead?
On Tue, May 4, 2010 at 12:30 AM, kanu kukreja <kanukukr...
> 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
> Kanu kukrejA
> You received this message because you are subscribed to the Google Groups
> "Flash Aussie" group.
> To post to this group, send email to firstname.lastname@example.org.
> To unsubscribe from this group, send email to
> email@example.com<flashaussie%2Bunsubscribe@googlegr oups.com>
> For more options, visit this group at
You received this message because you are subscribed to the Google Groups "Flash Aussie" group.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit this group at http://groups.google.com/group/flashaussie?hl=en