Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trying to get a guestbook to work...

Status
Not open for further replies.

mjstone323

Technical User
Jan 11, 2002
57
US
Hi there -

Not sure if this is the right forum but I thought I'd try...

I'm adapting a Flash guestbook that uses ActionScript to post entries. The thing hangs on the first section of the movie, although it's supposed to go automatically to the section where you can choose to add to the guestbook, and I think it might have something to do with the script (but I'm not sure).

Here is the script in the frame that seems to be the one it's hanging on:

count= "0";
todo= "read";
index= 1;
eof= "false";
loadVariables (/usr/local/ "", "POST")

Or it could be hanging on the next frame:

if (eof eq "true"){
gotoAndPlay ("ende");
} else {
gotoAndPlay ("read");
}

"ende" is the section I want it to go to; "read" is the section it's hanging on.

Any ideas? Even "this isn't the right forum; try this one" would be helpful. (BTW, I've already tried the Flash forum, but no one ever answers anything with the word "guestbook" in it...why is that, I wonder?) :)
Marianne
 
My only *guess* would be that

loadVariables (/usr/local/ book.cgi", "", "POST")

should be

loadVariables ("/usr/local/ book.cgi", "", "POST") codestorm
Fire bad. Tree pretty. - Buffy
select * from population where talent > 'average'
You're not a complete programmer unless you know how to guess.
I hope I never consider myself an 'expert'.
<insert witticism here>
 
Uhhhhh...(she said with an embarrassed expression) - actually, it is that way - I guess if I want people to help me I'd better put the precise code up...
It's

count= &quot;0&quot;;
todo= &quot;read&quot;;
index= 1;
eof= &quot;false&quot;;
loadVariables (&quot;/usr/local/ &quot;&quot;, &quot;POST&quot;)

Someone in the Flash forum said maybe the cgi form needed to be configured differently, but the instructions say to only change the &quot;$basedir&quot; path and to change the local &quot;referer&quot; from &quot;0&quot; to &quot;1&quot;.
Not really sure what else to do - I can't seem to find a way to contact the designers - their emails don't work any more... :-(
MS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top