Calling mxmlc/fcsh from PHP script

3 views
Skip to first unread message

kanu kukreja

unread,
May 3, 2010, 10:30:58 AM5/3/10
to

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 "Delhi Flex User Group" group.
To post to this group, send email to del...@googlegroups.com.
To unsubscribe from this group, send email to delhifx+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/delhifx?hl=en.

kanu kukreja

unread,
May 4, 2010, 9:45:11 AM5/4/10
to

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

Anand Vardhan

unread,
May 4, 2010, 12:33:22 PM5/4/10
to del...@googlegroups.com
Hi Kanu,

I am not sure you can compile SWF at the run time in current versions of Flex but I do remember that in Flex 1.5 days, it was a server side app and was allowing msml/as scripts to swf.

Ca you check the specs, may be you get something suitabl.e

Regards,
Anand Vardhan
Adobe Certified Expert,Flex 3.0 & AIR
Adobe Certified Developer, Flex 2.0
www.AnandVardhan.com
www.linkedin.com/in/anandvardhan
Reply all
Reply to author
Forward
0 new messages