I believe that Colin Moock had a sample that uses CGI... I remember it being named
echo.pl.
http://flash.terra.ee/flash-books/o'reilly%20-%20actionscript%20for% 20flash%20mx%20the%20definitive%20guide,%202nd%20edition/190.htm
Gerry
........................................................................ ...
http://www.thespikeranch.com
Certified Macromedia Flash MX Designer
........................................................................ ...

On May 3, 2006, at 2:28 PM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote:

Hi,
anyone uses flash with perl cgi as server side application?
I have problems with it ,seems that the script doesn't pass values to flash.
here is the perl cgi (is very simple) :

#!/bin/perl

print "Content-type: text/html\n\n";
$out="&_service_=";
for($i=0;$i<20;$i++)
{
        $out .=$i."#";
}

print $out;
exit(0);


and here is what LoadVars.contentType , .toString contain :

TYPE :application/x-www-form-urlencoded
CONTENT :%5Fservice%5F=%22%3B%0Afor%28%24i%3D0%3B%24i%3C20%3B%24i% 20%20% 29%0A%7B%0A%09%24out%20%2E%3D%24i%2E%22%23%22%3B%0A%7D%0A%0Aprint% 20%24out% 3B%0Aexit%280%29%3B%0A&%23%21%2Fbin%2Fperl%0A%0Aprint%20%22Content% 2Dtype% 3A%20text%2Fhtml%5Cn%5Cn%22%3B%0A%24out=%22&onLoad=%5Btype% 20Function%5D

and here il what i receive as value of the variable

";
for($i=0;$i


I don't understand...
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to