Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | RE: FLASH: BRANDEN HALL: FLASH 4 MAGIC Guestbook/PHP |
| From: | Jason Bouwmeester |
| Date: | Thu, 17 Aug 2000 16:22:39 +0100 |
Brandon,
Thanks for your timely response. I thought pretty much the same thing. So if
I understand what you are saying, if I am running the Load Variables command
from the mc "content" then the command variable has to be specific to mc
"content"? It appears that the calling of /:max is working... at any rate,
would it be worth my while to try and place all the commands in a script mc
in the main timeline and have everything run/called from there?
Thanks again!
Jason
-----Original Message-----
From: bhall
Sent: Thursday, August 17, 2000 8:57 AM
To: flasher
Subject: RE: FLASH: BRANDEN HALL: FLASH 4 MAGIC Guestbook/PHP
The reason this is a problem is because you have to send the variable max
and the variable command to the PHP script for it to work. I can't say how
to fix your problem directly, but you need to know that the GET command
harvests all of the varibles from the timeline that the command is run it
and sends them all from there. Hence if the variable command is not in the
same timeline that the load variables command is run... it won't get sent.
-= Branden J. Hall
-= Senior Interactive Developer/Instructor
-= Fig Leaf Software - "We've got you covered!"
-----Original Message-----
From: owner
Bouwmeester
Sent: Thursday, August 17, 2000 10:45 AM
To: 'flasher
Subject: FLASH: BRANDEN HALL: FLASH 4 MAGIC Guestbook/PHP
Branden,
I hope you can help me out here (or anyone else that has this example
nailed). I've got a great handle on the Guestbook example from the Flash 4
Magic book. If I am not mistaken, this was your contribution (one of the
test files had your name in a few places hehe). Anyways, the problem that I
am having is this.
I have a main movie swf (called bk2000.swf) that is loading content movie
swfs into mc instance "content". Now, I've loaded the content_guestbook.swf
into the mc "content" and had to make a few modifications to the code,
primarily, still loading guestbook.php3 into level 0 using GET method, and
accessing ALL of the variables with /:variablename. All works fine and
dandy, however if I set the variable "command" = "view" (in the loader clip
pg 185) as Set Variable: "/:command" = "view" then the loader clip just
loops and it never continues. However if I use it as Set Variable: "command"
= "view" then it works, all the entries are loaded and viewable. Note, that
Set Variable: "/:max" = "" is working fine. So it made sense for the submit
part (pg 193) to make Set Variable: "command" = "view", however it doesn't
seem to be writing to the guest.db file. IF I run the content_guestbook.swf
by itself (without loading into mc "content") it writes to the guest.db file
and updates it no problem. Again, if I define Set Variable: "/:command" =
"view" the Thank you frame loops and doesn't continue. Also, if I Set
Variable: "done" = 0 it hangs, if I Set Variable: "/:done" = 0 it works. I
know that the guestbook.php file returns the done variable, could this be
part of the problem? If command works and /:done works it would be calling
different variables if guestbook.php3 is loaded into level 0, would it not?
Hope this makes sense, and hope you can lend a quick hand.
TIA!
jb
Jason Bouwmeester
New Media Consultant
InterVisual
Suite 200, 709 - 11th Ave SW
Calgary, AB T2R 0E3
Ph: 403.264.9199
Fax: 403.264.9225
www.intervisual.com
"Corporate Internet Developer"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

