Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Flash4 and forms |
From: | Nigel Randsley-Pena |
Date: | Thu, 5 Aug 1999 17:11:25 +0100 |
Brian,
First I'll explain what's happening and why it's not working.
You are using .../formh.pl?recipient=brian... as your target url and you
are also requesting that Flash send variables using the GET method.
Further the submit button is on the main timeline.
The GET method sends data back to the server by appending the url with a
string that starts with a question mark then includes the data as name
value pairs. Each pair is separated by & and name and value is separated
by =. Some characters in the ASCII set are also converted to their hex
representation.
Now when the movie finds that you want to send variables using GET it
takes the URL you gave it and appends the variables to it. This is
what's causing the error because you've pre appended a variable already
so the URL is sent with two starting points as indicated by two question
marks.
The correct way to implement what you are trying is to declare
recipient=brian... as a variable in your Flash movie and not by placing
it appended to the URL. So you only have to remove that part from the
Get URL call and add a set variable action.
If instead of setting send vars with GET you had set it to send vars
using POST you would never have noticed the error, as in this case the
recipient var would be sent using GET and all others would be sent using
POST, this is not however a recommended practice.
Nigel
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-managershocker [dot] com
Replies
Re: FLASH: Flash4 and forms, Brian Clifton
Replies
Re: FLASH: Flash4 and forms, Brian Clifton
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]