                 _targetsToRemove = null;
             }
         }
-        
+
         override minko_scene function addTarget(target : ISceneNode) : void
         {
             if (_targetsListLocked)

package aerys.minko.scene.controller
{
	import aerys.minko.ns.minko_scene;
	import aerys.minko.render.Viewport;
	import aerys.minko.scene.node.ISceneNode;
	import aerys.minko.scene.node.Scene;
	import aerys.minko.type.KeyboardManager;
	import aerys.minko.type.MouseManager;
	
	import flash.display.BitmapData;
	import flash.utils.Dictionary;

    use namespace minko_scene;
    
	public class AbstractScriptController extends EnterFrameController
	{
        private var _scene              : Scene;

		private var _deltaTime		    : Number;
		private var _currentTarget	    : ISceneNode;
		private var _viewport		    : Viewport;

        private var _targetsListLocked  : Boolean;
        private var _targetsToAdd       : Vector.<ISceneNode>;
        private var _targetsToRemove    : Vector.<ISceneNode>;

		private var _updateRate			: Number;

        protected function get scene() : Scene
        {
            return _scene;
        }

		protected function get time() : Number
		{
			return _time;
		}

		protected function get deltaTime() : Number
		{
			return _deltaTime;
		}

		protected function get keyboard() : KeyboardManager
		{
			return _viewport.keyboardManager;
		}

		protected function get mouse() : MouseManager
		{
			return _viewport.mouseManager;
		}

		protected function get viewport() : Viewport
		{
			return _viewport;
		}

		protected function get updateRate() : Number
		{
			return _updateRate;
