Flasher Archive

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


Subject: Re: FLASH: Form mail with Flash
From: Motomichi
Date: Fri, 27 Oct 2000 11:37:53 +0100

Guys, Thanks for the great tips!! Let me try both to see which is easier for
me. I am pretty bad at scripting...

Best Regards
>
>
> Date: Thu, 26 Oct 2000 08:41:15 -0400
> From: Helen Triolo <designerati-technica [dot] com>
> Subject: Re: FLASH: Form mail with Flash
>
> 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

i think your script isn't looping correctly
i would put an extra frame after the "sending" frame

"sending" would read:

if (command eq "end") {
gotoAndStop ("sendok");
} else if (command eq "error") {
gotoAndStop ("senderror");
}

and the next frame:

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


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