| Package | gs.util |
| Class | public class FrameUtils |
Examples are in the guttershark repository.
| Method | Defined by | ||
|---|---|---|---|
|
addFrameScript(target:MovieClip, frame:Function, callback:*):Boolean
[static]
Adds a frame script to a clip.
| FrameUtils | ||
|
getFrameNumberForLabel(target:MovieClip, label:String):int
[static]
Returns the frame number of a label.
| FrameUtils | ||
|
removeFrameScript(target:MovieClip, frame:*):void
[static]
Remove a frame script from a clip.
| FrameUtils | ||
| addFrameScript | () | method |
public static function addFrameScript(target:MovieClip, frame:Function, callback:*):BooleanAdds a frame script to a clip.
Parameterstarget:MovieClip — The movie clip.
|
|
frame:Function — A frame number or frame label.
|
|
callback:* — A function callback.
|
Boolean |
| getFrameNumberForLabel | () | method |
public static function getFrameNumberForLabel(target:MovieClip, label:String):intReturns the frame number of a label.
Parameterstarget:MovieClip — The movie clip.
|
|
label:String — The frame label.
|
int |
| removeFrameScript | () | method |
public static function removeFrameScript(target:MovieClip, frame:*):voidRemove a frame script from a clip.
Parameterstarget:MovieClip — The movie clip.
|
|
frame:* — A frame number or frame label.
|