Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: CGI mail-Script for Flash |
From: | Helen Triolo |
Date: | Sun, 18 Jun 2000 13:40:01 +0100 |
Pascal Brun wrote:
>
> It's the week of the flash-problems for me!! (Thanks Cheri & Helen for your
> explanations
> on my txt.scroll-variables path problem:-)). So here's my new prob' (a little
> OT?):
> I created a simple form in Flash4 & used one of my usual cgi-scripts to do the
> mailing
> on the server.. but my script wants to output a html-page with an
> error/confirmation page...
> now.. all the field testing is already done in Flash..meaning my script only gets
> the variables
> once everything is filled in correctly... but as said.. my cgi wants to output
> something.
Hello again, Pascal (looks like Cheri the night-owl finally went to bed,
so I'll try from here). Instead of calling the cgi with a getURL, call
it with a Load Variables (so control stays with the flash movie). And
instead of using a redirect variable to output a thank you page, have
the cgi script send a variable back to the flash movie saying it got and
sent the stuff. Replace the redirect with something like the following,
and then check for variable success after doing the Load Variables (and
a 2-frame wait loop for the value to be returned):
print "Content-type: text/plain\n\n"; (at start of perl script, of
course)
print "success=1"; (replaces redirect code and returns this to flash)
Regards,
Helen
----------------------------------------
helen triolo � http://i-technica.com
designeri-technica [dot] com � 301-424-6037
----------------------------------------
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 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
Re: FLASH: Light BEAM animation, Neil Weinberg
FLASH: CGI mail-Script for Flash, Pascal Brun
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]