FuseItem.as File Reference

Go to the source code of this file.

Classes

class  com.mosesSupposes.fuse.FuseItem

Functions

 if (nTgErrors >0 &&outputLevel >0)
 return ((propsAdded=='')?null:propsAdded.slice(0,-1))
function doTimerTween (actualTargets:Array, duration:Number, delay:Number, trigger:Boolean, booleans:Object, callback:Object, event:Object)
function onTweenEnd (o:Object)
function onTweenInterrupt (o:Object)
function complete (outputLevel:Number)
function parseClock (str:String)
function fireEvents (o:Object, scope:Object, outputLevel:Number)


Function Documentation

function complete ( outputLevel:Number   )  [private]

Internal method fired when the Fuse should advance.

Parameters:
outputLevel 

Definition at line 1199 of file FuseItem.as.

Referenced by com.mosesSupposes.fuse.Fuse.advance(), gugga.application.FictiveSectionsTransition.doMiddlePointTasks(), gugga.application.FictiveSectionsTransition.onCompletionPreconditionsTaskCompleted(), onTweenEnd(), onTweenInterrupt(), and com.mosesSupposes.fuse.FuseItem.startItem().

function doTimerTween ( actualTargets:Array  ,
duration:Number  ,
delay:Number  ,
trigger:Boolean  ,
booleans:Object  ,
callback:Object  ,
event:Object   
) [private]

Definition at line 1084 of file FuseItem.as.

Referenced by com.mosesSupposes.fuse.FuseItem.if().

function fireEvents ( o:Object  ,
scope:Object  ,
outputLevel:Number   
) [private]

Internal method used to both trigger custom Fuse events and fire freestanding callbacks not handled by the engine.

Parameters:
o condensed object with relevant information like scope, functions, arguments, event names, etc.
outputLevel current outputLevel as determined by what classes are currently being used and what their OUTPUT_LEVEL settings are

Definition at line 1243 of file FuseItem.as.

References if().

Referenced by com.mosesSupposes.fuse.FuseItem.if(), onTweenEnd(), and com.mosesSupposes.fuse.FuseItem.startItem().

Here is the call graph for this function:

if ( nTgErrors  ,
0 &&  outputLevel,
 
) [package]

Definition at line 1074 of file FuseItem.as.

Referenced by com.mosesSupposes.fuse.ZManager.addTween(), com.mosesSupposes.fuse.ZManager.alterTweens(), gugga.tracking.TrackManager.applyConfigFromXml(), gugga.logging.LogManager.applyConfigFromXml(), fireEvents(), com.mosesSupposes.fuse.FuseItem.FuseItem(), onTweenEnd(), onTweenInterrupt(), com.mosesSupposes.fuse.FuseItem.startItem(), gugga.utils.XML2Object.translateXML(), and com.mosesSupposes.fuse.ZManager.update().

function onTweenEnd ( o:Object   )  [private]

An event dispatched by each animation target via the engine. This method dissects the target and properties sent in the event object, looking for a match in the internal tween array _aTweens, which is progressively deleted. Also handles tweens tagged with a trigger property and sets boolean end values on associated tween completion.

Parameters:
o event object containing target and completed-property information

Definition at line 1098 of file FuseItem.as.

References complete(), fireEvents(), and if().

Referenced by com.mosesSupposes.fuse.ZManager.addTween(), onTweenInterrupt(), com.mosesSupposes.fuse.FuseItem.pause(), and tweens.zigo.TweenManager.update().

Here is the call graph for this function:

function onTweenInterrupt ( o:Object   )  [private]

An event dispatched by the ZigoEngine class when a target is removed or a tween is overwritten.

Parameters:
o event object containing target and interrupted-property information

Definition at line 1173 of file FuseItem.as.

References complete(), if(), and onTweenEnd().

Referenced by com.mosesSupposes.fuse.ZManager.addTween(), com.mosesSupposes.fuse.ZManager.removeTween(), and com.mosesSupposes.fuse.ZManager.update().

Here is the call graph for this function:

function parseClock ( str:String   )  [private]

Internal method that parses 'timecode' style strings that user may pass for duration or delay. Strings must be in "00:00" format meaning seconds:hundreths.

Parameters:
str the string value to be parsed into a numerical duration representing seconds
Returns:
time in seconds

Definition at line 1220 of file FuseItem.as.

Referenced by com.mosesSupposes.fuse.FuseItem.evalDelay().

return ( (propsAdded=='')?null:propsAdded.slice(0,-1)   )  [package]


Generated on Fri May 11 17:12:46 2007 for GuggaFramework by  doxygen 1.5.2