Package: pumpkin.swf

MovieClipPlayer

function addFrameScript( frameOrLabel : object, callback : FrameCallback ) : bool

Parameters

frameOrLabel

A number (int) representing the frame or a frame label (string).

callback

Callback triggered when the frame starts.


Description
Add frame callback for a frame or label.

The CEvent callback argument will have the target set to the source MovieClip. Please note only one callback per frame is supported.