Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Form mail with Flash
From: Helen Triolo
Date: Thu, 26 Oct 2000 13:58:02 +0100

Two things you could try:

1) Don't go straight to the frame where you check the variable returned
from Perl. Instead, stick in a loop to wait for command ne "" before
proceeding. Then go to frame "Sending".

2) Change the loadvariables to a geturl temporarily, which will cause
the Perl script to dump to the browser instead of returning the value to
Flash. That way you can check and see what the contents of "command"
are in the browser window. When that's correct, change the getURL back
to a Loadvarsnum statement to return the value to Flash instead.

Regards,
Helen
---------------------------------------------------
Flash 5 Journal: http://i-technica.com/flash5
Flash Q&A archive: http://i-technica.com/flashlist

Motomichi wrote:
>
> Hi, to all
>
> I am working on a formmail with Flash. I got to have it work finally but now
> the client wants "sending.." and "sent ok!" message. I am a most generic and
> popular formamail script by worldwidemart.com. The mail gets sent out but
> the flash movie gets stuck.
>
> The following is the script I am using after for the button;
>
> on (release) {
> loadVariablesNum ("http://www.qrime.com/cgi-bin/formmail.pl", 0,
> "POST");
> gotoAndPlay ("sending");
> }
>
> Here is the script in the frame "sending":
>
> }
>
> if (command eq "end") {
> gotoAndStop ("sendok");
> } else if (command eq "error") {
> gotoAndStop ("senderror");
> } else {
> gotoAndPlay ("sending");
>
> Please let me know if anyone has any idea.
>
> Thanks,
> moto
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and the Flash(tm) Film Festival
> November 27-29, 2000, LONDON, National Film Theatre
>
> Produced by United Digital Artists and lynda.com
> -Sponsored by Macromedia, Adobe Systems and Apple Computer
> -http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
> Register before November 10 and save £200
> http:// www.flashforward2000.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save £200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Form mail with Flash, Motomichi

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]