User Guide
Table Of Contents
- Contents
- Flash Lite Global Functions
- call()
- chr()
- duplicateMovieClip()
- eval ()
- getProperty()
- getTimer()
- getURL()
- gotoAndPlay()
- gotoAndStop()
- ifFrameLoaded()
- int()
- length()
- loadMovie()
- loadMovieNum()
- loadVariables()
- loadVariablesNum()
- mbchr()
- mblength()
- mbord()
- mbsubstring()
- nextFrame()
- nextScene()
- Number()
- on()
- ord()
- play()
- prevFrame()
- prevScene()
- random()
- removeMovieClip()
- set()
- setProperty()
- stop()
- stopAllSounds()
- String()
- substring()
- tellTarget()
- toggleHighQuality()
- trace()
- unloadMovie()
- unloadMovieNum()
- Flash Lite Properties
- Flash Lite Statements
- Flash Lite Operators
- add (string concatenation)
- += (addition assignment)
- and
- = (assignment)
- /* (block comment)
- , (comma)
- // (comment)
- ?: (conditional)
- -- (decrement)
- / (divide)
- /= (division assignment)
- . (dot)
- ++ (increment)
- && (logical AND)
- ! (logical NOT)
- || (logical OR)
- % (modulo)
- %= (modulo assignment)
- *= (multiplication assignment)
- * (multiply)
- + (numeric add)
- == (numeric equality)
- > (numeric greater than)
- >= (numeric greater than or equal to)
- <> (numeric inequality)
- < (numeric less than)
- <= (numeric less than or equal to)
- () (parentheses)
- " " (string delimiter)
- eq (string equality)
- gt (string greater than)
- ge (string greater than or equal to)
- ne (string inequality)
- lt (string less than)
- le (string less than or equal to)
- - (subtract)
- -= (subtraction assignment)
- Flash Lite Specific Language Elements
- Capabilities
- fscommand()
- fscommand2()
- Escape
- FullScreen
- GetBatteryLevel
- GetDateDay
- GetDateMonth
- GetDateWeekday
- GetDateYear
- GetDevice
- GetDeviceID
- GetFreePlayerMemory
- GetLanguage
- GetLocaleLongDate
- GetLocaleShortDate
- GetLocaleTime
- GetMaxBatteryLevel
- GetMaxSignalLevel
- GetMaxVolumeLevel
- GetNetworkConnectStatus
- GetNetworkName
- GetNetworkRequestStatus
- GetNetworkStatus
- GetPlatform
- GetPowerSource
- GetSignalLevel
- GetTimeHours
- GetTimeMinutes
- GetTimeSeconds
- GetTimeZoneOffset
- GetTotalPlayerMemory
- GetVolumeLevel
- Quit
- ResetSoftKeys
- SetInputTextType
- SetQuality
- SetSoftKeys
- StartVibrate
- StopVibrate
- Unescape

loadVariables() 25
Use unloadMovieNum() to remove SWF files or images that were loaded with
loadMovieNum().
Example
The following example loads the SWF file into level 2:
loadMovieNum("http://www.someserver.com/flash/circle.swf", 2);
See also
_level, loadMovie(), unloadMovieNum()
loadVariables()
Availability
Flash Lite 1.1.
Usage
loadVariables(url, target [, variables])
Operands
url A string representing an absolute or relative URL where the variables are located. If the
SWF file issuing this call is running in a web browser,
url must be in the same domain as
the SWF file.
target The target path to a movie clip that receives the loaded variables.
variables An optional string parameter specifying an HTTP method for sending
variables. The parameter must be the string
GET or POST. If there are no variables to be sent,
omit this parameter. The
GET method appends the variables to the end of the URL and is used
for small numbers of variables. The
POST method sends the variables in a separate HTTP
header and is used for long strings of variables.
Description
Function; reads data from an external file, such as a text file or text generated by a
ColdFusion, CGI, Active Server Pages (ASP), PHP, or Perl script, and sets the values for
variables in a target movie clip. This function can also update variables in the active SWF file
with new values.
The text at the specified URL must be in the standard MIME format application/x-www-
form-urlencoded (a standard format used by CGI scripts). Any number of variables can be
specified. For example, the following phrase defines several variables:
company=Macromedia&address=600+Townsend&city=San+Francisco&zip=94103