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, 29 Jul 1999 14:29:11 +0100

Brian,

You don't need a text field for this.
Have each area of the map clickable, either by converting each area to a
button or by placing an invisible button over each area on the map.
Place the following action on each button, for Scotland it would be :
On (Release)
Set Variable: "choice" = "Scotland"
Get URL ("/path_to/file.cgi", vars=GET)
End On
This will do what you need.
A variation on this is :
On (Release)
Get URL ("/path_to/file.cgi?choice=Scotland")
End On

These examples are based on GET. I have noticed that most posters don't
know when to use GET or POST so as an added bonus some tips.
In pratical terms GET and POST are nearly identical. So when do we use
one or the other.
Well first an important distinction results returned from GET may be
cached while results returned from POST are not cached.
Simple rule to decide when to use GET and when to use POST.
When you send information back to the server this information may or may
not change the server's state. If the information you are sending back
will NOT change the servers state use GET if i will change the server's
state use POST.
So if the information you send back will go into a database for example
or will be written to a file on the server, then we have a change of
state and POST should be used other cases GET is OK.

Nigel

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [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-manageratshocker [dot] com


Replies
  Re: FLASH: Flash4 and forms, Jason Nugent

Replies
  FLASH: Flash4 and forms, Brian Clifton

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