Sendandload (Loadvars.sendandload Method) - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

sendAndLoad (LoadVars.sendAndLoad method)

public sendAndLoad(url:String, target:Object, [method:String]) : Boolean
Posts variables in the
parsed as variable data, and the resulting variables are placed in the
Variables are posted in the same manner as
in the same manner as
target
In SWF files running in a version of the player earlier than Flash Player 7,
same superdomain as the SWF file that is issuing this call. A superdomain is derived by
removing the left-most component of a file's URL. For example, a SWF file at
www.someDomain.com can load data from sources at store.someDomain.com, because both
files are in the same superdomain of someDomain.com.
In SWF files of any version running in Flash Player 7 or later,
domain. For example, a SWF file at www.someDomain.com can load data only from sources
that are also at www.someDomain.com. If you want to load data from a different domain, you
can place a cross-domain policy file on the server hosting the SWF file.
This method is similar to
Availability: ActionScript 1.0; Flash Lite 2.0 - Behavior changed in Flash Player 7.
Parameters
- A string; the URL to which to upload variables. If the SWF file issuing this call
url:String
is running in a web browser,
- The LoadVars or XML object that receives the downloaded variables.
target:Object
[optional] - A string; the
method:String
default value is
.
POST
Returns
- A Boolean value.
Boolean
404
ActionScript classes
object to the specified URL. The server response is downloaded,
my_lv
LoadVars.load()
XML.sendAndLoad()
must be in the same domain as the SWF file.
url
GET
. Variables are downloaded into
LoadVars.send()
.
url
.
or
method of the HTTP protocol. The
POST
object.
target
must be in the
url
must be in exactly the same

Advertisement

Table of Contents
loading

Table of Contents