Package: pumpkin.display

MovieClip


Description

MovieClip plays movieclips exported from Flash.



Constructors

MovieClip

Create empty movieclip.

MovieClip

Create movie clip with a swf linkage uri eg. some.swf:ExportName.

MovieClip

Create movie clip with a swf linkage uri eg. some.swf:ExportName.

MovieClip

Create movie clip with a swf filename and symbol name.

MovieClip

Create movie clip with a swf linkage object.


Functions

gotoAndStop

Set the frame of the movieclip.

gotoAndPlay

Start playing at the specified frame.

stop

Stop playing the current timeline.

stopAll

Stop playing the current timeline and any child animations.

playAll

Start playing the current timeline and any child animations.

play

Play the timeline.

playBackwards

Play the timeline in reverse.

updateFrame

Frame update event.

newInstance

Returns new instance of the current MovieClip.

getMovieClipLayout

Returns MovieClipLayout associated with the MovieClip.


Variables

swfUri

movieClipLayout

Indicates MovieClipLayout assigned to the movieclip.

exportedSymbolName

Indicates the exported symbol name from flash.


Inherited members

Functions

setSymbolName

Set exported swf symbol name.

setFrameLabel

Set frame by frame label.

getFrameLabel

Get frame number from a label name.

setFrameForce

Warning! Internal use only.

setFrame

Set frame number.

invalidateFrameCache

Invalidate frame cache.

updateFrame

Frame update handler.

setPlayState

Set player state eg.

getTotalFrames

Get total number of frames.

getCurrentFrame

Get current frame.

getSymbolName

Get symbol name.

addFrameScript

Add frame callback for a frame or label.

removeFrameScript

Remove frame callback for a frame or label.

findMovieClipInSharedAssets

Find shared symbol in loaded/cached swf files.

findBitmapFontAssetInfoInSharedAssets

Find shared font in shared assets.

findBitmapFontAssetInfoInSharedAssetsByFontName

findBitmapFontAssetInfoInSharedAssetsByAttribute

preloadSWF

Preload swf data.

preloadSWF

Preload swf data with textures.

isSwfLoaded

Check if swf is loaded into cache.

preloadSWFTextures

Preload swf with textures.

clearContextCache

Clear swf MovieClip cache.

unloadSwf

getRuntimeContent

Returns runtime asset context.

getGlobalContextCache

Returns global asset context cache.

registerGlobalLinkage

Register global linkage class.

registerGlobalLinkage

Register global linkage class.


Variables

STATE_STOPPED

MovieClipPlayer.playState stopped.

STATE_PLAYING

MovieClipPlayer.playState playing.

STATE_PLAYING_REVERSE

MovieClipPlayer.playState playing backwards.

enableTextfieldKeyframes

[alpha] Enable TextField contents to be keyframed.

loadTextures

Set texture loading enabled during movie playback.

swfRoot

Global swf resource root prefix.

swfProfile

Swf asset profile prefix.

swfLoggingOptions

Logging options.

profilerSettings

Global movieclip profile setting.

movieClipProfilerLogger

Global movieclip profile logger, depends on profilerSettings settings.

enableAdvancedTextfield

[alpha][dev][future] Experimental textfield that support htmltext like xml tags.

enableTrueTypeTextfield

Enable TTF textfield.

enableDepreciatedPreFrameCallback

[migration] Enable frame callback before child display objects are setup in the frame.

enableScale9

[alpha] Enable scale9 grid on movieclips ( experimental use only )

enableDepreciatedInnerMovieClipFrameSetup

[migration]

enableUVSubPixelBug

[migration]

rootResourceLoader

Root resource loader, handles swf resource loading.

displayObjectInternalCachePurgeFrameInverval

Purge display object cache frame interval, greater frame count will keep display objects in cache for longer.

displayObjectInternalCachePurgeNumPerStep

Purge display object cache ammount, triggered when frame update count equals displayObjectInternalCachePurgeFrameInverval .

playState

Set the playState id.

isPlaying

Indicates if the MovieClip is playing.

totalFrames

Get total number of frames.

currentFrame

Get current frame.

currentLabel

Get current frame label.

currentLabels

Get all labels.

looping

Timeline looping.

assetContext

SwfAsset context that stores the MovieClip animation data.

movieClipInfo

MovieClip asset info.