
October 24th, 2003, 02:45 PM
|
|
Contributing User
|
|
Join Date: Sep 2003
Posts: 58
Time spent in forums: < 1 sec
Reputation Power: 5
|
|
straight from the horses, erm, i mean mr moocks mouth
Quote: Prior to Flash 6, the getURL( ) function was used to send variables to a remote server application or script, and receive results in a web browser. As of Flash 6, the LoadVars.send( ) method is better suited for that task. To send the current movie clip's timeline variables to an external script using getURL(), specify the name of the script as the url argument, and use either "GET" or "POST" as the method argument. For example:
getURL("http://www.someserver.com/cgi-bin/search.pl", "resultsFrame", "GET");
When invoked as a movie clip method, getURL( ) sends the timeline variables of that clip to the remote script, as in: |
either do the getURL() inside a movieclip that contains the req vars to avoid picking up other vars like your temp vars, or...
use a LoadVars object, it's more flexible,and you arent limited to just sending data - among other things you can use the sendAndLoad method of the object to POST/GET DATA and get returned data which also triggers an event. far better 
__________________
beware of geeks bearing animated gifs.
Last edited by mushie : October 24th, 2003 at 06:47 PM.
|