Package: pumpkin.display
[Expermimental class] to load compiled uniSWF MovieClips from a remote url, please read detailed notes ( link ).
This will be merged into the core of the MovieClip class with a http:// scheme.
Note: Only works with embeded and external assets.
WARNING: Will not work with raw swf files from flash. WARNING: Texture memory is based on references to this class instance but also will need to be manualy unloaded using WWWMovieClip.unload(). please use with caution on mobile devices as memory use will be high.
Create new WWWMovieClip. |
Set the frame of the movieclip. | |
Start playing at the specified frame. | |
Stop playing the current timeline. | |
Stop playing the current timeline and any child animations. | |
Play the timeline. | |
Play the timeline in reverse. | |
Frame update event. | |
Returns new instance of the current MovieClip. | |
Returns MovieClipLayout associated with the MovieClip. | |
Frame callback for addFrameScript() | |
Set exported swf symbol name. | |
Set frame by frame label. | |
Get frame number from a label name. | |
Set frame number. | |
Invalidate frame cache. | |
Frame update handler. | |
Set player state eg. | |
Get total number of frames. | |
Get current frame. | |
Get symbol name. | |
Add frame callback for a frame or label. | |
Preload swf data. | |
Preload swf data with textures. | |
Preload swf with textures. | |
Clear swf MovieClip cache. | |
| |
Returns runtime asset context. | |
Get the DisplayObject under the position. | |
Updates local bounding box from the DisplayObject contents. | |
Add DisplayObject to the DisplayObjectContainer at a specified index. | |
Add DisplayObject to the DisplayObjectContainer. | |
Remove DisplayObject from the DisplayObjectContainer. | |
Changes the index or draw order of the DisplayObject in the DisplayObjectContainer. | |
Remove all child DisplayObjects. | |
Remove child DisplayObject at index. | |
Get child index from a DisplayObject reference. | |
Get a DisplayObject from a child index. | |
Determins if the DisplayObject exists in the DisplayObjectContainer. | |
Get a child DisplayObject by name. | |
Frame update handler ( internal ) | |
Get the DisplayObject under the position. | |
Updates local bounding box from the DisplayObject contents. | |
Invalidate internal transform matrix cache. | |
Broadcast event to the DisplayObject and its children. | |
Get the combined matrix. | |
Get the combined matrix. | |
Set the DisplayObject local bounding box. | |
Returns a Rectangle of the DisplayObject relative to the target. | |
Updates local bounding box from the DisplayObject contents. | |
Get the DisplayObject transform matrix. | |
Set the local transform matrix. | |
Same as getMatrix but does some tweaks for converting coordinate systems (internal). | |
Get the DisplayObject under the x,y position. | |
Get the DisplayObject under the position. | |
Transform the local position to global stage space. | |
Transform the global position to local space. | |
Helper to calculate the inherited alpha blend value from the DisplayObject parents. | |
Helper to calculate the inherited color transform from the DisplayObject parents. | |
Helper to calculate the inherited blendmode from the DisplayObject parents. | |
Frame update handler ( internal ) | |
Invalidate internal transform matrix cache. | |
Get a child DisplayObject by name. | |
Get a child DisplayObject | |
Get a child DisplayObject at an index. | |
Get a child DisplayObject | |
Sets the color transform and every child object ( unstable ). | |
Sets the color transform and every child object ( unstable ). | |
Broadcast event to the DisplayObject and its children. | |
Fire event on the current DisplayObject. | |
Start dragging the DisplayObject, locks position relative to the mouse position. | |
Start dragging the DisplayObject, release on global mouse up. | |
Start dragging the DisplayObject, constrain to a rectangle. | |
Stop dragging this DisplayObject. | |
| |
Add listener function to response to the event type. | |
Add listener function to response to the event type with capture. | |
Add GameObject message handler, dispatching event sends message to the method name listenerFun. | |
Add GameObject message handler, dispatching event sends message to the method name listenerFun with capture. | |
Same as dispatchEvent but void return type workarround for closures. | |
Dispatches an even bound using addEventListener. | |
Remove all event listeners. | |
Remove event listener. | |
Remove event listener with capture. | |
Remove event listener. | |
Remove event listener with capture. | |
Returns true if the event is being listened on. | |
Returns true if the event is being listened on. |
| |
MovieClipPlayer.playState stopped. | |
MovieClipPlayer.playState playing. | |
MovieClipPlayer.playState playing backwards. | |
Global swf resource root prefix. | |
Swf asset profile prefix. | |
Global movieclip profile setting. | |
[alpha][dev][future] Experimental textfield that support htmltext like xml tags. | |
[alpha][dev][future] Disables timeline tweens if user changes or override proporties on the DisplayObject. | |
[alpha] Enable scale9 grid on movieclips ( experimental use only ) | |
Root resource loader, handles swf resource loading. | |
[alpha] Enable TextField contents to be keyframed. | |
Set texture loading enabled during movie playback. | |
Set the playState id. | |
Indicates if the MovieClip is playing. | |
Get total number of frames. | |
Get current frame. | |
Get current frame label. | |
Timeline looping. | |
Graphics handle to setup drawing operations. | |
Enable mouse interaction. | |
Disables mouse interaction on child DisplayObjects. | |
Enables sprite to act as a button. | |
Migration fix, addChild will invaldate matrix when enabled. | |
Gets the total number of DisplayObjects in the DisplayObjectContainer. | |
A reference to the Stage when this or one of its parents exist on the stage. | |
Indicates the name of the DisplayObject. | |
Exported source width in pixels. | |
Exported source height in pixels. | |
Not imlemented. | |
Not imlemented. | |
Not imlemented. | |
Associate user data with this display object. | |
| |
| |
Not implemented. | |
Not implemented. | |
Not implemented. | |
Clip rect, clips contents this object and its children in the given rectangle in local space. | |
Has clip rect. | |
[alpha][dev] Experimental bitmap mask implementation. | |
Indicates the local mouse x position in pixels. | |
Indicates the local mouse y position in pixels. | |
Indicates the x coordinate of the DisplayObject in local coordinates relative to the parent DisplayObjectContainer. | |
Indicates the y coordinate of the DisplayObject in local coordinates relative to the parent DisplayObjectContainer. | |
Indicates the rotation of the DisplayObject in degrees relative to the parent DisplayObjectContainer. | |
Indicates the x scale of the DisplayObject in normal units relative to the parent DisplayObjectContainer. | |
Indicates the y scale of the DisplayObject in normal units relative to the parent DisplayObjectContainer. | |
Indicates the alpha blending value of the DisplayObject. | |
| |
Indicates the DisplayObject visibility. | |
| |
Set when the DisplayObject is attached to a parent DisplayObjectContainer. | |
Indicates the DisplayObject width in pixels. | |
Indicates the DisplayObject height in pixels. | |
Indicates the DisplayObject blend mode. | |
Indicates the DisplayObject color transform. | |
| |
Global max call depth all event dispatchers can recurse. |