 		
 		public function remove(callback : Function) : void
 		{
-			var index : int = _callbacks.indexOf(callback);
+			var index : int = (_callbacks ? _callbacks.indexOf(callback) : -1);
 			
 			if (index < 0)
             {

			_name = name;
            _enabled = enabled;
			_disableWhenNoCallbacks = disableWhenNoCallbacks;
            
            _callbacks = new <Function>[];
		}
		
		public function add(callback : Function) : void
		{
            if (_callbacks.indexOf(callback) >= 0)
            {
                var removeIndex : int = _toRemove ? _toRemove.indexOf(callback) : -1;
                

				return ;
			}
			
			if (_callbacks) _callbacks[_numCallbacks] = callback;
			else _callbacks = new <Function>[callback];
			++_numCallbacks;
			
			if (_numCallbacks == 1 && _disableWhenNoCallbacks)
