lightspark::Loader Class Reference

#include <flashdisplay.h>

Inherits lightspark::IThreadJob, and lightspark::DisplayObjectContainer.

Collaboration diagram for lightspark::Loader:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Loader ()
 ASFUNCTION (_constructor)
 ASFUNCTION (load)
 ASFUNCTION (loadBytes)
 ASFUNCTION (_getContentLoaderInfo)
int getDepth () const
void Render ()
bool getBounds (number_t &xmin, number_t &xmax, number_t &ymin, number_t &ymax) const

Static Public Member Functions

static void sinit (Class_base *c)
static void buildTraits (ASObject *o)

Private Types

enum  SOURCE { URL, BYTES }

Private Member Functions

void execute ()
void threadAbort ()

Private Attributes

RootMovieCliplocal_root
bool loading
bool loaded
DisplayObjectcontent
SOURCE source
tiny_string url
ByteArraybytes
LoaderInfocontentLoaderInfo

Detailed Description

Definition at line 256 of file flashdisplay.h.


Member Enumeration Documentation

Enumerator:
URL 
BYTES 

Definition at line 259 of file flashdisplay.h.


Constructor & Destructor Documentation

lightspark::Loader::Loader (  )  [inline]

Definition at line 271 of file flashdisplay.h.


Member Function Documentation

lightspark::Loader::ASFUNCTION ( _getContentLoaderInfo   ) 
lightspark::Loader::ASFUNCTION ( loadBytes   ) 
lightspark::Loader::ASFUNCTION ( load   ) 
lightspark::Loader::ASFUNCTION ( _constructor   ) 
void Loader::buildTraits ( ASObject o  )  [static]

Reimplemented from lightspark::DisplayObjectContainer.

Definition at line 190 of file flashdisplay.cpp.

void Loader::execute (  )  [private, virtual]

Implements lightspark::IThreadJob.

Definition at line 194 of file flashdisplay.cpp.

bool Loader::getBounds ( number_t xmin,
number_t xmax,
number_t ymin,
number_t ymax 
) const [virtual]

Reimplemented from lightspark::DisplayObject.

Definition at line 252 of file flashdisplay.cpp.

int lightspark::Loader::getDepth (  )  const [inline]

Definition at line 280 of file flashdisplay.h.

void Loader::Render (  )  [virtual]

Reimplemented from lightspark::DisplayObject.

Definition at line 237 of file flashdisplay.cpp.

void Loader::sinit ( Class_base c  )  [static]

Reimplemented from lightspark::DisplayObjectContainer.

Definition at line 180 of file flashdisplay.cpp.

void Loader::threadAbort (  )  [private, virtual]

Implements lightspark::IThreadJob.

Definition at line 231 of file flashdisplay.cpp.


Member Data Documentation

Definition at line 266 of file flashdisplay.h.

Definition at line 263 of file flashdisplay.h.

Definition at line 267 of file flashdisplay.h.

Definition at line 262 of file flashdisplay.h.

Definition at line 261 of file flashdisplay.h.

Definition at line 260 of file flashdisplay.h.

Definition at line 264 of file flashdisplay.h.

Definition at line 265 of file flashdisplay.h.


The documentation for this class was generated from the following files:
Generated on Tue Aug 24 19:50:36 2010 for Lightspark by  doxygen 1.6.3