Message from discussion
Calling mxmlc/fcsh from PHP script
Received: by 10.229.78.86 with SMTP id j22mr198495qck.33.1272897064152;
Mon, 03 May 2010 07:31:04 -0700 (PDT)
X-BeenThere: flashaussie@googlegroups.com
Received: by 10.224.36.157 with SMTP id t29ls12120470qad.2.p; Mon, 03 May 2010
07:31:03 -0700 (PDT)
Received: by 10.101.8.40 with SMTP id l40mr1957778ani.9.1272897063240;
Mon, 03 May 2010 07:31:03 -0700 (PDT)
Received: by 10.101.8.40 with SMTP id l40mr1957769ani.9.1272897062931;
Mon, 03 May 2010 07:31:02 -0700 (PDT)
Return-Path: <kanukukr...@gmail.com>
Received: from mail-gy0-f171.google.com (mail-gy0-f171.google.com [209.85.160.171])
by gmr-mx.google.com with ESMTP id 24si170561yxe.1.2010.05.03.07.31.01;
Mon, 03 May 2010 07:31:01 -0700 (PDT)
Received-SPF: pass (google.com: domain of kanukukr...@gmail.com designates 209.85.160.171 as permitted sender) client-ip=209.85.160.171;
Received: by mail-gy0-f171.google.com with SMTP id 3so1048449gyf.16
for <flashaussie@googlegroups.com>; Mon, 03 May 2010 07:31:01 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.101.210.33 with SMTP id m33mt4356192anq.161.1272897058888;
Mon, 03 May 2010 07:30:58 -0700 (PDT)
Received: by 10.100.249.10 with HTTP; Mon, 3 May 2010 07:30:58 -0700 (PDT)
Date: Mon, 3 May 2010 20:00:58 +0530
Message-ID: <h2u9d65069f1005030730xd3e0ec1cifbdfb9f798795ffb@mail.gmail.com>
Subject: [FlashAussie] Calling mxmlc/fcsh from PHP script
From: kanu kukreja <kanukukr...@gmail.com>
X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com:
domain of kanukukr...@gmail.com designates 209.85.160.171 as permitted
sender) smtp.mail=kanukukr...@gmail.com; dkim=pass (test mode)
header...@gmail.com
X-Original-Sender: kanukukr...@gmail.com
Reply-To: flashaussie@googlegroups.com
Precedence: list
Mailing-list: list flashaussie@googlegroups.com; contact flashaussie+owners@googlegroups.com
List-ID: <flashaussie.googlegroups.com>
List-Post: <http://groups.google.com/group/flashaussie/post?hl=en_US>,
<mailto:flashaussie@googlegroups.com>
List-Help: <http://groups.google.com/support/?hl=en_US>, <mailto:flashaussie+help@googlegroups.com>
List-Archive: <http://groups.google.com/group/flashaussie?hl=en_US>
Sender: flashaussie@googlegroups.com
List-Subscribe: <http://groups.google.com/group/flashaussie/subscribe?hl=en_US>,
<mailto:flashaussie+subscribe@googlegroups.com>
List-Unsubscribe: <http://groups.google.com/group/flashaussie/subscribe?hl=en_US>,
<mailto:flashaussie+unsubscribe@googlegroups.com>
Content-Type: multipart/alternative; boundary=0016e68ee21c26d8990485b17160
--0016e68ee21c26d8990485b17160
Content-Type: text/plain; charset=ISO-8859-1
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 "Flash Aussie" group.
To post to this group, send email to flashaussie@googlegroups.com.
To unsubscribe from this group, send email to flashaussie+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/flashaussie?hl=en.
--0016e68ee21c26d8990485b17160
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<span class=3D"Apple-style-span" style=3D"font-family: Arial, 'Liberati=
on Sans', 'DejaVu Sans', sans-serif; font-size: 14px; border-co=
llapse: collapse; line-height: 18px; "><p style=3D"margin-top: 0px; margin-=
right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding=
-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px;=
border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px;=
border-style: initial; border-color: initial; font-size: 14px; vertical-al=
ign: baseline; background-image: initial; background-attachment: initial; b=
ackground-origin: initial; background-clip: initial; background-color: tran=
sparent; clear: both; word-wrap: break-word; background-position: initial i=
nitial; background-repeat: initial initial; ">
Hi,</p><p style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 1em; =
margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px=
; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border=
-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-c=
olor: initial; font-size: 14px; vertical-align: baseline; background-image:=
initial; background-attachment: initial; background-origin: initial; backg=
round-clip: initial; background-color: transparent; clear: both; word-wrap:=
break-word; background-position: initial initial; background-repeat: initi=
al initial; ">
My question is whether or not Flex's mxmlc can be called from within a =
PHP script. Here is the background:</p><p style=3D"margin-top: 0px; margin-=
right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding=
-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px;=
border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px;=
border-style: initial; border-color: initial; font-size: 14px; vertical-al=
ign: baseline; background-image: initial; background-attachment: initial; b=
ackground-origin: initial; background-clip: initial; background-color: tran=
sparent; clear: both; word-wrap: break-word; background-position: initial i=
nitial; background-repeat: initial initial; ">
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. =A0I have n=
ot been able to get the mxmlc compiler to work.</p>
<p style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-=
left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; paddi=
ng-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom=
-width: 0px; border-left-width: 0px; border-style: initial; border-color: i=
nitial; font-size: 14px; vertical-align: baseline; background-image: initia=
l; background-attachment: initial; background-origin: initial; background-c=
lip: initial; background-color: transparent; clear: both; word-wrap: break-=
word; background-position: initial initial; background-repeat: initial init=
ial; ">
After searching on the Web and on this site, I believe that using fcsh (ins=
tead 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 laun=
ched as a service that might be able to be called from PHP.</p>
<p style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-=
left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; paddi=
ng-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom=
-width: 0px; border-left-width: 0px; border-style: initial; border-color: i=
nitial; font-size: 14px; vertical-align: baseline; background-image: initia=
l; background-attachment: initial; background-origin: initial; background-c=
lip: initial; background-color: transparent; clear: both; word-wrap: break-=
word; background-position: initial initial; background-repeat: initial init=
ial; ">
On the other hand, maybe I am approaching this the wrong way. Would it be b=
etter to write a Flex application that calls fcsh/mxmlc and avoid using PHP=
?</p><p style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 1em; ma=
rgin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; =
padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-b=
ottom-width: 0px; border-left-width: 0px; border-style: initial; border-col=
or: initial; font-size: 14px; vertical-align: baseline; background-image: i=
nitial; background-attachment: initial; background-origin: initial; backgro=
und-clip: initial; background-color: transparent; clear: both; word-wrap: b=
reak-word; background-position: initial initial; background-repeat: initial=
initial; ">
Thanks</p><p style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 1e=
m; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: =
0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; bor=
der-bottom-width: 0px; border-left-width: 0px; border-style: initial; borde=
r-color: initial; font-size: 14px; vertical-align: baseline; background-ima=
ge: initial; background-attachment: initial; background-origin: initial; ba=
ckground-clip: initial; background-color: transparent; clear: both; word-wr=
ap: break-word; background-position: initial initial; background-repeat: in=
itial initial; ">
Kanu kukrejA</p></span>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "=
Flash Aussie" group.<br />
To post to this group, send email to flashaussie@googlegroups.com.<br />
To unsubscribe from this group, send email to flashaussie+unsubscribe@googl=
egroups.com.<br />
For more options, visit this group at http://groups.google.com/group/flasha=
ussie?hl=3Den.<br />