Flasher Archive

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


Subject: Re: FLASH: Re: Form mail with Flash
From: Helen Triolo
Date: Fri, 27 Oct 2000 13:56:55 +0100

frame 1:
on (release) {
loadVariablesNum ("formmail.pl", 0, "POST");
gotoAndPlay ("loading");
}
frame 2 (loading):
if (command != null) { // variable "command" returned from perl?
gotoAndPlay("sending"); // yes, continue
}
frame 3:
gotoAndPlay(loading); // no, keep looping

frame 4 (sending):
rest of your code

You can do it in F5 with onClipEvent(data), but this way (from F4) works
too. More info in the Q/A archive (url below) if you want.

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

Motomichi wrote:
>
> proceeding." How can I do that? Sorry if I am asking something very basic...
>
> The following is the script I am using after for the button;
>
> on (release) {
> loadVariablesNum ("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");
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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: Re: Form mail with Flash, Motomichi

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