Message from discussion
Calling mxmlc/fcsh from PHP script
Received: by 10.223.64.206 with SMTP id f14mr3660513fai.49.1272980716119;
Tue, 04 May 2010 06:45:16 -0700 (PDT)
X-BeenThere: flashaussie@googlegroups.com
Received: by 10.213.70.78 with SMTP id c14ls353123ebj.2.p; Tue, 04 May 2010
06:45:14 -0700 (PDT)
Received: by 10.213.49.18 with SMTP id t18mr1906228ebf.24.1272980713341;
Tue, 04 May 2010 06:45:13 -0700 (PDT)
Received: by 10.213.49.18 with SMTP id t18mr1906227ebf.24.1272980713284;
Tue, 04 May 2010 06:45:13 -0700 (PDT)
Return-Path: <kanukukr...@gmail.com>
Received: from mail-pz0-f189.google.com (mail-pz0-f189.google.com [209.85.222.189])
by gmr-mx.google.com with ESMTP id 18si377980ewy.0.2010.05.04.06.45.11;
Tue, 04 May 2010 06:45:12 -0700 (PDT)
Received-SPF: pass (google.com: domain of kanukukr...@gmail.com designates 209.85.222.189 as permitted sender) client-ip=209.85.222.189;
Received: by mail-pz0-f189.google.com with SMTP id 27so2408517pzk.2
for <flashaussie@googlegroups.com>; Tue, 04 May 2010 06:45:11 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.142.196.7 with SMTP id t7mt5342027wff.151.1272980711568; Tue,
04 May 2010 06:45:11 -0700 (PDT)
Received: by 10.142.177.3 with HTTP; Tue, 4 May 2010 06:45:11 -0700 (PDT)
In-Reply-To: <h2u9d65069f1005030730xd3e0ec1cifbdfb9f798795ffb@mail.gmail.com>
References: <h2u9d65069f1005030730xd3e0ec1cifbdfb9f798795ffb@mail.gmail.com>
Date: Tue, 4 May 2010 19:15:11 +0530
Message-ID: <u2p9d65069f1005040645z58185712rca83c56000b31a44@mail.gmail.com>
Subject: [FlashAussie] Re: 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.222.189 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=000e0cd2e2021edbad0485c4eb8d
--000e0cd2e2021edbad0485c4eb8d
Content-Type: text/plain; charset=ISO-8859-1
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 <kanukukr...@gmail.com> 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 "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.
--000e0cd2e2021edbad0485c4eb8d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<br><div class=3D"gmail_quote"><span class=3D"Apple-style-span" style=3D"fo=
nt-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "=
>Can somebody please reply on this, i got few replies yesterday, but not re=
levant with the question i asked.<div>
<br></div><div>Wanted to run compiler mxmlc/fcsh using php to generate swf =
file.</div></span><div class=3D"gmail_quote"><br></div><div class=3D"gmail_=
quote">Thanks</div><div class=3D"gmail_quote"><br></div>On Mon, May 3, 2010=
at 8:00 PM, kanu kukreja <span dir=3D"ltr"><<a href=3D"mailto:kanukukre=
j...@gmail.com">kanukukr...@gmail.com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;"><span style=3D"font-family:Arial, 'Libe=
ration Sans', 'DejaVu Sans', sans-serif;font-size:14px;border-c=
ollapse: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;pad=
ding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0p=
x;border-bottom-width:0px;border-left-width:0px;border-style:initial;border=
-color:initial;font-size:14px;vertical-align:baseline;background-color:tran=
sparent;clear:both;word-wrap:break-word;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;bo=
rder-left-width:0px;border-style:initial;border-color:initial;font-size:14p=
x;vertical-align:baseline;background-color:transparent;clear:both;word-wrap=
:break-word;background-repeat:initial 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-ri=
ght: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-widt=
h:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;bo=
rder-color:initial;font-size:14px;vertical-align:baseline;background-color:=
transparent;clear:both;word-wrap:break-word;background-repeat:initial initi=
al">
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:0=
px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;bo=
rder-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-le=
ft-width:0px;border-style:initial;border-color:initial;font-size:14px;verti=
cal-align:baseline;background-color:transparent;clear:both;word-wrap:break-=
word;background-repeat:initial initial">
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:0=
px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;bo=
rder-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-le=
ft-width:0px;border-style:initial;border-color:initial;font-size:14px;verti=
cal-align:baseline;background-color:transparent;clear:both;word-wrap:break-=
word;background-repeat:initial initial">
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;margin-l=
eft:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0=
px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;bord=
er-left-width:0px;border-style:initial;border-color:initial;font-size:14px;=
vertical-align:baseline;background-color:transparent;clear:both;word-wrap:b=
reak-word;background-repeat:initial initial">
Thanks</p><p style=3D"margin-top:0px;margin-right:0px;margin-bottom:1em;mar=
gin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-l=
eft: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-align:baseline;background-color:transparent;clear:both;word-w=
rap:break-word;background-repeat:initial initial">
Kanu kukrejA</p></span>
</blockquote></div><br>
<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 />