Loadvars - 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

LoadVars

Object
|
+-LoadVars
public dynamic class LoadVars
extends
Object
You can use the LoadVars class to obtain verification of successful data loading and to monitor
download progress. The LoadVars class is an alternative to the loadVariables() function for
transferring variables between a Flash application and a server.
The LoadVars class lets you send all the variables in an object to a specified URL and load all
the variables at a specified URL into an object. It also lets you send specific variables, rather
than all the variables, which can make your application more efficient. You can use the
LoadVars.onLoad handler to ensure that your application runs when data is loaded, and not
before.
The LoadVars class works much like the XML class; it uses the methods
to communicate with a server. The main difference between the LoadVars
sendAndLoad()
class and the XML class is that LoadVars transfers ActionScript name and value pairs, rather
than an XML DOM tree stored in the XML object. The LoadVars class follows the same
security restrictions as the XML class.
Availability: ActionScript 1.0; Flash Lite 2.0
See also
loadVariables function
390
ActionScript classes
,
onLoad (LoadVars.onLoad handler)
,
, and
load()
send()
,
XML

Advertisement

Table of Contents
loading

Table of Contents