com.FlashDynamix.utils

class Delegate

Object | +--com.FlashDynamix.utils.Delegate

class Delegate extends Object
The Delegate class creates a function wrapper to let you run a function in the context of the original object, rather than in the context of the second object, when you pass a function from one object to another.

    Field Summary

    public static ID: Number
    Creates a functions wrapper for the original function so that it runs in the provided context.

    Method Summary

    static create ( obj: Object, func: Function, caller ): Function
    static delay ( time: Number, obj: Object, func: Function, args: Array )