Details
Static Properties (1)
-
__LZmonitorState
-
static private var __LZmonitorState = false;
Set to true to monitor loadMovie state changes when debugging
Static Methods (1)
-
debugLoadObj()
-
static public function debugLoadObj(loadobj : MovieClip, typename : String);
Annotate loadobj for debugging
Can be used by subclasses that provide their own loadobj. Cf.,
LzMediaLoader
Properties (14)
-
attachDepth
-
public var attachDepth = 9;
-
copyLoopsPerFrame
-
public var copyLoopsPerFrame = 1000;
-
copyQueue
-
public var copyQueue = null;
-
doCacheRequest
-
public var doCacheRequest = true;
-
doPersist
-
public var doPersist = false;
-
maxLoopTime
-
public var maxLoopTime = 2000;
-
minHeader
-
public var minHeader = 10;
-
newContextDepth
-
public var newContextDepth = 3238;
-
proxied
-
public var proxied = true;
-
queuing
-
public var queuing = false;
-
requestheaders
-
public var requestheaders = { ... };
-
secure
-
public var secure = false;
-
secureport
-
public var secureport = null;
-
timeout
-
public var timeout = 30000;
Methods (19)
-
abort()
-
private function abort(req);
-
copyFlashData()
-
private function copyFlashData();
-
copyFlashXML()
-
private function copyFlashXML(node, trimwhitespace : boolean, nsprefix : boolean);
-
_dbg_name()
-
private function _dbg_name();
-
destroy()
-
private function destroy();
-
doTimeOut()
-
private function doTimeOut(loadobj : MovieClip);
-
getLastLoadtime()
-
private function getLastLoadtime();
-
getLoadMovie()
-
private function getLoadMovie();
This creates an initial movie that we keep state on. LzLoadQueue
will attach a movie to that to load the actual resource into. We
can't use the same movie, because loading replaces all attributes.
We have to use a movie here instead of an object, because movies
can only be attached to movies.
-
initialize()
-
public function initialize(owner, args);
-
initializeRequestObj()
-
private function initializeRequestObj(loadobj);
-
queuedCopyFlashXML()
-
private function queuedCopyFlashXML(xmlnode);
-
queuedCopyFlashXML_internal()
-
private function queuedCopyFlashXML_internal();
-
removeCopyTask()
-
private function removeCopyTask();
-
request()
-
private function request(o);
-
requestDirectXML()
-
private function requestDirectXML(o);
Request a data load using Flash XML object
-
returnData()
-
private function returnData(loadobj, data);
[1] A movieclip whose _parent is the loader request movieclip [see getLoadMovie()]
[2] A Flash XML Object (holding the response from a serverless data
request) which is also the object referred to in the various
bookeeping for queues, timeouts, etc.
-
setHeaders()
-
public function setHeaders(headers);
-
startCopyTask()
-
private function startCopyTask();
-
unload()
-
private function unload(loadobj : MovieClip);
Events (4)
-
ondata
-
-
onerror
-
-
onrequest
-
-
ontimeout
-
JavaScript Synopsis
private
LzLoader {
static public function
debugLoadObj
(
loadobj : MovieClip,
typename : String);
prototype private function
abort
(
req);
prototype private function
copyFlashXML
(
node,
trimwhitespace : boolean,
nsprefix : boolean);
prototype private function
destroy
();
prototype private function
doTimeOut
(
loadobj : MovieClip);
prototype public function
initialize
(
owner,
args);
prototype public event
ondata
;
prototype private function
request
(
o);
prototype private function
returnData
(
loadobj,
data);
prototype private function
unload
(
loadobj : MovieClip);
}