Name
MovieClip.getURL( ) Method — load a document into a browser window
Availability
Method form introduced in Flash 5 (global form supported by Flash 2,
enhanced in Flash 4 to include the method
argument)
Synopsis
mc.getURL(URL, window, method)
Arguments
- URL
A string specifying the location of the document to load or external script to run.
- window
An optional string, specifying the name of the browser window or frame into which to load the document. May be a custom name or one of the four presets:
"_blank","_ parent","_self", or"_top".
- method
An optional string literal specifying the method by which to send the variables from
mcto an external script. Must be either the literal"GET"or"POST"; no other expression is allowed.
Description
The MovieClip.getURL( ) method is an alternative
to the global getURL( ) function. Its method
form is useful only when variables are being sent, in which case
getURL( ) sends the variables from
mc, which does not have to be the current
timeline.
See Also
For general usage instructions, see the global getURL(
) function.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access