Main Page | Package | Index | Help

com.mosesSupposes.fuse

class FuseKitCommon

Object
  |
  +--com.mosesSupposes.fuse.FuseKitCommon


class FuseKitCommon
extends Object

Shared class for common variables and error messages, also provides an easy way to extend the Kit for use with logging programs.


Author:
Moses Gunesch / MosesSupposes.com

Version:
2.1


Field Summary

public static
ALL: String = "ALL"
Constant: String "ALL". Used with ZigoEngine in methods like removeTween, rewTween, etc.

public static
ALLCOLOR: String = "ALLCOLOR"
Constant: String "ALLCOLOR". Used with ZigoEngine in methods like removeTween, rewTween, etc.

public static
logOutput: Function
To extend this class to use a logger, set this property to a custom method of your own.

public static
VERBOSE: Boolean = true
Set to false for shortform (error-code-only) responses.

public static
VERSION: String = "Fuse Kit x.x Copyright (c) 2006 Moses Gunesch, MosesSupposes.com under MIT Open Source License"
Enables kit version to be retrieved at runtime or when reviewing a decompiled swf.

Method Summary

public static
error ( errorCode: String ): Void
Internal: See this method in the class file for all normal output-level errors/warnings.



Field Documentation

ALL

public static var ALL: String = "ALL"
Constant: String "ALL". Used with ZigoEngine in methods like removeTween, rewTween, etc.

ALLCOLOR

public static var ALLCOLOR: String = "ALLCOLOR"
Constant: String "ALLCOLOR". Used with ZigoEngine in methods like removeTween, rewTween, etc.

logOutput

public static var logOutput: Function
To extend this class to use a logger, set this property to a custom method of your own.

FuseKitCommon.logOutput = function(s:String):Void { ... };

VERBOSE

public static var VERBOSE: Boolean = true
Set to false for shortform (error-code-only) responses.

Note that ZigoEngine.OUTPUT_LEVEL and Fuse.OUTPUT_LEVEL properties can be set to 0 for no output, 1 for normal, 2 for additional info, and in Fuse 3 for additional FuseItem output.

To lower filesize check "omit trace actions" in Publish Settings on final publish (trace can also be removed from compile in MTASC).

VERSION

public static var VERSION: String = "Fuse Kit x.x Copyright (c) 2006 Moses Gunesch, MosesSupposes.com under MIT Open Source License"
Enables kit version to be retrieved at runtime or when reviewing a decompiled swf.

Usage:
trace(FuseKitCommon.VERSION); // if the version is incorrect, clear your ASO cache.


Method Documentation

error

public static function error(errorCode: String): Void
Internal: See this method in the class file for all normal output-level errors/warnings.

Set VERBOSE to false for shortform (error-code-only) messages.


The documentation was generated from the following file:


Generated on 1/14/2007 11:31:53 PM