| S | |
| saturation, AnimationManager | |
| SaturationAnimation, SaturationAnimation | |
| saveSettings, airSprite | |
| scale | |
| ScaleAnimation, ScaleAnimation | |
| ScaleSelection, Asset | |
| SceneGraph, SceneGraph | |
| ScriptField, ScriptField | |
| Scrollbar, Scrollbar | |
| ScrollbarDown, CommonAsset | |
| scrollbarHandler, ScriptField | |
| ScrollbarSlider, CommonAsset | |
| ScrollbarUp, CommonAsset | |
| scrollHandler, ScriptField | |
| searchForKey, HashMap | |
| securityErrorHandler, mSprite | |
| selectStrokeAt, SceneGraph | |
| selectStrokeByName, SceneGraph | |
| serializeSettings, airSprite | |
| set | |
| Set, Set | |
| setActive, WidgetSprite | |
| setAdvancedTweenParams, MovieObjectGenerator | |
| setAll, BitVector | |
| setAt | |
| setBevelParams, StrokeFilter | |
| setBit, BitVector | |
| setBlurParams, StrokeFilter | |
| setBoxParams, StrokeStyle | |
| setCol, Array2 | |
| setDefaultValues, ColorMatrix | |
| setDropShadowParams, StrokeFilter | |
| setEndFill, StrokeStyle | |
| setFillParams, StrokeStyle | |
| setFocus, TabPane | |
| setFocusHandler, TabPane | |
| setFrame, Timeline | |
| setFrameRate, Timeline | |
| setGradientParams, StrokeStyle | |
| setLeft, BinaryTreeNode | |
| setMinMax, Scrollbar | |
| setOwnerActive, WidgetSprite | |
| setPathTweenParams, MovieObjectGenerator | |
| setRefreshRate, Renderer | |
| setRight, BinaryTreeNode | |
| setRow, Array2 | |
| setSelectionChangeCallback, Stroke | |
| setSelectionIndexCallback, SceneGraph | |
| setSelectionStrokeCallback, SceneGraph | |
| setSizeChangeCallback, SceneGraph | |
| setStageReference, AnimationManager | |
| setStyleParams, StrokeStyle | |
| setTweenParams, MovieObjectGenerator | |
| setupCoordinateSystem, StrokeObjectGenerator | |
| setupMovieProperties, MovieObjectGenerator | |
| setupSceneMethods, MovieObjectGenerator | |
| setupStrokeActions, StrokeObjectGenerator | |
| setupStrokeProperties, StrokeObjectGenerator | |
| setupTimeline, MovieObjectGenerator | |
| setupTimelineTweens, MovieObjectGenerator | |
| shadow, Color | |
| ShapeButton, ShapeButton | |
| ShapeSVG, ShapeSVG | |
| shiftDown, Array2 | |
| shiftLeft, Array2 | |
| shiftRight, Array2 | |
| shiftUp | |
| ShowDialog | |
| showGenerateForm, MainForm | |
| showSelectedStroke, SceneGraph | |
| shrinkSequencesOf | |
| sineIn, Transitions | |
| sineInAndOut, Transitions | |
| sineOut, Transitions | |
| size, AnimationManager | |
| SizeAnimation, SizeAnimation | |
| sLinkedInsertionSort | |
| sLinkedInsertionSortCmp | |
| SLinkedList, SLinkedList | |
| sLinkedMergeSort | |
| sLinkedMergeSortCmp | |
| SListIterator, SListIterator | |
| SListNode, SListNode | |
| sort | |
| splice | |
| splitScript, ClassParser | |
| Stack, Stack | |
| start | |
| startAll, Renderer | |
| startEnterFrame, Renderer | |
| startTimer, Renderer | |
| StepperDownArrow, CommonAsset | |
| StepperUpArrow, CommonAsset | |
| stop | |
| stopAll, Renderer | |
| StopAnimation, Asset | |
| stopEnterFrame, Renderer | |
| stopTimer, Renderer | |
| storeSettings, airSprite | |
| StringInput, StringInput | |
| stripComments, MethodParser | |
| stripMethodPrefix, MovieObjectGenerator | |
| stripQuotes, MovieObjectGenerator | |
| Stroke, Stroke | |
| StrokeFilter, StrokeFilter | |
| StrokeItem, StrokeItem | |
| StrokeStyle, StrokeStyle | |
| substrUntil, Utility | |
| SyncOff, Asset | |
| SyncOn, Asset | |
| syntaxHighlight, ScriptField | 
Animates the saturation of a ‘colorable’ object to the desired target color value.
public function saturation( objTarget: IColorable, nTargetValue: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void 
Constructor.
public function SaturationAnimation( objTarget: IColorable, nTargetValue: Number, nDuration: Number, strTransition: String, uRenderMethod: uint ) 
Store settings in XML serialized form.
private function saveSettings():void 
Animates the ‘scaleX’ and ‘scaleY’ properties of a display object to the desired target values.
public function scale( objTarget: DisplayObject, nTargetValueX: Number, nTargetValueY: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void 
Scale all items in the stroke.
public function scale( xScale: Number, yScale: Number ):void 
Scale the position of a StrokeItem.
public function scale( xScale: Number, yScale: Number ):void 
Scale the width of the line according the requested scaling and the setting of the LineScaleMode property.
public function scale( xScale: Number, yScale: Number ):void 
Constructor.
public function ScaleAnimation( objTarget: DisplayObject, nTargetValueX: Number, nTargetValueY: Number, nDuration: Number, strTransition: String, uRenderMethod: uint ) 
ScaleSelection code generated by µShape.
public static function ScaleSelection():Shape 
Create a new scene graph object with a default stroke.
public function SceneGraph( onSizeChange: Function, onStrokeChange: Function, onSelectionChange: Function ) 
Creates a multi-line script field with word wrap and a vertical scrollbar.
public function ScriptField( owner: String, inputText: String = "", fieldWidth: uint = DEFAULT_WIDTH, fieldHeight: uint = DEFAULT_HEIGHT, color: uint = defaultColor, fontSize: uint = defaultFontSize ) 
Creates a vertical scrollbar suitable for a multiline text field.
public function Scrollbar( owner: String, height: uint, minValue: Number, maxValue: Number, increment: Number, positionHandler: Function, frontColor: uint = Color.Grey, backColor: uint = Color.DarkGrey ) 
ScrollbarDown code generated by µSprite.
public static function ScrollbarDown():Shape 
The user has manipulated the scrollbar position.
private function scrollbarHandler( newPosition: Number ):void 
ScrollbarSlider code generated by µSprite.
public static function ScrollbarSlider():Sprite 
ScrollbarUp code generated by µSprite.
public static function ScrollbarUp():Shape 
The user has scrolled the text in the input field.
private function scrollHandler( event: Event ):void 
Searches through the keys array to see if the key is being stored by this object.
protected function searchForKey( objKey: Object ):int 
Displays a security error message.
private function securityErrorHandler( event: SecurityErrorEvent ):void 
Change the selected stroke to the stroke with the given index.
public function selectStrokeAt( index: int ):Stroke 
Change the selected stroke to the stroke with the given asset shape name.
public function selectStrokeByName( name: String ):Stroke 
Serializes the current application state into an XML object.
private function serializeSettings():XML 
Writes a value into a cell at the given x/y index.
public function set( x: int, y: int, obj: * ):void 
Writes a value into a cell at the given x/y/z index.
public function set( x: int, y: int, z: int, obj: * ):void 
Writes an item to the set.
public function set( obj: * ):void 
Creates a new empty set.
public function Set() 
Sets the state of the widget to active or inactive.
public function setActive( state: Boolean ):void 
Sets tween parameters for a new advanced tween added to the movie timeline.
private function setAdvancedTweenParams( params: Array ):String 
Sets each bit to 1.
public function setAll():void 
Writes an item relative to the front index.
public function setAt( i: int, obj: * ):void 
Writes an item at a given index.
public function setAt( i: int, obj: * ):void 
Adds a bevel filter to the shape with the given parameters.
public function setBevelParams( params: Array ):void 
Sets a bit at a given index.
public function setBit( index: int, b: Boolean ):void 
Adds a blur filter to the shape with the given parameters.
public function setBlurParams( params: Array ):void 
Sets the gradient box properties to the given parameters.
public function setBoxParams( params: Array ):void 
Inserts new values into a complete column of the two-dimensional array.
public function setCol( x: int, a: Array ):void 
Applies all default values to the corresponding properties.
protected function setDefaultValues():void 
Adds a dropshadow filter to the shape with the given parameters.
public function setDropShadowParams( params: Array ):void 
Sets the fill properties to transparent.
public function setEndFill():void 
Sets the solid fill properties to the given parameters.
public function setFillParams( params: Array ):void 
Change focus to a named tab page.
public function setFocus( pageName: String ):void 
Changes focus to a tab page when the user clicks on its tab.
private function setFocusHandler( event: MouseEvent ):void 
Sets the current frame of the playhead.
protected function setFrame( uFrame: Number ):void 
Sets the frame rate this timeline plays at.
public function setFrameRate( nFrameRate: Number ):void 
Sets the linear or radial gradient fill properties to the given parameters.
public function setGradientParams( params: Array ):void 
Writes data into the left child.
public function setLeft( obj: * ):void 
Sets the minimum and maximum values for the scrollbar.
public function setMinMax( minValue: Number, maxValue: Number ):void 
Sets all widgets registered to owner to the given state.
public static function setOwnerActive( owner: String, state: Boolean ):void 
Sets tween parameters for a new motion path tween added to the movie timeline.
private function setPathTweenParams( params: Array ):String 
Sets the refresh rate of this renderer if it is Timer driven.
public function setRefreshRate( nRefreshRate: Number ):void 
Writes data into the right child.
public function setRight( obj: * ):void 
Inserts new values into a complete row of the two-dimensional array.
public function setRow( y: uint, a: Array ):void 
Change the callback invoked when the selectedIndex in the stroke is changed.
public function setSelectionChangeCallback( onSelectionChangeCallback: Function ):void 
Change the callback function called when the selected stroke point changes
public function setSelectionIndexCallback( onSelectionIndexCallback: Function ):void 
Change the callback function called when the selected stroke changes
public function setSelectionStrokeCallback( onSelectionStrokeCallback: Function ):void 
Change the callback function called when the scene graph changes size
public function setSizeChangeCallback( onSizeChangeCallback: Function ):void 
Sets a global reference to the ‘Stage’ if one doesn’t already exist.
protected function setStageReference( objTarget: DisplayObject ):void 
Sets the line style properties to the given parameters.
public function setStyleParams( params: Array ):void 
Sets tween parameters for a new tween added to the movie timeline.
private function setTweenParams( params: Array ):String 
Sets the stroke coordinate system for according to defined coordinate system values present in the parser.
private function setupCoordinateSystem( parser: MethodParser ):void 
Sets movie scene properties for name, background color, timeline framerate, loop state and scene coordinate system according to the values present in the parser.
private function setupMovieProperties( parser: ClassParser ):String 
Sets the movie scene graph reestablishing parent/child relationships of shapes, masks and paths.
private function setupSceneMethods( sceneRelations: Array, maskNames: Array, sceneMethods: Array ):String 
Sets stroke shape point and object item positions, line and fill styles, gradient boxes and shape filters according to the actions present in the parsed action array.
private function setupStrokeActions( actions: Array ):String 
Sets stroke properties for transparency, rotation, scale and position according to the values present in the parser.
private function setupStrokeProperties( parser: MethodParser ):void 
Sets timeline properties from a method parser object.
private function setupTimeline( parser: MethodParser ):String 
Sets timeline tweens from a method parser object.
private function setupTimelineTweens( actions: Array ):String 
Convert a color value to its shadow palette variation.
public static function shadow( color: uint ):uint 
Creates a button with a graphics shape and/or a label text.
public function ShapeButton( owner: String, upShapeFunction: Function, downShapeFunction: Function, labelText: String = null, color: uint = Color.Grey, clickHandler: Function = null, buttonWidth: Number = DEFAULT_WIDTH, buttonHeight: Number = DEFAULT_HEIGHT, autoRepeat: int = 100 ) 
ShapeSVG object Constructor.
public function ShapeSVG( shapeName: String, shapeP: Point, shapePts: Array, shapeRotation: int, shapeFill: Object, shapeStroke: Object ):void 
Shifts all rows down by one row.
public function shiftDown():void 
Shifts all columns by one column to the left.
public function shiftLeft():void 
Shifts all columns by one column to the right.
public function shiftRight():void 
Shifts all rows up by one row.
public function shiftUp():void 
Removes and appends the head node to the tail.
public function shiftUp():void 
Removes and appends the head node to the tail.
public function shiftUp():void 
Displays the color selection dialog.
public function ShowDialog( parent: Sprite, colorField: StringInput ):void 
Displays the confirmation dialog message and calls the closeHandler when the user confirms or cancels the dialog.
public function ShowDialog( parent: Sprite, confirmMessage: String = null, closeHandler: Function = null ):void 
Displays the dialog box ensuring the displayed script is up-to-date.
public function ShowDialog( parent: Sprite, closeHandler: Function = null ):void 
Displays the dialog box after updating the UI widgets from the dialogbox interchange data.
public function ShowDialog( parent: Sprite, closeHandler: Function = null ):void 
Displays the dialog box after updating the UI widgets from the dialogbox interchange data.
public function ShowDialog( parent: Sprite, tweenName: String, closeHandler: Function = null ):void 
Displays the script edit dialogbox
public function showGenerateForm():void 
Show the selected stroke.
private function showSelectedStroke():void 
Timothee Groleau’s String method shrinkSequencesOf.
public static function shrinkSequencesOf( str: String, ch: String ):String // String.prototype.shrinkSequencesOf = function(ch:String):String 
Shrink all sequences of a given character in a string to one.
public static function shrinkSequencesOf( str: String, ch: String ):String 
Sine in easing equation.
public static function sineIn( t: Number, b: Number, c: Number, d: Number ):Number 
Sine in and out easing equation.
public static function sineInAndOut( t: Number, b: Number, c: Number, d: Number ):Number 
Sine out easing equation.
public static function sineOut( t: Number, b: Number, c: Number, d: Number ):Number 
Animates the ‘width’ and ‘height’ properties of a display object to the desired target values.
public function size( objTarget: DisplayObject, nTargetValueW: Number, nTargetValueH: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void 
Constructor.
public function SizeAnimation( objTarget: DisplayObject, nTargetValueW: Number, nTargetValueH: Number, nDuration: Number, strTransition: String, uRenderMethod: uint ) 
DATA STRUCTURES FOR GAME PROGRAMMERS Copyright © 2007 Michael Baczynski, http://www.polygonal.de
public function sLinkedInsertionSort( node: SListNode, descending: Boolean = false ):SListNode 
DATA STRUCTURES FOR GAME PROGRAMMERS Copyright © 2007 Michael Baczynski, http://www.polygonal.de
public function sLinkedInsertionSortCmp( node: SListNode, cmp: Function, descending: Boolean = false ):SListNode 
Initializes an empty list.
public function SLinkedList( ...args ) 
DATA STRUCTURES FOR GAME PROGRAMMERS Copyright © 2007 Michael Baczynski, http://www.polygonal.de
public function sLinkedMergeSort( node: SListNode, descending: Boolean = false ):SListNode 
DATA STRUCTURES FOR GAME PROGRAMMERS Copyright © 2007 Michael Baczynski, http://www.polygonal.de
public function sLinkedMergeSortCmp( node: SListNode, cmp: Function, descending: Boolean = false ):SListNode 
Creates a new SListIterator instance pointing to a given node.
public function SListIterator( list: SLinkedList = null, node: SListNode = null ) 
Creates a new node storing a given item.
public function SListNode( obj: * ) 
Sorts the list.
public function sort( ...sortOptions ):void 
Sorts the list.
public function sort( ...sortOptions ):void 
Adds nodes to and removes nodes from the list.
public function splice( start: DListIterator, deleteCount: uint = 0xffffffff, ...args ):DLinkedList 
Adds nodes to and removes nodes from the list.
public function splice( start: SListIterator, deleteCount: uint = 0xffffffff, ...args ):SLinkedList 
Splits a class script into parts.
private function splitScript( script: String ):Array 
Constructor.
public function Stack() 
@inheritDoc
public function start():void 
Moves the iterator to the first item in the collection.
function start():void 
Start auto-repeating clicks on the button.
private function start( interval: uint ):void 
Start animating the shape.
public function start( interval: uint = 1000 ):void 
Nullified behaviour.
public function start():void 
Starts rendering for the specified render method.
public function start( nRenderMethod: Number ):void 
Start animating the shape.
public function start( interval: uint = 20 ):void 
Start auto-repeating clicks on the button.
private function start( interval: uint ):void 
@inheritDoc
public function start():void 
Resets the vertical iterator so that it points to the root of the tree.
public function start():void 
Starts rendering for all render methods.
public function startAll():void 
Starts listening for the enter frame event.
protected function startEnterFrame():void 
Starts the timer.
protected function startTimer():void 
StepperDownArrow code generated by µShape.
public static function StepperDownArrow():Shape 
StepperUpArrow code generated by µShape.
public static function StepperUpArrow():Shape 
Stops and removes the auto-repeat timer.
private function stop():void 
Stop animating the shape.
public function stop():void 
Stops rendering for the specified render method.
public function stop( nRenderMethod: Number ):void 
Stop animating the shape.
public function stop():void 
Stops and removes the auto-repeat timer.
private function stop():void 
Stops this timeline at the current frame.
public function stop():void 
Stops rendering for all render methods.
public function stopAll():void 
StopAnimation code generated by µSprite.
public static function StopAnimation():Shape 
Stops listening for the enter frame event.
protected function stopEnterFrame():void 
Stops the timer.
protected function stopTimer():void 
Writes the XML settings object to the application configuration file.
private function storeSettings( settings: XML ):void 
Creates a one line input text field with an optional label.
public function StringInput( owner: String, labelText: String = null, inputText: String = "", changeHandler: Function = null, labelWidth: uint = DEFAULT_LABEL_WIDTH, inputWidth: uint = DEFAULT_INPUT_WIDTH, color: uint = defaultColor, fontSize: uint = defaultFontSize ) 
Strip comments from a script.
public static function stripComments( script: String ):String 
Removes the method name prefix to obtain the name of the asset created by the method.
private function stripMethodPrefix( methodName: String ):String 
Removes double quotes from a string
private function stripQuotes( quotedString: String ):String 
Create a stroke object for a graphics shape or path.
public function Stroke( strokeStyles: Array, throughPoints: Array, curvePoints: Array, onSelectionChangeCallback: Function = null, isDefaultItem: Boolean = false ) 
Constructor that stores a reference to the shape to manage filters for.
public function StrokeFilter( shape: DisplayObject ) 
Constructor for creation of a StrokeItem.
public function StrokeItem( itemParent: DisplayObjectContainer, itemType: String, itemStyle: StrokeStyle, strokePt: Point, controlPt: Point = null, cornerPt: Point = null ) 
Creates a stroke style object holding line style and solid or gradient fill properties for a StrokeItem.
public function StrokeStyle( strokeWidth: Number = 1.0, strokeColor: uint = 0x000000, transparency: Number = 1.0, usePixelHinting: Boolean = false, strokeScaleMode: String = "normal", capStyle: String = "round", jointStyle: String = "round", strokeMiterLimit: Number = 3, numColorsInFill: uint = 0, fillColor: uint = 0x000000, fillAlpha: Number = 1.0, gradientType: String = "linear", spreadMethod: String = "pad", interpolationMethod: String = "rgb", focalRatio: Number = 0, gradientBoxWidth: Number = 100, gradientBoxHeight: Number = 100, gradientBoxRotation: Number = 0, gradientBoxTx: Number = 0, gradientBoxTy: Number = 0, fillColors: Array = null, fillAlphas: Array = null, fillRatios: Array = null ) 
Returns a substring matching the part of string until the end token.
public static function substrUntil( str: String, endToken: String ):String 
SyncOff code generated by µShape.
public static function SyncOff():Shape 
SyncOn code generated by µShape.
public static function SyncOn():Shape 
Syntax highlights by setting text formats on the script field text.
private function syntaxHighlight():void