Message from discussion
Calling mxmlc/fcsh from PHP script
Received: by 10.91.49.16 with SMTP id b16mr1137263agk.38.1272922792660;
Mon, 03 May 2010 14:39:52 -0700 (PDT)
X-BeenThere: flashaussie@googlegroups.com
Received: by 10.231.51.234 with SMTP id e42ls42318976ibg.2.p; Mon, 03 May 2010
14:39:51 -0700 (PDT)
Received: by 10.231.162.14 with SMTP id t14mr15064ibx.24.1272922791618;
Mon, 03 May 2010 14:39:51 -0700 (PDT)
Received: by 10.231.162.14 with SMTP id t14mr15063ibx.24.1272922791578;
Mon, 03 May 2010 14:39:51 -0700 (PDT)
Return-Path: <ric...@gmail.com>
Received: from mail-iw0-f172.google.com (mail-iw0-f172.google.com [209.85.223.172])
by gmr-mx.google.com with ESMTP id 19si568713iwn.2.2010.05.03.14.39.50;
Mon, 03 May 2010 14:39:50 -0700 (PDT)
Received-SPF: pass (google.com: domain of ric...@gmail.com designates 209.85.223.172 as permitted sender) client-ip=209.85.223.172;
Received: by iwn2 with SMTP id 2so3475734iwn.4
for <flashaussie@googlegroups.com>; Mon, 03 May 2010 14:39:50 -0700 (PDT)
Received: by 10.231.161.75 with SMTP id q11mr295480ibx.64.1272922790314; Mon,
03 May 2010 14:39:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.231.31.68 with HTTP; Mon, 3 May 2010 14:39:30 -0700 (PDT)
In-Reply-To: <h2u9d65069f1005030730xd3e0ec1cifbdfb9f798795ffb@mail.gmail.com>
References: <h2u9d65069f1005030730xd3e0ec1cifbdfb9f798795ffb@mail.gmail.com>
From: Phil Douglas <ric...@gmail.com>
Date: Tue, 4 May 2010 07:39:30 +1000
Message-ID: <z2s68f65db61005031439y342c289az36b860421f02a848@mail.gmail.com>
Subject: Re: [FlashAussie] Calling mxmlc/fcsh from PHP script
To: flashaussie@googlegroups.com
X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com:
domain of ric...@gmail.com designates 209.85.223.172 as permitted sender)
smtp.mail=ric...@gmail.com; dkim=pass (test mode) header...@gmail.com
X-Original-Sender: ric...@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=001636d34eb6be43f30485b76ef9
--001636d34eb6be43f30485b76ef9
Content-Type: text/plain; charset=ISO-8859-1
You'd have to stick to the php route. Flex/flash runs client side in the
browser, so can't call on server side command line code. All it would end up
doing is having to call on some sort of webservice written in php anyway.
On Tue, May 4, 2010 at 12:30 AM, 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<flashaussie%2Bunsubscribe@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/flashaussie?hl=en.
>
--
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.
--001636d34eb6be43f30485b76ef9
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
You'd have to stick to the php route. Flex/flash runs client side in th=
e browser, so can't call on server side command line code. All it would=
end up doing is having to call on some sort of webservice written in php a=
nyway.<br>
<br><div class=3D"gmail_quote">On Tue, May 4, 2010 at 12:30 AM, kanu kukrej=
a <span dir=3D"ltr"><<a href=3D"mailto:kanukukr...@gmail.com">kanukukrej=
a...@gmail.com</a>></span> wrote:<br><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<span style=3D"font-family:Arial, 'Liberation Sans', 'DejaVu Sa=
ns', sans-serif;font-size:14px;border-collapse:collapse;line-height:18p=
x"><p style=3D"margin-top:0px;margin-right:0px;margin-bottom:1em;margin-lef=
t: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;ve=
rtical-align:baseline;background-color:transparent;clear:both;word-wrap:bre=
ak-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>
<p></p>
-- <br><font color=3D"#888888">
You received this message because you are subscribed to the Google Groups &=
quot;Flash Aussie" group.<br>
To post to this group, send email to <a href=3D"mailto:flashaussie@googlegr=
oups.com" target=3D"_blank">flashaussie@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href=3D"mailto:flashaussie=
%2Bunsubscribe@googlegroups.com" target=3D"_blank">flashaussie+unsubscribe@=
googlegroups.com</a>.<br>
For more options, visit this group at <a href=3D"http://groups.google.com/g=
roup/flashaussie?hl=3Den" target=3D"_blank">http://groups.google.com/group/=
flashaussie?hl=3Den</a>.<br>
</font></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 />