Example
The following example sets the
elapsed since the SWF file started playing:
timeElapsed = getTimer();
trace (timeElapsed);// Output: milliseconds of time movie has been playing
getURL()
Availability
Flash Lite 1.0.
Usage
getURL(url [ , window [, "variables"]])
Operands
The URL from which to obtain the document.
url
An optional parameter that specifies the window or HTML frame that the
window
document should load into.
The window parameter is not specified for Flash Lite applications, because browsers on
cell phones do not support multiple windows.
You can enter an empty string, or the name of a specific window, or choose from the following
reserved target names:
specifies the current frame in the current window.
_self
specifies a new window.
_blank
specifies the parent of the current frame.
_parent
specifies the top-level frame in the current window.
_top
A
or
variables
GET
parameter. The
method appends the variables to the end of the URL and is used for small
GET
numbers of variables. The
used for sending long strings of variables.
Description
Function; loads a document from a specific URL into a window or passes variables to another
application at a defined URL. To test this function, make sure the file you want to load is in
the specified location. To use an absolute URL (for example, http://www.myserver.com), you
need a network connection.
16
Flash Lite Global Functions
timeElapsed
method for sending variables. If there are no variables, omit this
POST
method sends the variables in a separate HTTP header and is
POST
variable to the number of milliseconds that
Need help?
Do you have a question about the FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?