| Package | com.rockonflash.papervision3d.utils |
| Class | public class SWFObject |
| Inheritance | SWFObject flash.events.EventDispatcher |
| Method | Defined 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 | ||
| Constant | Defined 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 | ||
| 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
Parametersp_id:String — String object's identifier
|
|
url:String — String SWF file's location
|
|
target:Sprite — Sprite who's displayList to add this SWF to
|
| getMC | () | method |
public function getMC():MovieClipReturns a reference to the actual movieclip
ReturnsMovieClip — MovieClip
|
| LOAD_COMPLETE | constant |
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:
| type | String |
|---|---|
| id | String |
| mc | MovieClip |
| bubbles | Boolean |
| cancelable | Boolean |