Package: pumpkin.display

WWWMovieClip

This class is known to leak memory and will cause your application to crash.

[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.


Constructors

WWWMovieClip

Create new WWWMovieClip.


Functions

updateFrame

unload

[internal] Unload the current swf, to remove completely ensure WWWMovieClip.unloadCache() is called.

unload

[internal] Unload the current swf, to remove completely ensure WWWMovieClip.unloadCache() is called.

unloadCache

unloadCache

clearContextCache

Clear the texture cache.

clearContextCache

Clear the texture cache.


Variables

nonReadableTextures

wwwMovieClipCache

loadingDepQueue


Inherited members

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.

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

swfUri

movieClipLayout

Indicates MovieClipLayout assigned to the movieclip.

exportedSymbolName

Indicates the exported symbol name from flash.

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.