Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Tutorial needed: Flash and CGI |
From: | Helen Triolo |
Date: | Tue, 14 Mar 2000 01:58:35 GMT |
Jason_Schubringaal [dot] org wrote:
>
> Sorry if this has been beaten to death already, but what I am looking for is a
> tutorial that demonstrates how to send information to a CGI using Flash 4 (that
> part is easy) and have Flash react in certain ways depending on what the CGI
> sends back (that is what I need to learn). Don't need help with Flash *telling*
> the CGI, but more with Flash *listening* to the CGI's response.
>
Jason,
I don't think it's been beaten to death at all. To return something
from a Perl script, according to a previous posting from Redstar, you
need the following:
#!/usr/bin/perl
use CGI ':standard';
...
rest of PERL programme
...
print header;
print "Var1=Var1_value...etc...";
and make sure in your Flash that you do the Load Variables to level0
(eg, Load Variables ("xxx.pl", 0, vars=POST)) if the variables you're
working with (Var1 in the above example) are on the main timeline. As
far as Flash doing something based on what's returned, you could just
use if Var1="somevalue" kind of statements to direct the outcome.
Perhaps you already knew all this--I wasn't sure exactly what you meant
by "Flash *listening* to the CGI's response".
hth,
Helen
__________________________________________________________________
i-Technica: Innovative Internet Solutions (http://i-Technica.com)
designeri-technica [dot] com
301-424-6037
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California
-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: Tutorial needed: Flash and CGI, Jason_Schubring
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]