Flasher Archive

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


Subject: Re: FLASH: Still having problems with submitting form data from a .swf
From: Helen Triolo
Date: Tue, 6 Jun 2000 02:22:36 +0100

Aaron Hokanson wrote:
>
> Hi Helen,
>
> Thanks for the tip. I have found numerous other examples recommending using
> the Load Variables command rather than the Get URL function.
>
> So, I created my text fields, assigned them variable names (name, email,
> message), created a button that uses the Load Variables command which
> activates On Release, set the level to 0, and used the POST method.
>
> However, nothing seems to happen when I post the .swf on to the web server.
> It is in an HTML page, BTW, but that shouldn't matter. I click the submit
> button, and nothing happens. I must be missing something.
>
> Are there any other little tricks that spring to mind with this kind of
> thing? Could it be that my ISP's mail program (called "mailit" on
> www.islandnet.com) simply blows chunks? They don't support PERL, which is
> ridiculous.

Hi Aaron,

Can you get anything to execute in cgi on that server? I think what I'd
do in your situation is try something really simple like a call to a
basic routine from an HTML submit button. Then if that works, call it
from Flash (with a GetURL as a test so you can see if the cgi script
gets the variables and dumps them out correctly to the browser). Then
if that works, change the GetURL back to a Load Variables (since you
know things are being passed correctly to cgi, now you just have to work
on getting them back to Flash). Sounds like a lot of work, I guess, but
in my experience starting with the easiest thing and working up is the
best way to figure out where it's going wrong.

This is the kind of stupid simple script I mean as a test:
print "Content-Type: text/html\n\n";
print "<HTML>\n";
print "<HEAD>\n";
print "<TITLE>Hello World</TITLE>\n";
print "</HEAD>\n";
print "<BODY>\n";
print "<H4>Hello World</H4>\n";
print "<P>\n";
print "</BODY>\n";
print "</HTML>\n";

Then add a statement to print out a variable that's passed and see if
that prints, and then add a statement to write a variable back to Flash
and see if that shows up in the Flash movie (in a textfield with the
same name). Forgive me if this all sounds too simplistic -- it's what I
would do without having any other ideas about why the script isn't
working.

Regards,
Helen
----------------------------------------
helen triolo � http://i-technica.com
designerati-technica [dot] com � 301-424-6037
----------------------------------------

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash� Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom

Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
www.flashforward2000.com + 1.877.4.FLASH.4
Register before June 15 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Still having problems with submit, Aaron Hokanson

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