Packagecom.rockonflash.papervision3d.utils
Classpublic class SWFObject
InheritanceSWFObject Inheritance flash.events.EventDispatcher

A basic SWFObject represents a loaded SWF file and provides basic loading functionality and a get method for getting the actual movieclip's reference



Public Methods
 MethodDefined by
  
SWFObject(p_id:String, url:String, target:Sprite)
Creates a new SWFObject, loads the specified SWF, and adds it to the displayList of the target specified
SWFObject
  
getMC():MovieClip
Returns a reference to the actual movieclip
SWFObject
Public Constants
 ConstantDefined by
  LOAD_COMPLETE : String = "loadComplete"
[static] The SWFObject.LOAD_COMPLETE constant defines the value of the type property of the event object for a loadComplete event.
SWFObject
Constructor detail
SWFObject()constructor
public function SWFObject(p_id:String, url:String, target:Sprite)

Creates a new SWFObject, loads the specified SWF, and adds it to the displayList of the target specified

Parameters
p_id:String — String object's identifier
 
url:String — String SWF file's location
 
target:Sprite — Sprite who's displayList to add this SWF to
Method detail
getMC()method
public function getMC():MovieClip

Returns a reference to the actual movieclip

Returns
MovieClip — MovieClip
Constant detail
LOAD_COMPLETEconstant
public static const LOAD_COMPLETE:String = "loadComplete"

The SWFObject.LOAD_COMPLETE constant defines the value of the type property of the event object for a loadComplete event.

The properties of the event object have the following values:

typeString
idString
mcMovieClip
bubblesBoolean
cancelableBoolean