You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2017/05/03 06:26:53 UTC

[1/4] flex-typedefs git commit: manually clean up externs for createjs and get rid of patches

Repository: flex-typedefs
Updated Branches:
  refs/heads/develop 8c617b873 -> 6a8852148


http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/2658a72d/createjs/src/main/patch/tweenjs.patch
----------------------------------------------------------------------
diff --git a/createjs/src/main/patch/tweenjs.patch b/createjs/src/main/patch/tweenjs.patch
deleted file mode 100644
index 2b2140c..0000000
--- a/createjs/src/main/patch/tweenjs.patch
+++ /dev/null
@@ -1,2875 +0,0 @@
-
-Generated from Ant script
-diff --git a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/CSSPlugin.js b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/CSSPlugin.js
-index 52e0206..0fe6341 100644
---- a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/CSSPlugin.js
-+++ b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/CSSPlugin.js
-@@ -31,16 +31,16 @@
- */
- 
- // namespace:
--this.createjs = this.createjs||{};
- 
--(function() {
--	"use strict";
-+
-+
-+
- 
- 	/**
- 	 * A TweenJS plugin for working with numeric CSS string properties (ex. top, left). To use simply install after
- 	 * TweenJS has loaded:
- 	 *
--	 *      createjs.CSSPlugin.install();
-+	 *      createjs.createjs.CSSPlugin.install();
- 	 *
- 	 * You can adjust the CSS properties it will work with by modifying the <code>cssSuffixMap</code> property. Currently,
- 	 * the top, left, bottom, right, width, height have a "px" suffix appended.
-@@ -49,7 +49,7 @@ this.createjs = this.createjs||{};
- 	 * @class CSSPlugin
- 	 * @constructor
- 	 **/
--	function CSSPlugin() {
-+	createjs.CSSPlugin = function() {
- 		throw("CSSPlugin cannot be instantiated.")
- 	}
- 
-@@ -65,14 +65,14 @@ this.createjs = this.createjs||{};
- 	 * @type Object
- 	 * @static
- 	 **/
--	CSSPlugin.cssSuffixMap = {top:"px",left:"px",bottom:"px",right:"px",width:"px",height:"px",opacity:""};
-+	createjs.CSSPlugin.cssSuffixMap = {top:"px",left:"px",bottom:"px",right:"px",width:"px",height:"px",opacity:""};
- 
- 	/**
- 	 * @property priority
- 	 * @protected
- 	 * @static
- 	 **/
--	CSSPlugin.priority = -100; // very low priority, should run last
-+	createjs.CSSPlugin.priority = -100; // very low priority, should run last
- 
- 
- // static methods
-@@ -81,8 +81,8 @@ this.createjs = this.createjs||{};
- 	 * @method install
- 	 * @static
- 	 **/
--	CSSPlugin.install = function() {
--		var arr = [], map = CSSPlugin.cssSuffixMap;
-+	createjs.CSSPlugin.install = function() {
-+		var arr = [], map = createjs.CSSPlugin.cssSuffixMap;
- 		for (var n in map) { arr.push(n); }
- 		createjs.Tween.installPlugin(CSSPlugin, arr);
- 	}
-@@ -92,8 +92,8 @@ this.createjs = this.createjs||{};
- 	 * @protected
- 	 * @static
- 	 **/
--	CSSPlugin.init = function(tween, prop, value) {
--		var sfx0,sfx1,style,map = CSSPlugin.cssSuffixMap;
-+	createjs.CSSPlugin.init = function(tween, prop, value) {
-+		var sfx0,sfx1,style,map = createjs.CSSPlugin.cssSuffixMap;
- 		if ((sfx0 = map[prop]) == null || !(style = tween.target.style)) { return value; }
- 		var str = style[prop];
- 		if (!str) { return 0; } // no style set.
-@@ -110,7 +110,7 @@ this.createjs = this.createjs||{};
- 	 * @protected
- 	 * @static
- 	 **/
--	CSSPlugin.step = function(tween, prop, startValue, endValue, injectProps) {
-+	createjs.CSSPlugin.step = function(tween, prop, startValue, endValue, injectProps) {
- 		// unused
- 	}
- 
-@@ -119,13 +119,13 @@ this.createjs = this.createjs||{};
- 	 * @protected
- 	 * @static
- 	 **/
--	CSSPlugin.tween = function(tween, prop, value, startValues, endValues, ratio, wait, end) {
--		var style,map = CSSPlugin.cssSuffixMap;
-+	createjs.CSSPlugin.tween = function(tween, prop, value, startValues, endValues, ratio, wait, end) {
-+		var style,map = createjs.CSSPlugin.cssSuffixMap;
- 		if (map[prop] == null || !(style = tween.target.style)) { return value; }
- 		style[prop] = value+map[prop];
- 		return createjs.Tween.IGNORE;
- 	}
- 
--	createjs.CSSPlugin = CSSPlugin;
- 
--}());
-+
-+
-diff --git a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Ease.js b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Ease.js
-index e3a0809..c69b895 100644
---- a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Ease.js
-+++ b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Ease.js
-@@ -1,462 +1,188 @@
--/*
--* Ease
--* Visit http://createjs.com/ for documentation, updates and examples.
--*
--* Copyright (c) 2010 gskinner.com, inc.
--*
--* Permission is hereby granted, free of charge, to any person
--* obtaining a copy of this software and associated documentation
--* files (the "Software"), to deal in the Software without
--* restriction, including without limitation the rights to use,
--* copy, modify, merge, publish, distribute, sublicense, and/or sell
--* copies of the Software, and to permit persons to whom the
--* Software is furnished to do so, subject to the following
--* conditions:
--*
--* The above copyright notice and this permission notice shall be
--* included in all copies or substantial portions of the Software.
--*
--* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
--* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
--* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
--* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
--* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
--* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
--* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
--* OTHER DEALINGS IN THE SOFTWARE.
--*/
--
-+/** @fileoverview Auto-generated Externs files
-+ * @externs
-+ */
- /**
-- * @module TweenJS
-+ * The Ease class provides a collection of easing functions for use with TweenJS. It does not use the standard 4 param
-+ * easing signature. Instead it uses a single param which indicates the current linear ratio (0 to 1) of the tween.
-+ * 
-+ * Most methods on Ease can be passed directly as easing functions:
-+ * 
-+ * Tween.get(target).to({x:100}, 500, createjs.Ease.linear);
-+ * 
-+ * However, methods beginning with "get" will return an easing function based on parameter values:
-+ * 
-+ * Tween.get(target).to({y:200}, 500, createjs.Ease.getPowIn(2.2));
-+ * 
-+ * Please see the <a href="http://www.createjs.com/Demos/TweenJS/Tween_SparkTable">spark table demo</a> for an
-+ * overview of the different ease types on <a href="http://tweenjs.com">TweenJS.com</a>.
-+ * 
-+ * <em>Equations derived from work by Robert Penner.</em>
-+ *
-+ * @see [Ease]
-+ * @constructor
-  */
-+createjs.Ease = function () {}
-+
-+    /**
-+     * Configurable elastic ease.
-+     *
-+     * @param {(number|null)} amplitude 
-+     * @param {(number|null)} period 
-+     * @see [Ease]
-+     * @returns {(Function|null)} 
-+     */
-+createjs.Ease.getElasticIn = function (amplitude, period) {  return null; }
-+
-+    /**
-+     * @param {(number|null)} t 
-+     * @see [Ease]
-+     * @returns {(number|null)} 
-+     */
-+createjs.Ease.circOut = function (t) { return 0; }
-+
-+    /**
-+     * @param {(number|null)} t 
-+     * @see [Ease]
-+     * @returns {(number|null)} 
-+     */
-+createjs.Ease.linear = function (t) { return 0; }
-+
-+    /**
-+     * @param {(number|null)} t 
-+     * @see [Ease]
-+     * @returns {(number|null)} 
-+     */
-+createjs.Ease.sineIn = function (t) { return 0; }
-+
-+    /**
-+     * @param {(number|null)} t 
-+     * @see [Ease]
-+     * @returns {(number|null)} 
-+     */
-+createjs.Ease.sineOut = function (t) { return 0; }
-+
-+    /**
-+     * Mimics the simple -100 to 100 easing in Flash Pro.
-+     *
-+     * @param {(number|null)} amount A value from -1 (ease in) to 1 (ease out) indicating the strength and direction of the ease.
-+     * @see [Ease]
-+     * @returns {(Function|null)} 
-+     */
-+createjs.Ease.get = function (amount) {  return null; }
-+
-+    /**
-+     * Configurable "back in" ease.
-+     *
-+     * @param {(number|null)} amount The strength of the ease.
-+     * @see [Ease]
-+     * @returns {(Function|null)} 
-+     */
-+createjs.Ease.getBackIn = function (amount) {  return null; }
-+
-+    /**
-+     * @param {(number|null)} t 
-+     * @see [Ease]
-+     * @returns {(number|null)} 
-+     */
-+createjs.Ease.circIn = function (t) { return 0; }
-+
-+    /**
-+     * Configurable "back out" ease.
-+     *
-+     * @param {(number|null)} amount The strength of the ease.
-+     * @see [Ease]
-+     * @returns {(Function|null)} 
-+     */
-+createjs.Ease.getBackOut = function (amount) {  return null; }
-+
-+    /**
-+     * Configurable elastic ease.
-+     *
-+     * @param {(number|null)} amplitude 
-+     * @param {(number|null)} period 
-+     * @see [Ease]
-+     * @returns {(Function|null)} 
-+     */
-+createjs.Ease.getElasticInOut = function (amplitude, period) {  return null; }
-+
-+    /**
-+     * @param {(number|null)} t 
-+     * @see [Ease]
-+     * @returns {(number|null)} 
-+     */
-+createjs.Ease.bounceInOut = function (t) { return 0; }
-+
-+    /**
-+     * @param {(number|null)} t 
-+     * @see [Ease]
-+     * @returns {(number|null)} 
-+     */
-+createjs.Ease.bounceIn = function (t) { return 0; }
-+
-+    /**
-+     * @param {(number|null)} t 
-+     * @see [Ease]
-+     * @returns {(number|null)} 
-+     */
-+createjs.Ease.sineInOut = function (t) { return 0; }
-+
-+    /**
-+     * @param {(number|null)} t 
-+     * @see [Ease]
-+     * @returns {(number|null)} 
-+     */
-+createjs.Ease.circInOut = function (t) { return 0; }
-+
-+    /**
-+     * Configurable exponential ease.
-+     *
-+     * @param {(number|null)} pow The exponent to use (ex. 3 would return a cubic ease).
-+     * @see [Ease]
-+     * @returns {(Function|null)} 
-+     */
-+createjs.Ease.getPowOut = function (pow) {  return null; }
-+
-+    /**
-+     * Configurable "back in out" ease.
-+     *
-+     * @param {(number|null)} amount The strength of the ease.
-+     * @see [Ease]
-+     * @returns {(Function|null)} 
-+     */
-+createjs.Ease.getBackInOut = function (amount) {  return null; }
-+
-+    /**
-+     * Configurable exponential ease.
-+     *
-+     * @param {(number|null)} pow The exponent to use (ex. 3 would return a cubic ease).
-+     * @see [Ease]
-+     * @returns {(Function|null)} 
-+     */
-+createjs.Ease.getPowIn = function (pow) {  return null; }
-+
-+    /**
-+     * Configurable exponential ease.
-+     *
-+     * @param {(number|null)} pow The exponent to use (ex. 3 would return a cubic ease).
-+     * @see [Ease]
-+     * @returns {(Function|null)} 
-+     */
-+createjs.Ease.getPowInOut = function (pow) {  return null; }
-+
-+    /**
-+     * Configurable elastic ease.
-+     *
-+     * @param {(number|null)} amplitude 
-+     * @param {(number|null)} period 
-+     * @see [Ease]
-+     * @returns {(Function|null)} 
-+     */
-+createjs.Ease.getElasticOut = function (amplitude, period) {  return null; }
-+
-+    /**
-+     * @param {(number|null)} t 
-+     * @see [Ease]
-+     * @returns {(number|null)} 
-+     */
-+createjs.Ease.bounceOut = function (t) { return 0; }
- 
--// namespace:
--this.createjs = this.createjs||{};
--
--(function() {
--	"use strict";
--
--	/**
--	 * The Ease class provides a collection of easing functions for use with TweenJS. It does not use the standard 4 param
--	 * easing signature. Instead it uses a single param which indicates the current linear ratio (0 to 1) of the tween.
--	 *
--	 * Most methods on Ease can be passed directly as easing functions:
--	 *
--	 *      Tween.get(target).to({x:100}, 500, Ease.linear);
--	 *
--	 * However, methods beginning with "get" will return an easing function based on parameter values:
--	 *
--	 *      Tween.get(target).to({y:200}, 500, Ease.getPowIn(2.2));
--	 *
--	 * Please see the <a href="http://www.createjs.com/Demos/TweenJS/Tween_SparkTable">spark table demo</a> for an
--	 * overview of the different ease types on <a href="http://tweenjs.com">TweenJS.com</a>.
--	 *
--	 * <em>Equations derived from work by Robert Penner.</em>
--	 * @class Ease
--	 * @static
--	 **/
--	function Ease() {
--		throw "Ease cannot be instantiated.";
--	}
--
--
--// static methods and properties
--	/**
--	 * @method linear
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.linear = function(t) { return t; };
--
--	/**
--	 * Identical to linear.
--	 * @method none
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.none = Ease.linear;
--
--	/**
--	 * Mimics the simple -100 to 100 easing in Flash Pro.
--	 * @method get
--	 * @param {Number} amount A value from -1 (ease in) to 1 (ease out) indicating the strength and direction of the ease.
--	 * @static
--	 * @return {Function}
--	 **/
--	Ease.get = function(amount) {
--		if (amount < -1) { amount = -1; }
--		if (amount > 1) { amount = 1; }
--		return function(t) {
--			if (amount==0) { return t; }
--			if (amount<0) { return t*(t*-amount+1+amount); }
--			return t*((2-t)*amount+(1-amount));
--		};
--	};
--
--	/**
--	 * Configurable exponential ease.
--	 * @method getPowIn
--	 * @param {Number} pow The exponent to use (ex. 3 would return a cubic ease).
--	 * @static
--	 * @return {Function}
--	 **/
--	Ease.getPowIn = function(pow) {
--		return function(t) {
--			return Math.pow(t,pow);
--		};
--	};
--
--	/**
--	 * Configurable exponential ease.
--	 * @method getPowOut
--	 * @param {Number} pow The exponent to use (ex. 3 would return a cubic ease).
--	 * @static
--	 * @return {Function}
--	 **/
--	Ease.getPowOut = function(pow) {
--		return function(t) {
--			return 1-Math.pow(1-t,pow);
--		};
--	};
--
--	/**
--	 * Configurable exponential ease.
--	 * @method getPowInOut
--	 * @param {Number} pow The exponent to use (ex. 3 would return a cubic ease).
--	 * @static
--	 * @return {Function}
--	 **/
--	Ease.getPowInOut = function(pow) {
--		return function(t) {
--			if ((t*=2)<1) return 0.5*Math.pow(t,pow);
--			return 1-0.5*Math.abs(Math.pow(2-t,pow));
--		};
--	};
--
--	/**
--	 * @method quadIn
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.quadIn = Ease.getPowIn(2);
--	/**
--	 * @method quadOut
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.quadOut = Ease.getPowOut(2);
--	/**
--	 * @method quadInOut
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.quadInOut = Ease.getPowInOut(2);
--
--	/**
--	 * @method cubicIn
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.cubicIn = Ease.getPowIn(3);
--	/**
--	 * @method cubicOut
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.cubicOut = Ease.getPowOut(3);
--	/**
--	 * @method cubicInOut
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.cubicInOut = Ease.getPowInOut(3);
--
--	/**
--	 * @method quartIn
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.quartIn = Ease.getPowIn(4);
--	/**
--	 * @method quartOut
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.quartOut = Ease.getPowOut(4);
--	/**
--	 * @method quartInOut
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.quartInOut = Ease.getPowInOut(4);
--
--	/**
--	 * @method quintIn
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.quintIn = Ease.getPowIn(5);
--	/**
--	 * @method quintOut
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.quintOut = Ease.getPowOut(5);
--	/**
--	 * @method quintInOut
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.quintInOut = Ease.getPowInOut(5);
--
--	/**
--	 * @method sineIn
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.sineIn = function(t) {
--		return 1-Math.cos(t*Math.PI/2);
--	};
--
--	/**
--	 * @method sineOut
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.sineOut = function(t) {
--		return Math.sin(t*Math.PI/2);
--	};
--
--	/**
--	 * @method sineInOut
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.sineInOut = function(t) {
--		return -0.5*(Math.cos(Math.PI*t) - 1);
--	};
--
--	/**
--	 * Configurable "back in" ease.
--	 * @method getBackIn
--	 * @param {Number} amount The strength of the ease.
--	 * @static
--	 * @return {Function}
--	 **/
--	Ease.getBackIn = function(amount) {
--		return function(t) {
--			return t*t*((amount+1)*t-amount);
--		};
--	};
--	/**
--	 * @method backIn
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.backIn = Ease.getBackIn(1.7);
--
--	/**
--	 * Configurable "back out" ease.
--	 * @method getBackOut
--	 * @param {Number} amount The strength of the ease.
--	 * @static
--	 * @return {Function}
--	 **/
--	Ease.getBackOut = function(amount) {
--		return function(t) {
--			return (--t*t*((amount+1)*t + amount) + 1);
--		};
--	};
--	/**
--	 * @method backOut
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.backOut = Ease.getBackOut(1.7);
--
--	/**
--	 * Configurable "back in out" ease.
--	 * @method getBackInOut
--	 * @param {Number} amount The strength of the ease.
--	 * @static
--	 * @return {Function}
--	 **/
--	Ease.getBackInOut = function(amount) {
--		amount*=1.525;
--		return function(t) {
--			if ((t*=2)<1) return 0.5*(t*t*((amount+1)*t-amount));
--			return 0.5*((t-=2)*t*((amount+1)*t+amount)+2);
--		};
--	};
--	/**
--	 * @method backInOut
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.backInOut = Ease.getBackInOut(1.7);
--
--	/**
--	 * @method circIn
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.circIn = function(t) {
--		return -(Math.sqrt(1-t*t)- 1);
--	};
--
--	/**
--	 * @method circOut
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.circOut = function(t) {
--		return Math.sqrt(1-(--t)*t);
--	};
--
--	/**
--	 * @method circInOut
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.circInOut = function(t) {
--		if ((t*=2) < 1) return -0.5*(Math.sqrt(1-t*t)-1);
--		return 0.5*(Math.sqrt(1-(t-=2)*t)+1);
--	};
--
--	/**
--	 * @method bounceIn
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.bounceIn = function(t) {
--		return 1-Ease.bounceOut(1-t);
--	};
--
--	/**
--	 * @method bounceOut
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.bounceOut = function(t) {
--		if (t < 1/2.75) {
--			return (7.5625*t*t);
--		} else if (t < 2/2.75) {
--			return (7.5625*(t-=1.5/2.75)*t+0.75);
--		} else if (t < 2.5/2.75) {
--			return (7.5625*(t-=2.25/2.75)*t+0.9375);
--		} else {
--			return (7.5625*(t-=2.625/2.75)*t +0.984375);
--		}
--	};
--
--	/**
--	 * @method bounceInOut
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.bounceInOut = function(t) {
--		if (t<0.5) return Ease.bounceIn (t*2) * .5;
--		return Ease.bounceOut(t*2-1)*0.5+0.5;
--	};
--
--	/**
--	 * Configurable elastic ease.
--	 * @method getElasticIn
--	 * @param {Number} amplitude
--	 * @param {Number} period
--	 * @static
--	 * @return {Function}
--	 **/
--	Ease.getElasticIn = function(amplitude,period) {
--		var pi2 = Math.PI*2;
--		return function(t) {
--			if (t==0 || t==1) return t;
--			var s = period/pi2*Math.asin(1/amplitude);
--			return -(amplitude*Math.pow(2,10*(t-=1))*Math.sin((t-s)*pi2/period));
--		};
--	};
--	/**
--	 * @method elasticIn
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.elasticIn = Ease.getElasticIn(1,0.3);
--
--	/**
--	 * Configurable elastic ease.
--	 * @method getElasticOut
--	 * @param {Number} amplitude
--	 * @param {Number} period
--	 * @static
--	 * @return {Function}
--	 **/
--	Ease.getElasticOut = function(amplitude,period) {
--		var pi2 = Math.PI*2;
--		return function(t) {
--			if (t==0 || t==1) return t;
--			var s = period/pi2 * Math.asin(1/amplitude);
--			return (amplitude*Math.pow(2,-10*t)*Math.sin((t-s)*pi2/period )+1);
--		};
--	};
--	/**
--	 * @method elasticOut
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.elasticOut = Ease.getElasticOut(1,0.3);
--
--	/**
--	 * Configurable elastic ease.
--	 * @method getElasticInOut
--	 * @param {Number} amplitude
--	 * @param {Number} period
--	 * @static
--	 * @return {Function}
--	 **/
--	Ease.getElasticInOut = function(amplitude,period) {
--		var pi2 = Math.PI*2;
--		return function(t) {
--			var s = period/pi2 * Math.asin(1/amplitude);
--			if ((t*=2)<1) return -0.5*(amplitude*Math.pow(2,10*(t-=1))*Math.sin( (t-s)*pi2/period ));
--			return amplitude*Math.pow(2,-10*(t-=1))*Math.sin((t-s)*pi2/period)*0.5+1;
--		};
--	};
--	/**
--	 * @method elasticInOut
--	 * @param {Number} t
--	 * @static
--	 * @return {Number}
--	 **/
--	Ease.elasticInOut = Ease.getElasticInOut(1,0.3*1.5);
--
--	createjs.Ease = Ease;
--
--}());
-diff --git a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/MotionGuidePlugin.js b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/MotionGuidePlugin.js
-index 48fe018..7d12309 100644
---- a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/MotionGuidePlugin.js
-+++ b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/MotionGuidePlugin.js
-@@ -31,17 +31,17 @@
-  */
- 
- // namespace:
--this.createjs = this.createjs||{};
- 
--(function() {
--	"use strict";
-+
-+
-+
- 
- 	/**
- 	 * A TweenJS plugin for working with motion guides.
- 	 *
- 	 * To use, install the plugin after TweenJS has loaded. Next tween the 'guide' property with an object as detailed below.
- 	 *
--	 *       createjs.MotionGuidePlugin.install();
-+	 *       createjs.createjs.MotionGuidePlugin.install();
- 	 *
- 	 * <h4>Example</h4>
- 	 *
-@@ -68,7 +68,7 @@ this.createjs = this.createjs||{};
- 	 * @class MotionGuidePlugin
- 	 * @constructor
- 	 **/
--	function MotionGuidePlugin() {
-+	createjs.MotionGuidePlugin = function() {
- 		throw("MotionGuidePlugin cannot be instantiated.")
- 	};
- 
-@@ -79,32 +79,32 @@ this.createjs = this.createjs||{};
- 	 * @protected
- 	 * @static
- 	 **/
--	MotionGuidePlugin.priority = 0; // high priority, should run sooner
-+	createjs.MotionGuidePlugin.priority = 0; // high priority, should run sooner
- 
- 	/**
- 	 * @property temporary variable storage
- 	 * @private
- 	 * @static
- 	 */
--	MotionGuidePlugin._rotOffS;
-+	createjs.MotionGuidePlugin._rotOffS;
- 	/**
- 	 * @property temporary variable storage
- 	 * @private
- 	 * @static
- 	 */
--	MotionGuidePlugin._rotOffE;
-+	createjs.MotionGuidePlugin._rotOffE;
- 	/**
- 	 * @property temporary variable storage
- 	 * @private
- 	 * @static
- 	 */
--	MotionGuidePlugin._rotNormS;
-+	createjs.MotionGuidePlugin._rotNormS;
- 	/**
- 	 * @property temporary variable storage
- 	 * @private
- 	 * @static
- 	 */
--	MotionGuidePlugin._rotNormE;
-+	createjs.MotionGuidePlugin._rotNormE;
- 
- 
- // static methods
-@@ -113,7 +113,7 @@ this.createjs = this.createjs||{};
- 	 * @method install
- 	 * @static
- 	 **/
--	MotionGuidePlugin.install = function() {
-+	createjs.MotionGuidePlugin.install = function() {
- 		createjs.Tween.installPlugin(MotionGuidePlugin, ["guide", "x", "y", "rotation"]);
- 		return createjs.Tween.IGNORE;
- 	};
-@@ -123,7 +123,7 @@ this.createjs = this.createjs||{};
- 	 * @protected
- 	 * @static
- 	 **/
--	MotionGuidePlugin.init = function(tween, prop, value) {
-+	createjs.MotionGuidePlugin.init = function(tween, prop, value) {
- 		var target = tween.target;
- 		if(!target.hasOwnProperty("x")){ target.x = 0; }
- 		if(!target.hasOwnProperty("y")){ target.y = 0; }
-@@ -138,12 +138,12 @@ this.createjs = this.createjs||{};
- 	 * @protected
- 	 * @static
- 	 **/
--	MotionGuidePlugin.step = function(tween, prop, startValue, endValue, injectProps) {
-+	createjs.MotionGuidePlugin.step = function(tween, prop, startValue, endValue, injectProps) {
- 		// other props
- 		if(prop == "rotation"){
- 			tween.__rotGlobalS = startValue;
- 			tween.__rotGlobalE = endValue;
--			MotionGuidePlugin.testRotData(tween, injectProps);
-+			createjs.MotionGuidePlugin.testRotData(tween, injectProps);
- 		}
- 		if(prop != "guide"){ return endValue; }
- 
-@@ -191,18 +191,18 @@ this.createjs = this.createjs||{};
- 		temp = data.orient;
- 		data.orient = true;
- 		var o = {};
--		MotionGuidePlugin.calc(data, data.start, o);
-+		createjs.MotionGuidePlugin.calc(data, data.start, o);
- 		tween.__rotPathS = Number(o.rotation.toFixed(5));
--		MotionGuidePlugin.calc(data, data.end, o);
-+		createjs.MotionGuidePlugin.calc(data, data.end, o);
- 		tween.__rotPathE = Number(o.rotation.toFixed(5));
- 		data.orient = false;	//here and now we don't know if we need to
--		MotionGuidePlugin.calc(data, data.end, injectProps);
-+		createjs.MotionGuidePlugin.calc(data, data.end, injectProps);
- 		data.orient = temp;
- 
- 		// Setup rotation properties
- 		if(!data.orient){ return endValue; }
- 		tween.__guideData = data;
--		MotionGuidePlugin.testRotData(tween, injectProps);
-+		createjs.MotionGuidePlugin.testRotData(tween, injectProps);
- 		return endValue;
- 	};
- 
-@@ -211,7 +211,7 @@ this.createjs = this.createjs||{};
- 	 * @protected
- 	 * @static
- 	 **/
--	MotionGuidePlugin.testRotData = function(tween, injectProps){
-+	createjs.MotionGuidePlugin.testRotData = function(tween, injectProps){
- 
- 		// no rotation informat? if we need it come back, if we don't use 0 & ensure we have guide data
- 		if(tween.__rotGlobalS === undefined || tween.__rotGlobalE === undefined){
-@@ -256,13 +256,13 @@ this.createjs = this.createjs||{};
- 	 * @protected
- 	 * @static
- 	 **/
--	MotionGuidePlugin.tween = function(tween, prop, value, startValues, endValues, ratio, wait, end) {
-+	createjs.MotionGuidePlugin.tween = function(tween, prop, value, startValues, endValues, ratio, wait, end) {
- 		var data = endValues.guide;
- 		if(data == undefined || data === startValues.guide){ return value; }
- 		if(data.lastRatio != ratio){
- 			// first time through so calculate what I need to
- 			var t = ((data.end-data.start)*(wait?data.end:ratio)+data.start);
--			MotionGuidePlugin.calc(data, t, tween.target);
-+			createjs.MotionGuidePlugin.calc(data, t, tween.target);
- 			switch(data.orient){
- 				case "cw":		// mix in the original rotation
- 				case "ccw":
-@@ -279,13 +279,13 @@ this.createjs = this.createjs||{};
- 	/**
- 	 * Determine the appropriate x/y/rotation information about a path for a given ratio along the path.
- 	 * Assumes a path object with all optional parameters specified.
--	 * @param data Data object you would pass to the "guide:" property in a Tween
--	 * @param ratio 0-1 Distance along path, values outside 0-1 are "best guess"
--	 * @param target Object to copy the results onto, will use a new object if not supplied.
-+	 * @param {Object} data Data object you would pass to the "guide:" property in a Tween
-+	 * @param {Number} ratio 0-1 Distance along path, values outside 0-1 are "best guess"
-+	 * @param {Object} target Object to copy the results onto, will use a new object if not supplied.
- 	 * @return {Object} The target object or a new object w/ the tweened properties
- 	 * @static
- 	 */
--	MotionGuidePlugin.calc = function(data, ratio, target) {
-+	createjs.MotionGuidePlugin.calc = function(data, ratio, target) {
- 		if(data._segments == undefined){ throw("Missing critical pre-calculated information, please file a bug"); }
- 		if(target == undefined){ target = {x:0, y:0, rotation:0}; }
- 		var seg = data._segments;
-@@ -326,6 +326,6 @@ this.createjs = this.createjs||{};
- 		return target;
- 	};
- 
--	createjs.MotionGuidePlugin = MotionGuidePlugin;
- 
--}());
-+
-+
-diff --git a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/SamplePlugin.js b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/SamplePlugin.js
-index 371baa7..4bfca8c 100644
---- a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/SamplePlugin.js
-+++ b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/SamplePlugin.js
-@@ -31,10 +31,10 @@
-  */
- 
- // namespace:
--this.createjs = this.createjs||{};
- 
--(function() {
--	"use strict";
-+
-+
-+
- 
- 	/**
- 	 * A sample TweenJS plugin. This plugin does not actually affect tweens in any way, it's merely intended to document
-@@ -45,7 +45,7 @@ this.createjs = this.createjs||{};
- 	 * @class SamplePlugin
- 	 * @constructor
- 	 **/
--	function SamplePlugin() {
-+	createjs.SamplePlugin = function() {
- 		throw("SamplePlugin cannot be instantiated.")
- 	};
- 
-@@ -56,7 +56,7 @@ this.createjs = this.createjs||{};
- 	 * @property priority
- 	 * @static
- 	 **/
--	SamplePlugin.priority = 0;
-+	createjs.SamplePlugin.priority = 0;
- 
- 	/**
- 	 * Installs this plugin for use with TweenJS, and registers for a list of properties that this plugin will operate
-@@ -64,7 +64,7 @@ this.createjs = this.createjs||{};
- 	 * @method install
- 	 * @static
- 	 **/
--	SamplePlugin.install = function() {
-+	createjs.SamplePlugin.install = function() {
- 		// this registers this plugin to work with the "test" property.
- 		createjs.Tween.installPlugin(SamplePlugin, ["test"]);
- 	};
-@@ -75,12 +75,12 @@ this.createjs = this.createjs||{};
- 	 * @method init
- 	 * @param {Tween} tween The related tween instance.
- 	 * @param {String} prop The name of the property that is being initialized.
--	 * @param {any} value The current value of the property on the tween's target.
--	 * @return {any} The starting tween value for the property. In most cases, you would simply
-+	 * @param {Object} value The current value of the property on the tween's target.
-+	 * @return {Object} The starting tween value for the property. In most cases, you would simply
- 	 * return the value parameter, but some plugins may need to modify the starting value.
- 	 * @static
- 	 **/
--	SamplePlugin.init = function(tween, prop, value) {
-+	createjs.SamplePlugin.init = function(tween, prop, value) {
- 		console.log("init", prop, value);
- 
- 		// return the unmodified property value:
-@@ -93,14 +93,14 @@ this.createjs = this.createjs||{};
- 	 * @method init
- 	 * @param {Tween} tween The related tween instance.
- 	 * @param {String} prop The name of the property being tweened.
--	 * @param {any} startValue The value of the property at the beginning of the step. This will
-+	 * @param {Object} startValue The value of the property at the beginning of the step. This will
- 	 * be the same as the init value if this is the first step, or the same as the
- 	 * endValue of the previous step if not.
- 	 * @param {Object} injectProps A generic object to which the plugin can append other properties which should be updated on this step.
--	 * @param {any} endValue The value of the property at the end of the step.
-+	 * @param {Object} endValue The value of the property at the end of the step.
- 	 * @static
- 	 **/
--	SamplePlugin.step = function(tween, prop, startValue, endValue, injectProps) {
-+	createjs.SamplePlugin.step = function(tween, prop, startValue, endValue, injectProps) {
- 		console.log("to: ", prop, startValue, endValue);
- 	};
- 
-@@ -109,7 +109,7 @@ this.createjs = this.createjs||{};
- 	 * @method tween
- 	 * @param {Tween} tween The related tween instance.
- 	 * @param {String} prop The name of the property being tweened.
--	 * @param {any} value The current tweened value of the property, as calculated by TweenJS.
-+	 * @param {Object} value The current tweened value of the property, as calculated by TweenJS.
- 	 * @param {Object} startValues A hash of all of the property values at the start of the current
- 	 * step. You could access the start value of the current property using
- 	 * startValues[prop].
-@@ -120,13 +120,13 @@ this.createjs = this.createjs||{};
- 	 * this range.
- 	 * @param {Boolean} wait Indicates whether the current step is a "wait" step.
- 	 * @param {Boolean} end Indicates that the tween has reached the end.
--	 * @return {any} Return the value that should be assigned to the target property. For example
-+	 * @return {Object} Return the value that should be assigned to the target property. For example
- 	 * returning <code>Math.round(value)</code> would assign the default calculated value
- 	 * as an integer. Returning Tween.IGNORE will prevent Tween from assigning a value to
- 	 * the target property.
- 	 * @static
- 	 **/
--	SamplePlugin.tween = function(tween, prop, value, startValues, endValues, ratio, wait, end) {
-+	createjs.SamplePlugin.tween = function(tween, prop, value, startValues, endValues, ratio, wait, end) {
- 		// ratio is the eased ratio
- 		console.log("tween", prop, value, ratio, wait, end);
- 
-@@ -135,6 +135,6 @@ this.createjs = this.createjs||{};
- 	};
- 
- 
--	createjs.SamplePlugin = SamplePlugin;
- 
--}());
-+
-+
-diff --git a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js
-index 5546bc2..1b86359 100644
---- a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js
-+++ b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js
-@@ -1,444 +1,155 @@
--/*
--* Timeline
--* Visit http://createjs.com/ for documentation, updates and examples.
--*
--* Copyright (c) 2010 gskinner.com, inc.
--*
--* Permission is hereby granted, free of charge, to any person
--* obtaining a copy of this software and associated documentation
--* files (the "Software"), to deal in the Software without
--* restriction, including without limitation the rights to use,
--* copy, modify, merge, publish, distribute, sublicense, and/or sell
--* copies of the Software, and to permit persons to whom the
--* Software is furnished to do so, subject to the following
--* conditions:
--*
--* The above copyright notice and this permission notice shall be
--* included in all copies or substantial portions of the Software.
--*
--* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
--* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
--* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
--* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
--* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
--* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
--* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
--* OTHER DEALINGS IN THE SOFTWARE.
--*/
--
--/**
-- * @module TweenJS
-+/** @fileoverview Auto-generated Externs files
-+ * @externs
-  */
-+/**
-+ * The Timeline class synchronizes multiple tweens and allows them to be controlled as a group. Please note that if a
-+ * timeline is looping, the tweens on it may appear to loop even if the "loop" property of the tween is false.
-+ *
-+ * @see [Timeline]
-+ * @param {(Array|null)} tweens An array of Tweens to add to this timeline. See {{#crossLink "Timeline/addTween"}}{{/crossLink}} for more info.
-+ * @param {(Object|null)} labels An object defining labels for using {{#crossLink "Timeline/gotoAndPlay"}}{{/crossLink}}/{{#crossLink "Timeline/gotoAndStop"}}{{/crossLink}}. See {{#crossLink "Timeline/setLabels"}}{{/crossLink}} for details.
-+ * @param {(Object|null)} props The configuration properties to apply to this tween instance (ex. `{loop:true}`). All properties default to false. Supported props are:<UL> <LI> loop: sets the loop property on this tween.</LI> <LI> useTicks: uses ticks for all durations instead of milliseconds.</LI> <LI> ignoreGlobalPause: sets the ignoreGlobalPause property on this tween.</LI> <LI> paused: indicates whether to start the tween paused.</LI> <LI> position: indicates the initial position for this timeline.</LI> <LI> onChange: specifies a listener to add for the {{#crossLink "Timeline/change:event"}}{{/crossLink}} event.</LI> </UL>
-+ * @constructor
-+ * @extends createjs.EventDispatcher
- 
--// namespace:
--this.createjs = this.createjs||{};
--
--
--(function() {
--	"use strict";
--	
--
--// constructor	
--	/**
--	 * The Timeline class synchronizes multiple tweens and allows them to be controlled as a group. Please note that if a
--	 * timeline is looping, the tweens on it may appear to loop even if the "loop" property of the tween is false.
--	 * @class Timeline
--	 * @param {Array} tweens An array of Tweens to add to this timeline. See {{#crossLink "Timeline/addTween"}}{{/crossLink}}
--	 * for more info.
--	 * @param {Object} labels An object defining labels for using {{#crossLink "Timeline/gotoAndPlay"}}{{/crossLink}}/{{#crossLink "Timeline/gotoAndStop"}}{{/crossLink}}.
--	 * See {{#crossLink "Timeline/setLabels"}}{{/crossLink}}
--	 * for details.
--	 * @param {Object} props The configuration properties to apply to this tween instance (ex. `{loop:true}`). All properties
--	 * default to false. Supported props are:<UL>
--	 *    <LI> loop: sets the loop property on this tween.</LI>
--	 *    <LI> useTicks: uses ticks for all durations instead of milliseconds.</LI>
--	 *    <LI> ignoreGlobalPause: sets the ignoreGlobalPause property on this tween.</LI>
--	 *    <LI> paused: indicates whether to start the tween paused.</LI>
--	 *    <LI> position: indicates the initial position for this timeline.</LI>
--	 *    <LI> onChange: specifies a listener to add for the {{#crossLink "Timeline/change:event"}}{{/crossLink}} event.</LI>
--	 * </UL>
--	 * @extends EventDispatcher
--	 * @constructor
--	 **/
--	function Timeline(tweens, labels, props) {
--		this.EventDispatcher_constructor();
--
--	// public properties:
--		/**
--		 * Causes this timeline to continue playing when a global pause is active.
--		 * @property ignoreGlobalPause
--		 * @type Boolean
--		 **/
--		this.ignoreGlobalPause = false;
--
--		/**
--		 * The total duration of this timeline in milliseconds (or ticks if `useTicks `is `true`). This value is usually
--		 * automatically updated as you modify the timeline. See {{#crossLink "Timeline/updateDuration"}}{{/crossLink}}
--		 * for more information.
--		 * @property duration
--		 * @type Number
--		 * @default 0
--		 * @readonly
--		 **/
--		this.duration = 0;
--
--		/**
--		 * If true, the timeline will loop when it reaches the end. Can be set via the props param.
--		 * @property loop
--		 * @type Boolean
--		 **/
--		this.loop = false;
--
--		/**
--		 * The current normalized position of the timeline. This will always be a value between 0 and
--		 * {{#crossLink "Timeline/duration:property"}}{{/crossLink}}.
--		 * Changing this property directly will have no effect.
--		 * @property position
--		 * @type Object
--		 * @readonly
--		 **/
--		this.position = null;
--
--		// private properties:
--		/**
--		 * @property _paused
--		 * @type Boolean
--		 * @protected
--		 **/
--		this._paused = false;
--
--		/**
--		 * @property _tweens
--		 * @type Array[Tween]
--		 * @protected
--		 **/
--		this._tweens = [];
--
--		/**
--		 * @property _labels
--		 * @type Object
--		 * @protected
--		 **/
--		this._labels = null;
--
--		/**
--		 * @property _labelList
--		 * @type Array[Object]
--		 * @protected
--		 **/
--		this._labelList = null;
--
--		/**
--		 * @property _prevPosition
--		 * @type Number
--		 * @default 0
--		 * @protected
--		 **/
--		this._prevPosition = 0;
--
--		/**
--		 * @property _prevPos
--		 * @type Number
--		 * @default -1
--		 * @protected
--		 **/
--		this._prevPos = -1;
--
--		/**
--		 * @property _useTicks
--		 * @type Boolean
--		 * @default false
--		 * @protected
--		 **/
--		this._useTicks = false;
--		
--		/**
--		 * Indicates whether the timeline is currently registered with Tween.
--		 * @property _registered
--		 * @type {boolean}
--		 * @default false
--		 * @protected
--		 */
--		this._registered = false;
--
--
--		if (props) {
--			this._useTicks = props.useTicks;
--			this.loop = props.loop;
--			this.ignoreGlobalPause = props.ignoreGlobalPause;
--			props.onChange&&this.addEventListener("change", props.onChange);
--		}
--		if (tweens) { this.addTween.apply(this, tweens); }
--		this.setLabels(labels);
--		if (props&&props.paused) { this._paused=true; }
--		else { createjs.Tween._register(this,true); }
--		if (props&&props.position!=null) { this.setPosition(props.position, createjs.Tween.NONE); }
--		
--	};
--	
--	var p = createjs.extend(Timeline, createjs.EventDispatcher);
--
--	// TODO: deprecated
--	// p.initialize = function() {}; // searchable for devs wondering where it is. REMOVED. See docs for details.
--
--	
--// events:
--	/**
--	 * Called whenever the timeline's position changes.
--	 * @event change
--	 * @since 0.5.0
--	 **/
--
--
--// public methods:
--	/**
--	 * Adds one or more tweens (or timelines) to this timeline. The tweens will be paused (to remove them from the
--	 * normal ticking system) and managed by this timeline. Adding a tween to multiple timelines will result in
--	 * unexpected behaviour.
--	 * @method addTween
--	 * @param {Tween} ...tween The tween(s) to add. Accepts multiple arguments.
--	 * @return {Tween} The first tween that was passed in.
--	 **/
--	p.addTween = function(tween) {
--		var l = arguments.length;
--		if (l > 1) {
--			for (var i=0; i<l; i++) { this.addTween(arguments[i]); }
--			return arguments[0];
--		} else if (l == 0) { return null; }
--		this.removeTween(tween);
--		this._tweens.push(tween);
--		tween.setPaused(true);
--		tween._paused = false;
--		tween._useTicks = this._useTicks;
--		if (tween.duration > this.duration) { this.duration = tween.duration; }
--		if (this._prevPos >= 0) { tween.setPosition(this._prevPos, createjs.Tween.NONE); }
--		return tween;
--	};
--
--	/**
--	 * Removes one or more tweens from this timeline.
--	 * @method removeTween
--	 * @param {Tween} ...tween The tween(s) to remove. Accepts multiple arguments.
--	 * @return Boolean Returns `true` if all of the tweens were successfully removed.
--	 **/
--	p.removeTween = function(tween) {
--		var l = arguments.length;
--		if (l > 1) {
--			var good = true;
--			for (var i=0; i<l; i++) { good = good && this.removeTween(arguments[i]); }
--			return good;
--		} else if (l == 0) { return false; }
--
--		var tweens = this._tweens;
--		var i = tweens.length;
--		while (i--) {
--			if (tweens[i] == tween) {
--				tweens.splice(i, 1);
--				if (tween.duration >= this.duration) { this.updateDuration(); }
--				return true;
--			}
--		}
--		return false;
--	};
--
--	/**
--	 * Adds a label that can be used with {{#crossLink "Timeline/gotoAndPlay"}}{{/crossLink}}/{{#crossLink "Timeline/gotoAndStop"}}{{/crossLink}}.
--	 * @method addLabel
--	 * @param {String} label The label name.
--	 * @param {Number} position The position this label represents.
--	 **/
--	p.addLabel = function(label, position) {
--		this._labels[label] = position;
--		var list = this._labelList;
--		if (list) {
--			for (var i= 0,l=list.length; i<l; i++) { if (position < list[i].position) { break; } }
--			list.splice(i, 0, {label:label, position:position});
--		}
--	};
--
--	/**
--	 * Defines labels for use with gotoAndPlay/Stop. Overwrites any previously set labels.
--	 * @method setLabels
--	 * @param {Object} o An object defining labels for using {{#crossLink "Timeline/gotoAndPlay"}}{{/crossLink}}/{{#crossLink "Timeline/gotoAndStop"}}{{/crossLink}}
--	 * in the form `{labelName:time}` where time is in milliseconds (or ticks if `useTicks` is `true`).
--	 **/
--	p.setLabels = function(o) {
--		this._labels = o ?  o : {};
--	};
--
--	/**
--	 * Returns a sorted list of the labels defined on this timeline.
--	 * @method getLabels
--	 * @return {Array[Object]} A sorted array of objects with label and position properties.
--	 **/
--	p.getLabels = function() {
--		var list = this._labelList;
--		if (!list) {
--			list = this._labelList = [];
--			var labels = this._labels;
--			for (var n in labels) {
--				list.push({label:n, position:labels[n]});
--			}
--			list.sort(function (a,b) { return a.position- b.position; });
--		}
--		return list;
--	};
--
--	/**
--	 * Returns the name of the label on or immediately before the current position. For example, given a timeline with
--	 * two labels, "first" on frame index 4, and "second" on frame 8, getCurrentLabel would return:
--	 * <UL>
--	 * 		<LI>null if the current position is 2.</LI>
--	 * 		<LI>"first" if the current position is 4.</LI>
--	 * 		<LI>"first" if the current position is 7.</LI>
--	 * 		<LI>"second" if the current position is 15.</LI>
--	 * </UL>
--	 * @method getCurrentLabel
--	 * @return {String} The name of the current label or null if there is no label
--	 **/
--	p.getCurrentLabel = function() {
--		var labels = this.getLabels();
--		var pos = this.position;
--		var l = labels.length;
--		if (l) {
--			for (var i = 0; i<l; i++) { if (pos < labels[i].position) { break; } }
--			return (i==0) ? null : labels[i-1].label;
--		}
--		return null;
--	};
--
--	/**
--	 * Unpauses this timeline and jumps to the specified position or label.
--	 * @method gotoAndPlay
--	 * @param {String|Number} positionOrLabel The position in milliseconds (or ticks if `useTicks` is `true`)
--	 * or label to jump to.
--	 **/
--	p.gotoAndPlay = function(positionOrLabel) {
--		this.setPaused(false);
--		this._goto(positionOrLabel);
--	};
--
--	/**
--	 * Pauses this timeline and jumps to the specified position or label.
--	 * @method gotoAndStop
--	 * @param {String|Number} positionOrLabel The position in milliseconds (or ticks if `useTicks` is `true`) or label
--	 * to jump to.
--	 **/
--	p.gotoAndStop = function(positionOrLabel) {
--		this.setPaused(true);
--		this._goto(positionOrLabel);
--	};
--
--	/**
--	 * Advances the timeline to the specified position.
--	 * @method setPosition
--	 * @param {Number} value The position to seek to in milliseconds (or ticks if `useTicks` is `true`).
--	 * @param {Number} [actionsMode] parameter specifying how actions are handled. See the Tween {{#crossLink "Tween/setPosition"}}{{/crossLink}}
--	 * method for more details.
--	 * @return {Boolean} Returns `true` if the timeline is complete (ie. the full timeline has run & {{#crossLink "Timeline/loop:property"}}{{/crossLink}}
--	 * is `false`).
--	 **/
--	p.setPosition = function(value, actionsMode) {
--		var t = this._calcPosition(value);
--		var end = !this.loop && value >= this.duration;
--		if (t == this._prevPos) { return end; }
--		this._prevPosition = value;
--		this.position = this._prevPos = t; // in case an action changes the current frame.
--		for (var i=0, l=this._tweens.length; i<l; i++) {
--			this._tweens[i].setPosition(t, actionsMode);
--			if (t != this._prevPos) { return false; } // an action changed this timeline's position.
--		}
--		if (end) { this.setPaused(true); }
--		this.dispatchEvent("change");
--		return end;
--	};
--
--	/**
--	 * Pauses or plays this timeline.
--	 * @method setPaused
--	 * @param {Boolean} value Indicates whether the tween should be paused (`true`) or played (`false`).
--	 **/
--	p.setPaused = function(value) {
--		this._paused = !!value; 
--		createjs.Tween._register(this, !value);
--	};
--
--	/**
--	 * Recalculates the duration of the timeline. The duration is automatically updated when tweens are added or removed,
--	 * but this method is useful if you modify a tween after it was added to the timeline.
--	 * @method updateDuration
--	 **/
--	p.updateDuration = function() {
--		this.duration = 0;
--		for (var i=0,l=this._tweens.length; i<l; i++) {
--			var tween = this._tweens[i];
--			if (tween.duration > this.duration) { this.duration = tween.duration; }
--		}
--	};
--
--	/**
--	 * Advances this timeline by the specified amount of time in milliseconds (or ticks if `useTicks` is `true`).
--	 * This is normally called automatically by the Tween engine (via the {{#crossLink "Tween/tick:event"}}{{/crossLink}}
--	 * event), but is exposed for advanced uses.
--	 * @method tick
--	 * @param {Number} delta The time to advance in milliseconds (or ticks if useTicks is true).
--	 **/
--	p.tick = function(delta) {
--		this.setPosition(this._prevPosition+delta);
--	};
--
--	/**
--	 * If a numeric position is passed, it is returned unchanged. If a string is passed, the position of the
--	 * corresponding frame label will be returned, or `null` if a matching label is not defined.
--	 * @method resolve
--	 * @param {String|Number} positionOrLabel A numeric position value or label string.
--	 **/
--	p.resolve = function(positionOrLabel) {
--		var pos = Number(positionOrLabel);
--		if (isNaN(pos)) { pos = this._labels[positionOrLabel]; }
--		return pos;
--	};
--
--	/**
--	* Returns a string representation of this object.
--	* @method toString
--	* @return {String} a string representation of the instance.
--	**/
--	p.toString = function() {
--		return "[Timeline]";
--	};
--
--	/**
--	 * @method clone
--	 * @protected
--	 **/
--	p.clone = function() {
--		throw("Timeline can not be cloned.")
--	};
--
--// private methods:
--	/**
--	 * @method _goto
--	 * @param {String | Number} positionOrLabel
--	 * @protected
--	 **/
--	p._goto = function(positionOrLabel) {
--		var pos = this.resolve(positionOrLabel);
--		if (pos != null) { this.setPosition(pos); }
--	};
--	
--	/**
--	 * @method _calcPosition
--	 * @param {Number} value
--	 * @return {Number}
--	 * @protected
--	 **/
--	p._calcPosition = function(value) {
--		if (value < 0) { return 0; }
--		if (value < this.duration) { return value; }
--		return this.loop ? value%this.duration : this.duration;
--	};
--
--	createjs.Timeline = createjs.promote(Timeline, "EventDispatcher");
-+ */
-+createjs.Timeline = function (tweens, labels, props) {}
-+
-+    /**
-+     * @see [Timeline]
-+     */
-+createjs.Timeline.prototype.clone = function () {  }
-+
-+    /**
-+     * If a numeric position is passed, it is returned unchanged. If a string is passed, the position of the
-+     * corresponding frame label will be returned, or `null` if a matching label is not defined.
-+     *
-+     * @param {(number|string|null)} positionOrLabel A numeric position value or label string.
-+     * @see [Timeline]
-+     */
-+createjs.Timeline.prototype.resolve = function (positionOrLabel) {  }
-+
-+    /**
-+     * Adds a label that can be used with {{#crossLink "Timeline/gotoAndPlay"}}{{/crossLink}}/{{#crossLink "Timeline/gotoAndStop"}}{{/crossLink}}.
-+     *
-+     * @param {(string|null)} label The label name.
-+     * @param {(number|null)} position The position this label represents.
-+     * @see [Timeline]
-+     */
-+createjs.Timeline.prototype.addLabel = function (label, position) {  }
-+
-+    /**
-+     * @param {(number|null)} value 
-+     * @see [Timeline]
-+     * @returns {(number|null)} 
-+     */
-+createjs.Timeline.prototype._calcPosition = function (value) { return 0; }
-+
-+    /**
-+     * Pauses this timeline and jumps to the specified position or label.
-+     *
-+     * @param {(number|string|null)} positionOrLabel The position in milliseconds (or ticks if `useTicks` is `true`) or label to jump to.
-+     * @see [Timeline]
-+     */
-+createjs.Timeline.prototype.gotoAndStop = function (positionOrLabel) {  }
-+
-+    /**
-+     * Removes one or more tweens from this timeline.
-+     *
-+     * @see [Timeline]
-+     * @returns {?} Boolean Returns `true` if all of the tweens were successfully removed.
-+     */
-+createjs.Timeline.prototype.removeTween = function (tween) {  return null; }
-+
-+    /**
-+     * Returns the name of the label on or immediately before the current position. For example, given a timeline with
-+     * two labels, "first" on frame index 4, and "second" on frame 8, getCurrentLabel would return:
-+     * <UL>
-+     * <LI>null if the current position is 2.</LI>
-+     * <LI>"first" if the current position is 4.</LI>
-+     * <LI>"first" if the current position is 7.</LI>
-+     * <LI>"second" if the current position is 15.</LI>
-+     * </UL>
-+     *
-+     * @see [Timeline]
-+     * @returns {(string|null)} The name of the current label or null if there is no label
-+     */
-+createjs.Timeline.prototype.getCurrentLabel = function () { return ''; }
-+
-+    /**
-+     * Advances the timeline to the specified position.
-+     *
-+     * @param {(number|null)} value The position to seek to in milliseconds (or ticks if `useTicks` is `true`).
-+     * @param {number=} opt_actionsMode parameter specifying how actions are handled. See the Tween {{#crossLink "Tween/setPosition"}}{{/crossLink}} method for more details.
-+     * @see [Timeline]
-+     * @returns {(boolean|null)} Returns `true` if the timeline is complete (ie. the full timeline has run & {{#crossLink "Timeline/loop:property"}}{{/crossLink}} is `false`).
-+     */
-+createjs.Timeline.prototype.setPosition = function (value, opt_actionsMode) {  return null; }
-+
-+    /**
-+     * Pauses or plays this timeline.
-+     *
-+     * @param {(boolean|null)} value Indicates whether the tween should be paused (`true`) or played (`false`).
-+     * @see [Timeline]
-+     */
-+createjs.Timeline.prototype.setPaused = function (value) {  }
-+
-+    /**
-+     * Advances this timeline by the specified amount of time in milliseconds (or ticks if `useTicks` is `true`).
-+     * This is normally called automatically by the Tween engine (via the {{#crossLink "Tween/tick:event"}}{{/crossLink}}
-+     * event), but is exposed for advanced uses.
-+     *
-+     * @param {(number|null)} delta The time to advance in milliseconds (or ticks if useTicks is true).
-+     * @see [Timeline]
-+     */
-+createjs.Timeline.prototype.tick = function (delta) {  }
-+
-+    /**
-+     * @param {(number|string|null)} positionOrLabel 
-+     * @see [Timeline]
-+     */
-+createjs.Timeline.prototype._goto = function (positionOrLabel) {  }
-+
-+    /**
-+     * Returns a sorted list of the labels defined on this timeline.
-+     *
-+     * @see [Timeline]
-+     * @returns {(Array|null)} Object]} A sorted array of objects with label and position properties.
-+     */
-+createjs.Timeline.prototype.getLabels = function () {  return null; }
-+
-+    /**
-+     * Recalculates the duration of the timeline. The duration is automatically updated when tweens are added or removed,
-+     * but this method is useful if you modify a tween after it was added to the timeline.
-+     *
-+     * @see [Timeline]
-+     */
-+createjs.Timeline.prototype.updateDuration = function () {  }
-+
-+    /**
-+     * Adds one or more tweens (or timelines) to this timeline. The tweens will be paused (to remove them from the
-+     * normal ticking system) and managed by this timeline. Adding a tween to multiple timelines will result in
-+     * unexpected behaviour.
-+     *
-+     * @see [Timeline]
-+     * @returns {(Tween|null)} The first tween that was passed in.
-+     */
-+createjs.Timeline.prototype.addTween = function (tween) {  return null; }
-+
-+
-+    /**
-+     * Defines labels for use with gotoAndPlay/Stop. Overwrites any previously set labels.
-+     *
-+     * @param {(Object|null)} o An object defining labels for using {{#crossLink "Timeline/gotoAndPlay"}}{{/crossLink}}/{{#crossLink "Timeline/gotoAndStop"}}{{/crossLink}} in the form `{labelName:time}` where time is in milliseconds (or ticks if `useTicks` is `true`).
-+     * @see [Timeline]
-+     */
-+createjs.Timeline.prototype.setLabels = function (o) {  }
-+
-+    /**
-+     * Unpauses this timeline and jumps to the specified position or label.
-+     *
-+     * @param {(number|string|null)} positionOrLabel The position in milliseconds (or ticks if `useTicks` is `true`) or label to jump to.
-+     * @see [Timeline]
-+     */
-+createjs.Timeline.prototype.gotoAndPlay = function (positionOrLabel) {  }
- 
--}());
-diff --git a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js
-index 8945830..2440fe4 100644
---- a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js
-+++ b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js
-@@ -1,941 +1,284 @@
--/*
--* Tween
--* Visit http://createjs.com/ for documentation, updates and examples.
--*
--* Copyright (c) 2010 gskinner.com, inc.
--*
--* Permission is hereby granted, free of charge, to any person
--* obtaining a copy of this software and associated documentation
--* files (the "Software"), to deal in the Software without
--* restriction, including without limitation the rights to use,
--* copy, modify, merge, publish, distribute, sublicense, and/or sell
--* copies of the Software, and to permit persons to whom the
--* Software is furnished to do so, subject to the following
--* conditions:
--*
--* The above copyright notice and this permission notice shall be
--* included in all copies or substantial portions of the Software.
--*
--* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
--* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
--* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
--* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
--* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
--* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
--* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
--* OTHER DEALINGS IN THE SOFTWARE.
--*/
--
-+/** @fileoverview Auto-generated Externs files
-+ * @externs
-+ */
- /**
-- * The TweenJS Javascript library provides a simple but powerful tweening interface. It supports tweening of both
-- * numeric object properties & CSS style properties, and allows you to chain tweens and actions together to create
-- * complex sequences.
-- *
-- * <h4>Simple Tween</h4>
-- * This tween will tween the target's alpha property from 0 to 1 for 1s then call the <code>handleComplete</code> function.
-- *
-- *	    target.alpha = 0;
-- *	    createjs.Tween.get(target).to({alpha:1}, 1000).call(handleComplete);
-- *	    function handleComplete() {
-- *	    	//Tween complete
-- *	    }
-- *
-- * <strong>Arguments and Scope</strong>
-- * Tween also supports a `call()` with arguments and/or a scope. If no scope is passed, then the function is called
-- * anonymously (normal JavaScript behaviour). The scope is useful for maintaining scope when doing object-oriented
-- * style development.
-- *
-- *      createjs.Tween.get(target).to({alpha:0})
-- *          .call(handleComplete, [argument1, argument2], this);
-- *
-- * <h4>Chainable Tween</h4>
-- * This tween will wait 0.5s, tween the target's alpha property to 0 over 1s, set it's visible to false, then call the
-- * <code>handleComplete</code> function.
-- *
-- *	    target.alpha = 1;
-- *	    createjs.Tween.get(target).wait(500).to({alpha:0, visible:false}, 1000).call(handleComplete);
-- *	    function handleComplete() {
-- *	    	//Tween complete
-- *	    }
-- *
-- * <h4>Browser Support</h4>
-- * TweenJS will work in modern browsers. To use TweenJS with IE8 and earlier, use an older version of PreloadJS
-- * (version 0.4.1 and earlier).
-+ * A Tween instance tweens properties for a single target. Instance methods can be chained for easy construction and sequencing:
-+ * 
-+ * <h4>Example</h4>
-+ * 
-+ * target.alpha = 1;
-+ * createjs.createjs.Tween.get(target)
-+ * .wait(500)
-+ * .to({alpha:0, visible:false}, 1000)
-+ * .call(handleComplete);
-+ * function handleComplete() {
-+ * //Tween complete
-+ * }
-+ * 
-+ * Multiple tweens can point to the same instance, however if they affect the same properties there could be unexpected
-+ * behaviour. To stop all tweens on an object, use {{#crossLink "Tween/removeTweens"}}{{/crossLink}} or pass `override:true`
-+ * in the props argument.
-+ * 
-+ * createjs.createjs.Tween.get(target, {override:true}).to({x:100});
-+ * 
-+ * Subscribe to the {{#crossLink "Tween/change:event"}}{{/crossLink}} event to get notified when a property of the
-+ * target is changed.
-+ * 
-+ * createjs.createjs.Tween.get(target, {override:true}).to({x:100}).addEventListener("change", handleChange);
-+ * function handleChange(event) {
-+ * // The tween changed.
-+ * }
-+ * 
-+ * See the Tween {{#crossLink "Tween/get"}}{{/crossLink}} method for additional param documentation.
-  *
-- * @module TweenJS
-- * @main TweenJS
-- */
--
--// TODO: possibly add a END actionsMode (only runs actions that == position)?
--// TODO: evaluate a way to decouple paused from tick registration.
--
--// namespace:
--this.createjs = this.createjs||{};
--
--(function() {
--	"use strict";
--
--
--// constructor
--	/**
--	 * A Tween instance tweens properties for a single target. Instance methods can be chained for easy construction and sequencing:
--	 *
--	 * <h4>Example</h4>
--	 *
--	 *      target.alpha = 1;
--	 *	    createjs.Tween.get(target)
--	 *	         .wait(500)
--	 *	         .to({alpha:0, visible:false}, 1000)
--	 *	         .call(handleComplete);
--	 *	    function handleComplete() {
--	 *	    	//Tween complete
--	 *	    }
--	 *
--	 * Multiple tweens can point to the same instance, however if they affect the same properties there could be unexpected
--	 * behaviour. To stop all tweens on an object, use {{#crossLink "Tween/removeTweens"}}{{/crossLink}} or pass `override:true`
--	 * in the props argument.
--	 *
--	 *      createjs.Tween.get(target, {override:true}).to({x:100});
--	 *
--	 * Subscribe to the {{#crossLink "Tween/change:event"}}{{/crossLink}} event to get notified when a property of the
--	 * target is changed.
--	 *
--	 *      createjs.Tween.get(target, {override:true}).to({x:100}).addEventListener("change", handleChange);
--	 *      function handleChange(event) {
--	 *          // The tween changed.
--	 *      }
--	 *
--	 * See the Tween {{#crossLink "Tween/get"}}{{/crossLink}} method for additional param documentation.
--	 * @class Tween
--	 * @param {Object} target The target object that will have its properties tweened.
--	 * @param {Object} [props] The configuration properties to apply to this tween instance (ex. `{loop:true, paused:true}`.
--	 * All properties default to false. Supported props are:<UL>
--	 *    <LI> loop: sets the loop property on this tween.</LI>
--	 *    <LI> useTicks: uses ticks for all durations instead of milliseconds.</LI>
--	 *    <LI> ignoreGlobalPause: sets the {{#crossLink "Tween/ignoreGlobalPause:property"}}{{/crossLink}} property on this tween.</LI>
--	 *    <LI> override: if true, `Tween.removeTweens(target)` will be called to remove any other tweens with the same target.
--	 *    <LI> paused: indicates whether to start the tween paused.</LI>
--	 *    <LI> position: indicates the initial position for this tween.</LI>
--	 *    <LI> onChange: specifies a listener for the "change" event.</LI>
--	 * </UL>
--	 * @param {Object} [pluginData] An object containing data for use by installed plugins. See individual
--	 * plugins' documentation for details.
--	 * @extends EventDispatcher
--	 * @constructor
--	 */
--	function Tween(target, props, pluginData) {
--
--	// public properties:
--		/**
--		 * Causes this tween to continue playing when a global pause is active. For example, if TweenJS is using {{#crossLink "Ticker"}}{{/crossLink}},
--		 * then setting this to true (the default) will cause this tween to be paused when <code>Ticker.setPaused(true)</code>
--		 * is called. See the Tween {{#crossLink "Tween/tick"}}{{/crossLink}} method for more info. Can be set via the props
--		 * parameter.
--		 * @property ignoreGlobalPause
--		 * @type Boolean
--		 * @default false
--		 */
--		this.ignoreGlobalPause = false;
--	
--		/**
--		 * If true, the tween will loop when it reaches the end. Can be set via the props param.
--		 * @property loop
--		 * @type {Boolean}
--		 * @default false
--		 */
--		this.loop = false;
--	
--		/**
--		 * Specifies the total duration of this tween in milliseconds (or ticks if useTicks is true).
--		 * This value is automatically updated as you modify the tween. Changing it directly could result in unexpected
--		 * behaviour.
--		 * @property duration
--		 * @type {Number}
--		 * @default 0
--		 * @readonly
--		 */
--		this.duration = 0;
--	
--		/**
--		 * Allows you to specify data that will be used by installed plugins. Each plugin uses this differently, but in general
--		 * you specify data by setting it to a property of pluginData with the same name as the plugin class.
--		 * @example
--		 *	myTween.pluginData.PluginClassName = data;
--		 * <br/>
--		 * Also, most plugins support a property to enable or disable them. This is typically the plugin class name followed by "_enabled".<br/>
--		 * @example
--		 *	myTween.pluginData.PluginClassName_enabled = false;<br/>
--		 * <br/>
--		 * Some plugins also store instance data in this object, usually in a property named _PluginClassName.
--		 * See the documentation for individual plugins for more details.
--		 * @property pluginData
--		 * @type {Object}
--		 */
--		this.pluginData = pluginData || {};
--	
--		/**
--		 * The target of this tween. This is the object on which the tweened properties will be changed. Changing
--		 * this property after the tween is created will not have any effect.
--		 * @property target
--		 * @type {Object}
--		 * @readonly
--		 */
--		this.target = target;
--	
--		/**
--		 * The current normalized position of the tween. This will always be a value between 0 and duration.
--		 * Changing this property directly will have no effect.
--		 * @property position
--		 * @type {Object}
--		 * @readonly
--		 */
--		this.position = null;
--	
--		/**
--		 * Indicates the tween's current position is within a passive wait.
--		 * @property passive
--		 * @type {Boolean}
--		 * @default false
--		 * @readonly
--		 **/
--		this.passive = false;
--	
--	// private properties:	
--		/**
--		 * @property _paused
--		 * @type {Boolean}
--		 * @default false
--		 * @protected
--		 */
--		this._paused = false;
--	
--		/**
--		 * @property _curQueueProps
--		 * @type {Object}
--		 * @protected
--		 */
--		this._curQueueProps = {};
--	
--		/**
--		 * @property _initQueueProps
--		 * @type {Object}
--		 * @protected
--		 */
--		this._initQueueProps = {};
--	
--		/**
--		 * @property _steps
--		 * @type {Array}
--		 * @protected
--		 */
--		this._steps = [];
--	
--		/**
--		 * @property _actions
--		 * @type {Array}
--		 * @protected
--		 */
--		this._actions = [];
--	
--		/**
--		 * Raw position.
--		 * @property _prevPosition
--		 * @type {Number}
--		 * @default 0
--		 * @protected
--		 */
--		this._prevPosition = 0;
--	
--		/**
--		 * The position within the current step.
--		 * @property _stepPosition
--		 * @type {Number}
--		 * @default 0
--		 * @protected
--		 */
--		this._stepPosition = 0; // this is needed by MovieClip.
--	
--		/**
--		 * Normalized position.
--		 * @property _prevPos
--		 * @type {Number}
--		 * @default -1
--		 * @protected
--		 */
--		this._prevPos = -1;
--	
--		/**
--		 * @property _target
--		 * @type {Object}
--		 * @protected
--		 */
--		this._target = target;
--	
--		/**
--		 * @property _useTicks
--		 * @type {Boolean}
--		 * @default false
--		 * @protected
--		 */
--		this._useTicks = false;
--	
--		/**
--		 * @property _inited
--		 * @type {boolean}
--		 * @default false
--		 * @protected
--		 */
--		this._inited = false;
--		
--		/**
--		 * Indicates whether the tween is currently registered with Tween.
--		 * @property _registered
--		 * @type {boolean}
--		 * @default false
--		 * @protected
--		 */
--		this._registered = false;
--
--
--		if (props) {
--			this._useTicks = props.useTicks;
--			this.ignoreGlobalPause = props.ignoreGlobalPause;
--			this.loop = props.loop;
--			props.onChange && this.addEventListener("change", props.onChange);
--			if (props.override) { Tween.removeTweens(target); }
--		}
--		if (props&&props.paused) { this._paused=true; }
--		else { createjs.Tween._register(this,true); }
--		if (props&&props.position!=null) { this.setPosition(props.position, Tween.NONE); }
--
--	};
--
--	var p = createjs.extend(Tween, createjs.EventDispatcher);
--
--	// TODO: deprecated
--	// p.initialize = function() {}; // searchable for devs wondering where it is. REMOVED. See docs for details.
--	
--
--// static properties
--	/**
--	 * Constant defining the none actionsMode for use with setPosition.
--	 * @property NONE
--	 * @type Number
--	 * @default 0
--	 * @static
--	 */
--	Tween.NONE = 0;
--
--	/**
--	 * Constant defining the loop actionsMode for use with setPosition.
--	 * @property LOOP
--	 * @type Number
--	 * @default 1
--	 * @static
--	 */
--	Tween.LOOP = 1;
--
--	/**
--	 * Constant defining the reverse actionsMode for use with setPosition.
--	 * @property REVERSE
--	 * @type Number
--	 * @default 2
--	 * @static
--	 */
--	Tween.REVERSE = 2;
--
--	/**
--	 * Constant returned by plugins to tell the tween not to use default assignment.
--	 * @property IGNORE
--	 * @type Object
--	 * @static
--	 */
--	Tween.IGNORE = {};
--
--	/**
--	 * @property _listeners
--	 * @type Array[Tween]
--	 * @static
--	 * @protected
--	 */
--	Tween._tweens = [];
--
--	/**
--	 * @property _plugins
--	 * @type Object
--	 * @static
--	 * @protected
--	 */
--	Tween._plugins = {};
--
--
--// static methods	
--	/**
--	 * Returns a new tween instance. This is functionally identical to using "new Tween(...)", but looks cleaner
--	 * with the chained syntax of TweenJS.
--	 * <h4>Example</h4>
--	 *
--	 *		var tween = createjs.Tween.get(target);
--	 *
--	 * @method get
--	 * @param {Object} target The target object that will have its properties tweened.
--	 * @param {Object} [props] The configuration properties to apply to this tween instance (ex. `{loop:true, paused:true}`).
--	 * All properties default to `false`. Supported props are:
--	 * <UL>
--	 *    <LI> loop: sets the loop property on this tween.</LI>
--	 *    <LI> useTicks: uses ticks for all durations instead of milliseconds.</LI>
--	 *    <LI> ignoreGlobalPause: sets the {{#crossLink "Tween/ignoreGlobalPause:property"}}{{/crossLink}} property on
--	 *    this tween.</LI>
--	 *    <LI> override: if true, `createjs.Tween.removeTweens(target)` will be called to remove any other tweens with
--	 *    the same target.
--	 *    <LI> paused: indicates whether to start the tween paused.</LI>
--	 *    <LI> position: indicates the initial position for this tween.</LI>
--	 *    <LI> onChange: specifies a listener for the {{#crossLink "Tween/change:event"}}{{/crossLink}} event.</LI>
--	 * </UL>
--	 * @param {Object} [pluginData] An object containing data for use by installed plugins. See individual plugins'
--	 * documentation for details.
--	 * @param {Boolean} [override=false] If true, any previous tweens on the same target will be removed. This is the
--	 * same as calling `Tween.removeTweens(target)`.
--	 * @return {Tween} A reference to the created tween. Additional chained tweens, method calls, or callbacks can be
--	 * applied to the returned tween instance.
--	 * @static
--	 */
--	Tween.get = function(target, props, pluginData, override) {
--		if (override) { Tween.removeTweens(target); }
--		return new Tween(target, props, pluginData);
--	};
--
--	/**
--	 * Advances all tweens. This typically uses the {{#crossLink "Ticker"}}{{/crossLink}} class, but you can call it
--	 * manually if you prefer to use your own "heartbeat" implementation.
--	 * @method tick
--	 * @param {Number} delta The change in time in milliseconds since the last tick. Required unless all tweens have
--	 * `useTicks` set to true.
--	 * @param {Boolean} paused Indicates whether a global pause is in effect. Tweens with {{#crossLink "Tween/ignoreGlobalPause:property"}}{{/crossLink}}
--	 * will ignore this, but all others will pause if this is `true`.
--	 * @static
--	 */
--	Tween.tick = function(delta, paused) {
--		var tweens = Tween._tweens.slice(); // to avoid race conditions.
--		for (var i=tweens.length-1; i>=0; i--) {
--			var tween = tweens[i];
--			if ((paused && !tween.ignoreGlobalPause) || tween._paused) { continue; }
--			tween.tick(tween._useTicks?1:delta);
--		}
--	};
--
--	/**
--	 * Handle events that result from Tween being used as an event handler. This is included to allow Tween to handle
--	 * {{#crossLink "Ticker/tick:event"}}{{/crossLink}} events from the createjs {{#crossLink "Ticker"}}{{/crossLink}}.
--	 * No other events are handled in Tween.
--	 * @method handleEvent
--	 * @param {Object} event An event object passed in by the {{#crossLink "EventDispatcher"}}{{/crossLink}}. Will
--	 * usually be of type "tick".
--	 * @private
--	 * @static
--	 * @since 0.4.2
--	 */
--	Tween.handleEvent = function(event) {
--		if (event.type == "tick") {
--			this.tick(event.delta, event.paused);
--		}
--	};
--
--	/**
--	 * Removes all existing tweens for a target. This is called automatically by new tweens if the `override`
--	 * property is `true`.
--	 * @method removeTweens
--	 * @param {Object} target The target object to remove existing tweens from.
--	 * @static
--	 */
--	Tween.removeTweens = function(target) {
--		if (!target.tweenjs_count) { return; }
--		var tweens = Tween._tweens;
--		for (var i=tweens.length-1; i>=0; i--) {
--			var tween = tweens[i];
--			if (tween._target == target) {
--				tween._paused = true;
--				tweens.splice(i, 1);
--			}
--		}
--		target.tweenjs_count = 0;
--	};
--
--	/**
--	 * Stop and remove all existing tweens.
--	 * @method removeAllTweens
--	 * @static
--	 * @since 0.4.1
--	 */
--	Tween.removeAllTweens = function() {
--		var tweens = Tween._tweens;
--		for (var i= 0, l=tweens.length; i<l; i++) {
--			var tween = tweens[i];
--			tween._paused = true;
--			tween.target&&(tween.target.tweenjs_count = 0);
--		}
--		tweens.length = 0;
--	};
--
--	/**
--	 * Indicates whether there are any active tweens (and how many) on the target object (if specified) or in general.
--	 * @method hasActiveTweens
--	 * @param {Object} [target] The target to check for active tweens. If not specified, the return value will indicate
--	 * if there are any active tweens on any target.
--	 * @return {Boolean} If there are active tweens.
--	 * @static
--	 */
--	Tween.hasActiveTweens = function(target) {
--		if (target) { return target.tweenjs_count != null && !!target.tweenjs_count; }
--		return Tween._tweens && !!Tween._tweens.length;
--	};
--
--	/**
--	 * Installs a plugin, which can modify how certain properties are handled when tweened. See the {{#crossLink "CSSPlugin"}}{{/crossLink}}
--	 * for an example of how to write TweenJS plugins.
--	 * @method installPlugin
--	 * @static
--	 * @param {Object} plugin The plugin class to install
--	 * @param {Array} properties An array of properties that the plugin will handle.
--	 */
--	Tween.installPlugin = function(plugin, properties) {
--		var priority = plugin.priority;
--		if (priority == null) { plugin.priority = priority = 0; }
--		for (var i=0,l=properties.length,p=Tween._plugins;i<l;i++) {
--			var n = properties[i];
--			if (!p[n]) { p[n] = [plugin]; }
--			else {
--				var arr = p[n];
--				for (var j=0,jl=arr.length;j<jl;j++) {
--					if (priority < arr[j].priority) { break; }
--				}
--				p[n].splice(j,0,plugin);
--			}
--		}
--	};
-+ * @see [Tween]
-+ * @param {(Object|null)} target The target object that will have its properties tweened.
-+ * @param {Object=} opt_props The configuration properties to apply to this tween instance (ex. `{loop:true, paused:true}`. All properties default to false. Supported props are:<UL> <LI> loop: sets the loop property on this tween.</LI> <LI> useTicks: uses ticks for all durations instead of milliseconds.</LI> <LI> ignoreGlobalPause: sets the {{#crossLink "Tween/ignoreGlobalPause:property"}}{{/crossLink}} property on this tween.</LI> <LI> override: if true, `createjs.Tween.removeTweens(target)` will be called to remove any other tweens with the same target. <LI> paused: indicates whether to start the tween paused.</LI> <LI> position: indicates the initial position for this tween.</LI> <LI> onChange: specifies a listener for the "change" event.</LI> </UL>
-+ * @param {Object=} opt_pluginData An object containing data for use by installed plugins. See individual plugins' documentation for details.
-+ * @constructor
-+ * @extends createjs.EventDispatcher
- 
--	/**
--	 * Registers or unregisters a tween with the ticking system.
--	 * @method _register
--	 * @param {Tween} tween The tween instance to register or unregister.
--	 * @param {Boolean} value If `true`, the tween is registered. If `false` the tween is unregistered.
--	 * @static
--	 * @protected
--	 */
--	Tween._register = function(tween, value) {
--		var target = tween._target;
--		var tweens = Tween._tweens;
--		if (value && !tween._registered) {
--			// TODO: this approach might fail if a dev is using sealed objects in ES5
--			if (target) { target.tweenjs_count = target.tweenjs_count ? target.tweenjs_count+1 : 1; }
--			tweens.push(tween);
--			if (!Tween._inited && createjs.Ticker) { createjs.Ticker.addEventListener("tick", Tween); Tween._inited = true; }
--		} else if (!value && tween._registered) {
--			if (target) { target.tweenjs_count--; }
--			var i = tweens.length;
--			while (i--) {
--				if (tweens[i] == tween) {
--					tweens.splice(i, 1);
--					break;
--				}
--			}
--		}
--		tween._registered = value;
--	};
--
--
--// events:
--	/**
--	 * Called whenever the tween's position changes.
--	 * @event change
--	 * @since 0.4.0
--	 **/
--	
--
--// public methods:
--	/**
--	 * Queues a wait (essentially an empty tween).
--	 * <h4>Example</h4>
--	 *
--	 *		//This tween will wait 1s before alpha is faded to 0.
--	 *		createjs.Tween.get(target).wait(1000).to({alpha:0}, 1000);
--	 *
--	 * @method wait
--	 * @param {Number} duration The duration of the wait in milliseconds (or in ticks if `useTicks` is true).
--	 * @param {Boolean} [passive] Tween properties will not be updated during a passive wait. This
--	 * is mostly useful for use with {{#crossLink "Timeline"}}{{/crossLink}} instances that contain multiple tweens
--	 * affecting the same target at different times.
--	 * @return {Tween} This tween instance (for chaining calls).
--	 **/
--	p.wait = function(duration, passive) {
--		if (duration == null || duration <= 0) { return this; }
--		var o = this._cloneProps(this._curQueueProps);
--		return this._addStep({d:duration, p0:o, e:this._linearEase, p1:o, v:passive});
--	};
--
--	/**
--	 * Queues a tween from the current values to the target properties. Set duration to 0 to jump to these value.
--	 * Numeric properties will be tweened from their current value in the tween to the target value. Non-numeric
--	 * properties will be set at the end of the specified duration.
--	 * <h4>Example</h4>
--	 *
--	 *		createjs.Tween.get(target).to({alpha:0}, 1000);
--	 *
--	 * @method to
--	 * @param {Object} props An object specifying property target values for this tween (Ex. `{x:300}` would tween the x
--	 * property of the target to 300).
--	 * @param {Number} [duration=0] The duration of the wait in milliseconds (or in ticks if `useTicks` is true).
--	 * @param {Function} [ease="linear"] The easing function to use for this tween. See the {{#crossLink "Ease"}}{{/crossLink}}
--	 * class for a list of built-in ease functions.
--	 * @return {Tween} This tween instance (for chaining calls).
--	 */
--	p.to = function(props, duration, ease) {
--		if (isNaN(duration) || duration < 0) { duration = 0; }
--		return this._addStep({d:duration||0, p0:this._cloneProps(this._curQueueProps), e:ease, p1:this._cloneProps(this._appendQueueProps(props))});
--	};
--
--	/**
--	 * Queues an action to call the specified function.
--	 * <h4>Example</h4>
--	 *
--	 *   	//would call myFunction() after 1 second.
--	 *   	myTween.wait(1000).call(myFunction);
--	 *
--	 * @method call
--	 * @param {Function} callback The function to call.
--	 * @param {Array} [params]. The parameters to call the function with. If this is omitted, then the function
--	 *      will be called with a single param pointing to this tween.
--	 * @param {Object} [scope]. The scope to call the function in. If omitted, it will be called in the target's
--	 *      scope.
--	 * @return {Tween} This tween instance (for chaining calls).
--	 */
--	p.call = function(callback, params, scope) {
--		return this._addAction({f:callback, p:params ? params : [this], o:scope ? scope : this._target});
--	};
--
--	// TODO: add clarification between this and a 0 duration .to:
--	/**
--	 * Queues an action to set the specified props on the specified target. If target is null, it will use this tween's
--	 * target.
--	 * <h4>Example</h4>
--	 *
--	 *		myTween.wait(1000).set({visible:false},foo);
--	 *
--	 * @method set
--	 * @param {Object} props The properties to set (ex. `{visible:false}`).
--	 * @param {Object} [target] The target to set the properties on. If omitted, they will be set on the tween's target.
--	 * @return {Tween} This tween instance (for chaining calls).
--	 */
--	p.set = function(props, target) {
--		return this._addAction({f:this._set, o:this, p:[props, target ? target : this._target]});
--	};
--
--	/**
--	 * Queues an action to play (unpause) the specified tween. This enables you to sequence multiple tweens.
--	 * <h4>Example</h4>
--	 *
--	 *		myTween.to({x:100},500).play(otherTween);
--	 *
--	 * @method play
--	 * @param {Tween} tween The tween to play.
--	 * @return {Tween} This tween instance (for chaining calls).
--	 */
--	p.play = function(tween) {
--		if (!tween) { tween = this; }
--		return this.call(tween.setPaused, [false], tween);
--	};
--
--	/**
--	 * Queues an action to pause the specified tween.
--	 * @method pause
--	 * @param {Tween} tween The tween to pause. If null, it pauses this tween.
--	 * @return {Tween} This tween instance (for chaining calls)
--	 */
--	p.pause = function(tween) {
--		if (!tween) { tween = this; }
--		return this.call(tween.setPaused, [true], tween);
--	};
--
--	/**
--	 * Advances the tween to a specified position.
--	 * @method setPosition
--	 * @param {Number} value The position to seek to in milliseconds (or ticks if useTicks is true).
--	 * @param {Number} [actionsMode=1] Specifies how actions are handled (ie. call, set, play, pause):
--	 * <ul>
--	 *      <li>{{#crossLink "Tween/NONE:property"}}{{/crossLink}} (0) - run no actions.</li>
--	 *      <li>{{#crossLink "Tween/LOOP:property"}}{{/crossLink}} (1) - if new position is less than old, then run all
--	 *      actions between old and duration, then all actions between 0 and new.</li>
--	 *      <li>{{#crossLink "Tween/REVERSE:property"}}{{/crossLink}} (2) - if new position is less than old, run all
--	 *      actions between them in reverse.</li>
--	 * </ul>
--	 * @return {Boolean} Returns `true` if the tween is complete (ie. the full tween has run & {{#crossLink "Tween/loop:property"}}{{/crossLink}}
--	 * is `false`).
--	 */
--	p.setPosition = function(value, actionsMode) {
--		if (value < 0) { value = 0; }
--		if (actionsMode == null) { actionsMode = 1; }
--
--		// normalize position:
--		var t = value;
--		var end = false;
--		if (t >= this.duration) {
--			if (this.loop) { t = t%this.duration; }
--			else {
--				t = this.duration;
--				end = true;
--			}
--		}
--		if (t == this._prevPos) { return end; }
--
--
--		var prevPos = this._prevPos;
--		this.position = this._prevPos = t; // set this in advance in case an action modifies position.
--		this._prevPosition = value;
--
--		// handle tweens:
--		if (this._target) {
--			if (end) {
--				// addresses problems with an ending zero length step.
--				this._updateTargetProps(null,1);
--			} else if (this._steps.length > 0) {
--				// find our new tween index:
--				for (var i=0, l=this._steps.length; i<l; i++) {
--					if (this._steps[i].t > t) { break; }
--				}
--				var step = this._steps[i-1];
--				this._updateTargetProps(step,(this._stepPosition = t-step.t)/step.d);
--			}
--		}
--
--		// run actions:
--		if (actionsMode != 0 && this._actions.length > 0) {
--			if (this._useTicks) {
--				// only run the actions we landed on.
--				this._runActions(t,t);
--			} else if (actionsMode == 1 && t<prevPos) {
--				if (prevPos != this.duration) { this._runActions(prevPos, this.duration); }
--				this._runActions(0, t, true);
--			} else {
--				this._runActions(prevPos, t);
--			}
--		}
--
--		if (end) { this.setPaused(true); }
--
--        this.dispatchEvent("change");
--		return end;
--	};
--
--	/**
--	 * Advances this tween by the specified amount of time in milliseconds (or ticks if`useTicks` is `true`).
--	 * This is normally called automatically by the Tween engine (via {{#crossLink "Tween/tick"}}{{/crossLink}}), but is
--	 * exposed for advanced uses.
--	 * @method tick
--	 * @param {Number} delta The time to advance in milliseconds (or ticks if `useTicks` is `true`).
--	 */
--	p.tick = function(delta) {
--		if (this._paused) { return; }
--		this.setPosition(this._prevPosition+delta);
--	};
--
--	/**
--	 * Pauses or plays this tween.
--	 * @method setPaused
--	 * @param {Boolean} [value=true] Indicates whether the tween should be paused (`true`) or played (`false`).
--	 * @return {Tween} This tween instance (for chaining calls)
--	 */
--	p.setPaused = function(value) {
--		if (this._paused === !!value) { return this; }
--		this._paused = !!value;
--		Tween._register(this, !value);
--		return this;
--	};
--
--	// tiny api (primarily for tool output):
--	p.w = p.wait;
--	p.t = p.to;
--	p.c = p.call;
--	p.s = p.set;
--
--	/**
--	 * Returns a string representation of this object.
--	 * @method toString
--	 * @return {String} a string representation of the instance.
--	 */
--	p.toString = function() {
--		return "[Tween]";
--	};
--
--	/**
--	 * @method clone
--	 * @protected
--	 */
--	p.clone = function() {
--		throw("Tween can not be cloned.")
--	};
--
--// private methods:
--	/**
--	 * @method _updateTargetProps
--	 * @param {Object} step
--	 * @param {Number} ratio
--	 * @protected
--	 */
--	p._updateTargetProps = function(step, ratio) {
--		var p0,p1,v,v0,v1,arr;
--		if (!step && ratio == 1) {
--			// GDS: when does this run? Just at the very end? Shouldn't.
--			this.passive = false;
--			p0 = p1 = this._curQueueProps;
--		} else {
--			this.passive = !!step.v;
--			if (this.passive) { return; } // don't update props.
--			// apply ease to ratio.
--			if (step.e) { ratio = step.e(ratio,0,1,1); }
--			p0 = step.p0;
--			p1 = step.p1;
--		}
--
--		for (var n in this._initQueueProps) {
--			if ((v0 = p0[n]) == null) { p0[n] = v0 = this._initQueueProps[n]; }
--			if ((v1 = p1[n]) == null) { p1[n] = v1 = v0; }
--			if (v0 == v1 || ratio == 0 || ratio == 1 || (typeof(v0) != "number")) {
--				// no interpolation - either at start, end, values don't change, or the value is non-numeric.
--				v = ratio == 1 ? v1 : v0;
--			} else {
--				v = v0+(v1-v0)*ratio;
--			}
--
--			var ignore = false;
--			if (arr = Tween._plugins[n]) {
--				for (var i=0,l=arr.length;i<l;i++) {
--					var v2 = arr[i].tween(this, n, v, p0, p1, ratio, !!step&&p0==p1, !step);
--					if (v2 == Tween.IGNORE) { ignore = true; }
--					else { v = v2; }
--				}
--			}
--			if (!ignore) { this._target[n] = v; }
--		}
--
--	};
--
--	/**
--	 * @method _runActions
--	 * @param {Number} startPos
--	 * @param {Number} endPos
--	 * @param {Boolean} includeStart
--	 * @protected
--	 */
--	p._runActions = function(startPos, endPos, includeStart) {
--		var sPos = startPos;
--		var ePos = endPos;
--		var i = -1;
--		var j = this._actions.length;
--		var k = 1;
--		if (startPos > endPos) {
--			// running backwards, flip everything:
--			sPos = endPos;
--			ePos = startPos;
--			i = j;
--			j = k = -1;
--		}
--		while ((i+=k) != j) {
--			var action = this._actions[i];
--			var pos = action.t;
--			if (pos == ePos || (pos > sPos && pos < ePos) || (includeStart && pos == startPos) ) {
--				action.f.apply(action.o, action.p);
--			}
--		}
--	};
--
--	/**
--	 * @method _appendQueueProps
--	 * @param {Object} o
--	 * @protected
--	 */
--	p._appendQueueProps = function(o) {
--		var arr,oldValue,i, l, injectProps;
--		for (var n in o) {
--			if (this._initQueueProps[n] === undefined) {
--				oldValue = this._target[n];
--
--				// init plugins:
--				if (arr = Tween._plugins[n]) {
--					for (i=0,l=arr.length;i<l;i++) {
--						oldValue = arr[i].init(this, n, oldValue);
--					}
--				}
--				this._initQueueProps[n] = this._curQueueProps[n] = (oldValue===undefined) ? null : oldValue;
--			} else {
--				oldValue = this._curQueueProps[n];
--			}
--		}
--
--		for (var n in o) {
--			oldValue = this._curQueueProps[n];
--			if (arr = Tween._plugins[n]) {
--				injectProps = injectProps||{};
--				for (i=0, l=arr.length;i<l;i++) {
--					// TODO: remove the check for .step in the next version. It's here for backwards compatibility.
--					if (arr[i].step) { arr[i].step(this, n, oldValue, o[n], injectProps); }
--				}
--			}
--			this._curQueueProps[n] = o[n];
--		}
--		if (injectProps) { this._appendQueueProps(injectProps); }
--		return this._curQueueProps;
--	};
--
--	/**
--	 * @method _cloneProps
--	 * @param {Object} props
--	 * @protected
--	 */
--	p._cloneProps = function(props) {
--		var o = {};
--		for (var n in props) {
--			o[n] = props[n];
--		}
--		return o;
--	};
--
--	/**
--	 * @method _addStep
--	 * @param {Object} o
--	 * @protected
--	 */
--	p._addStep = function(o) {
--		if (o.d > 0) {
--			this._steps.push(o);
--			o.t = this.duration;
--			this.duration += o.d;
--		}
--		return this;
--	};
--
--	/**
--	 * @method _addAction
--	 * @param {Object} o
--	 * @protected
--	 */
--	p._addAction = function(o) {
--		o.t = this.duration;
--		this._actions.push(o);
--		return this;
--	};
--
--	/**
--	 * @method _set
--	 * @param {Object} props
--	 * @param {Object} o
--	 * @protected
--	 */
--	p._set = function(props, o) {
--		for (var n in props) {
--			o[n] = props[n];
--		}
--	};
--
--	createjs.Tween = createjs.promote(Tween, "EventDispatcher");
-+ */
-+createjs.Tween = function (target, opt_props, opt_pluginData) {}
-+
-+    /**
-+     * Advances all tweens. This typically uses the {{#crossLink "Ticker"

<TRUNCATED>

[3/4] flex-typedefs git commit: manually clean up externs for createjs and get rid of patches

Posted by ah...@apache.org.
manually clean up externs for createjs and get rid of patches


Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/2658a72d
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/2658a72d
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/2658a72d

Branch: refs/heads/develop
Commit: 2658a72da21f4067cff146d2ca4dfccf11a313bb
Parents: 8c617b8
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 2 23:11:45 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 2 23:11:45 2017 -0700

----------------------------------------------------------------------
 createjs/build.xml                             |     5 +-
 createjs/src/main/config/compile-as-config.xml |     7 +-
 createjs/src/main/config/externc-config.xml    |    50 +-
 createjs/src/main/javascript/createjs.js       |  2559 +++
 createjs/src/main/patch/easeljs.patch          | 19387 ------------------
 createjs/src/main/patch/tweenjs.patch          |  2875 ---
 6 files changed, 2569 insertions(+), 22314 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/2658a72d/createjs/build.xml
----------------------------------------------------------------------
diff --git a/createjs/build.xml b/createjs/build.xml
index 15e79fc..5d8f31e 100644
--- a/createjs/build.xml
+++ b/createjs/build.xml
@@ -21,9 +21,6 @@
 
 <project name="createjs" default="main" basedir=".">
     
-    <property name="createjs.version" value="0.8.0" />
-    <property name="tweenjs.version" value="0.6.2" />
-    
     <property name="FLEXJS_HOME" value="${basedir}/.." />
     
     <condition property="FALCON_HOME" value="${env.FALCON_HOME}">
@@ -80,7 +77,7 @@
         </and>
     </condition>
     
-    <target name="main" depends="download, download_tween, preprocess, externc, postprocess, compc" />
+    <target name="main" depends="externc, compc" />
     
     <target name="download" >
         <mkdir dir="${basedir}/target/downloads" />

http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/2658a72d/createjs/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/createjs/src/main/config/compile-as-config.xml b/createjs/src/main/config/compile-as-config.xml
index 6690edf..b185b00 100644
--- a/createjs/src/main/config/compile-as-config.xml
+++ b/createjs/src/main/config/compile-as-config.xml
@@ -85,6 +85,11 @@
         <path>../src/main/javascript/missing.js</path>
     </include-file>
     <include-file>
+        <name>externs/createjs.js</name>
+        <path>../src/main/javascript/createjs.js</path>
+    </include-file>
+    <!--
+    <include-file>
         <name>externs/AlphaMapFilter.js</name>
         <path>downloads/EaselJS-0.8.0/src/easeljs/filters/AlphaMapFilter.js</path>
     </include-file>
@@ -224,7 +229,7 @@
         <name>externs/Ticker.js</name>
         <path>downloads/EaselJS-0.8.0/src/createjs/utils/Ticker.js</path>
     </include-file>
-    
+    -->
     <!--
     <include-namespaces>
         <uri>library://ns.adobe.com/flex/spark</uri>

http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/2658a72d/createjs/src/main/config/externc-config.xml
----------------------------------------------------------------------
diff --git a/createjs/src/main/config/externc-config.xml b/createjs/src/main/config/externc-config.xml
index 0e82923..f8dfc2c 100644
--- a/createjs/src/main/config/externc-config.xml
+++ b/createjs/src/main/config/externc-config.xml
@@ -56,58 +56,13 @@
     </compiler>
     
     <external>
+        <path-element>../javascript/createjs.js</path-element>
         <path-element>../javascript/missing.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/createjs/events/EventDispatcher.js</path-element>
-        <!-- externc with jsroot doesn't support the patterns in these files
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/createjs/utils/extend.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/createjs/utils/indexOf.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/createjs/utils/promote.js</path-element>
-        -->
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/createjs/utils/Ticker.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/Bitmap.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/Container.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/DisplayObject.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/DOMElement.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/Graphics.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/MovieClip.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/Shadow.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/Shape.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/Sprite.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteContainer.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteSheet.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteStage.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/Stage.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/Text.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/events/MouseEvent.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/filters/AlphaMapFilter.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/filters/AlphaMaskFilter.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/filters/BlurFilter.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/filters/ColorFilter.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/filters/ColorMatrix.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/filters/ColorMatrixFilter.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/filters/Filter.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/geom/DisplayProps.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/geom/Matrix2D.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/geom/Point.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/geom/Rectangle.js</path-element>
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/ui/ButtonHelper.js</path-element>
-        <!--  externc with jsroot doesn't support the patterns in these files
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/ui/Touch.js</path-element>
-         -->
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/utils/SpriteSheetBuilder.js</path-element>
-        <!--  externc with jsroot doesn't support the patterns in these files
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/utils/SpriteSheetUtils.js</path-element>
-         -->
-        <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/utils/UID.js</path-element>
-        <path-element>../../../target/downloads/TweenJS-0.6.2/src/tweenjs/Ease.js</path-element>
-        <path-element>../../../target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js</path-element>
-        <path-element>../../../target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js</path-element>
     </external>
 
     <as-root>../../../target/generated-sources/externc</as-root>
     
+    <!--
     <class-exclude>
         <class>MovieClipPlugin</class>
     </class-exclude>
@@ -120,6 +75,7 @@
     <class-exclude>
         <class>createjs.Graphics.BASE_64</class>
     </class-exclude>
+    -->
     
     <!--
     <field-exclude>

http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/2658a72d/createjs/src/main/javascript/createjs.js
----------------------------------------------------------------------
diff --git a/createjs/src/main/javascript/createjs.js b/createjs/src/main/javascript/createjs.js
new file mode 100644
index 0000000..0cc4dd0
--- /dev/null
+++ b/createjs/src/main/javascript/createjs.js
@@ -0,0 +1,2559 @@
+/*
+ *
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+// This file is in Google Closure Compiler Externs format which is a 
+// non-copyrightable subset of EaselJS and TweenJS from https://github.com/CreateJS 
+
+/**
+ * @param {(HTMLCanvasElement|Image|null)} alphaMap
+ * @constructor
+ * @extends createjs.Filter
+ */
+createjs.AlphaMapFilter = function (alphaMap) {}
+
+/**
+ */
+createjs.AlphaMapFilter.prototype._prepAlphaMap = function () {  }
+
+/**
+ * @param {(Image|null)} mask 
+ * @constructor
+ * @extends createjs.Filter
+ */
+createjs.AlphaMaskFilter = function (mask) {}
+
+/**
+ * @param {(HTMLCanvasElement|HTMLVideoElement|Image|string|null)} imageOrUri
+ * @constructor
+ * @extends createjs.DisplayObject
+ */
+createjs.Bitmap = function (imageOrUri) {}
+
+/**
+ * @param {string=} opt_text
+ * @param {createjs.SpriteSheet=} opt_spriteSheet
+ * @constructor
+ * @extends createjs.DisplayObject
+ */
+createjs.BitmapText = function (opt_text, opt_spriteSheet) {}
+
+/**
+ * @param {string} character 
+ * @param {(createjs.SpriteSheet|null)} spriteSheet 
+ * @see [BitmapText]
+ * @returns {(Object|null)} 
+ */
+createjs.BitmapText.prototype._getFrame = function (character, spriteSheet) {  return null; }
+
+/**
+ * @param {string} character 
+ * @param {(createjs.SpriteSheet|null)} spriteSheet 
+ * @returns {(number|null)} 
+ */
+createjs.BitmapText.prototype._getFrameIndex = function (character, spriteSheet) { return 0; }
+
+/**
+ * @param {(createjs.SpriteSheet|null)} ss 
+ * @returns {(number|null)} 
+ */
+createjs.BitmapText.prototype._getLineHeight = function (ss) { return 0; }
+
+/**
+ * @param {(createjs.SpriteSheet|null)} ss 
+ * @returns {(number|null)} 
+ */
+createjs.BitmapText.prototype._getSpaceWidth = function (ss) { return 0; }
+
+/**
+ * @see [BitmapText]
+ */
+createjs.BitmapText.prototype._updateText = function () {  }
+
+/** 
+ * @param {number=} opt_blurX
+ * @param {number=} opt_blurY
+ * @param {number=} opt_quality
+ * @constructor
+ * @extends createjs.Filter
+ */
+createjs.BlurFilter = function (opt_blurX, opt_blurY, opt_quality) {}
+
+/**
+ * @param {(Sprite|createjs.MovieClip|null)} target
+ * @param {string=} opt_outLabel
+ * @param {string=} opt_overLabel
+ * @param {string=} opt_downLabel
+ * @param {boolean=} opt_play
+ * @param {createjs.DisplayObject=} opt_hitArea
+ * @param {string=} opt_hitLabel
+ * @constructor
+ */
+createjs.ButtonHelper = function (target, opt_outLabel, opt_overLabel, opt_downLabel, opt_play, opt_hitArea, opt_hitLabel) {}
+
+/**
+ * @type {(boolean|null)} 
+ */
+createjs.ButtonHelper.prototype.enabled;
+
+/**
+ * @returns {(boolean|null)} 
+ */
+createjs.ButtonHelper.prototype.getEnabled = function () {  return null; }
+
+/**
+ * @param {(Object|null)} evt
+ */
+createjs.ButtonHelper.prototype.handleEvent = function (evt) {  }
+
+/**
+ * @param {(boolean|null)} value 
+ */
+createjs.ButtonHelper.prototype.setEnabled = function (value) {  }
+
+/**
+ * @returns {string}
+ */
+createjs.ButtonHelper.prototype.toString = function () { return ''; }
+
+/**
+ * @param {number=} opt_redMultiplier
+ * @param {number=} opt_greenMultiplier
+ * @param {number=} opt_blueMultiplier
+ * @param {number=} opt_alphaMultiplier
+ * @param {number=} opt_redOffset
+ * @param {number=} opt_greenOffset
+ * @param {number=} opt_blueOffset
+ * @param {number=} opt_alphaOffset
+ * @constructor
+ * @extends createjs.Filter
+ */
+createjs.ColorFilter = function (opt_redMultiplier, opt_greenMultiplier, opt_blueMultiplier, opt_alphaMultiplier, opt_redOffset, opt_greenOffset, opt_blueOffset, opt_alphaOffset) {}
+
+/**
+ * @param {(number|null)} brightness 
+ * @param {(number|null)} contrast 
+ * @param {(number|null)} saturation 
+ * @param {(number|null)} hue 
+ * @constructor
+ */
+createjs.ColorMatrix = function (brightness, contrast, saturation, hue) {}
+
+/**
+ * @param {(number|null)} value
+ * @param {(number|null)} limit
+ */
+createjs.ColorMatrix.prototype._cleanValue = function (value, limit) {  }
+
+/**
+ * @param {(Array|null)} matrix 
+ */
+createjs.ColorMatrix.prototype._fixMatrix = function (matrix) {  }
+
+/**
+ * @param {(Array|null)} matrix 
+ */
+createjs.ColorMatrix.prototype._multiplyMatrix = function (matrix) {  }
+
+/**
+ * @param {(number|null)} value
+ * @returns {(createjs.ColorMatrix|null)}
+ */
+createjs.ColorMatrix.prototype.adjustBrightness = function (value) {  return null; }
+
+/**
+ * @param {(number|null)} brightness 
+ * @param {(number|null)} contrast 
+ * @param {(number|null)} saturation 
+ * @param {(number|null)} hue 
+ * @returns {(createjs.ColorMatrix|null)}
+ */
+createjs.ColorMatrix.prototype.adjustColor = function (brightness, contrast, saturation, hue) {  return null; }
+
+/**
+ * @param {(number|null)}
+ * @returns {(createjs.ColorMatrix|null)}
+ */
+createjs.ColorMatrix.prototype.adjustContrast = function (value) {  return null; }
+
+/**
+ * @param {(number|null)} value
+ * @returns {(createjs.ColorMatrix|null)}
+ */
+createjs.ColorMatrix.prototype.adjustHue = function (value) {  return null; }
+
+/**
+ * @param {(number|null)} value
+ * @returns {(createjs.ColorMatrix|null)}
+ */
+createjs.ColorMatrix.prototype.adjustSaturation = function (value) {  return null; }
+
+/**
+ * @returns {(createjs.ColorMatrix|null)}
+ */
+createjs.ColorMatrix.prototype.clone = function () {  return null; }
+
+/**
+ * @param {(Array|null)} matrix
+ * @returns {(createjs.ColorMatrix|null)}
+ */
+createjs.ColorMatrix.prototype.concat = function (matrix) {  return null; }
+
+/**
+ * @param {(Array|null)} matrix
+ * @returns {(createjs.ColorMatrix|null)}
+ */
+createjs.ColorMatrix.prototype.copy = function (matrix) {  return null; }
+
+/**
+ * @returns {(createjs.ColorMatrix|null)}
+ */
+createjs.ColorMatrix.prototype.reset = function () {  return null; }
+
+/**
+ * @param {(number|null)} brightness 
+ * @param {(number|null)} contrast 
+ * @param {(number|null)} saturation 
+ * @param {(number|null)} hue 
+ * @returns {(createjs.ColorMatrix|null)}
+ */
+createjs.ColorMatrix.prototype.setColor = function (brightness, contrast, saturation, hue) {  return null; }
+
+/**
+ * @returns {(Array|null)} An array holding this matrix's values.
+ */
+createjs.ColorMatrix.prototype.toArray = function () {  return null; }
+
+/**
+ * @returns {string}
+ */
+createjs.ColorMatrix.prototype.toString = function () { return ''; }
+
+/**
+ * @param {(Array|createjs.ColorMatrix|null)} matrix
+ * @constructor
+ * @extends createjs.Filter
+ */
+createjs.ColorMatrixFilter = function (matrix) {}
+
+/**
+ * @constructor
+ * @extends createjs.DisplayObject
+ */
+createjs.Container = function () {}
+
+/**
+ * @type {(number|null)} 
+ */
+createjs.Container.prototype.numChildren;
+
+/**
+ * @type {(Function|null)} 
+ */
+createjs.Container.prototype.onClick;
+
+/**
+ * @param {(createjs.Container|null)} o
+ */
+createjs.Container.prototype._cloneChildren = function (o) {  }
+
+/**
+ * @param {(number|null)} x 
+ * @param {(number|null)} y 
+ * @param {(Array|null)} arr 
+ * @param {(boolean|null)} mouse
+ * @param {(boolean|null)} activeListener
+ * @param {(number|null)} currentDepth
+ * @returns {(createjs.DisplayObject|null)} 
+ */
+createjs.Container.prototype._getObjectsUnderPoint = function (x, y, arr, mouse, activeListener, currentDepth) {  return null; }
+
+/**
+ * @param {(createjs.DisplayObject|null)} target 
+ * @param {(number|null)} x 
+ * @param {(number|null)} y 
+ * @returns {(boolean|null)}
+ */
+createjs.Container.prototype._testMask = function (target, x, y) {  return null; }
+
+/**
+ * @param {(createjs.DisplayObject|null)} child 
+ * @returns {(createjs.DisplayObject|null)}
+ */
+createjs.Container.prototype.addChild = function (child) {  return null; }
+
+
+/**
+ * @param {(createjs.DisplayObject|null)} child
+ * @param {(number|null)} index
+ * @returns {(createjs.DisplayObject|null)}
+ */
+createjs.Container.prototype.addChildAt = function (child, index) {  return null; }
+
+/**
+ * @param {(createjs.DisplayObject|null)} child
+ * @returns {(boolean|null)}
+ */
+createjs.Container.prototype.contains = function (child) {  return null; }
+
+/**
+ * @param {(number|null)} index
+ * @returns {(createjs.DisplayObject|null)}
+ */
+createjs.Container.prototype.getChildAt = function (index) {  return null; }
+
+/**
+ * @param {string} name
+ * @returns {(createjs.DisplayObject|null)}
+ */
+createjs.Container.prototype.getChildByName = function (name) {  return null; }
+
+/**
+ * @param {(createjs.DisplayObject|null)} child
+ * @returns {(number|null)}
+ */
+createjs.Container.prototype.getChildIndex = function (child) { return 0; }
+
+
+/**
+ * @returns {(number|null)} 
+ */
+createjs.Container.prototype.getNumChildren = function () { return 0; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(number|null)} mode
+ * @returns {(createjs.DisplayObject|null)}
+ */
+createjs.Container.prototype.getObjectUnderPoint = function (x, y, mode) {  return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {number=} opt_mode
+ * @returns {(Array|null)}
+ */
+createjs.Container.prototype.getObjectsUnderPoint = function (x, y, opt_mode) {  return null; }
+
+/**
+ */
+createjs.Container.prototype.removeAllChildren = function () {  }
+
+/**
+ * @param {(createjs.DisplayObject|null)} child
+ * @returns {(boolean|null)}
+ */
+createjs.Container.prototype.removeChild = function (child) {  return null; }
+
+/**
+ * @param {(number|null)} index
+ * @returns {(boolean|null)}
+ */
+createjs.Container.prototype.removeChildAt = function (index) {  return null; }
+
+/**
+ * @param {(createjs.DisplayObject|null)} child 
+ * @param {(number|null)} index 
+ */
+createjs.Container.prototype.setChildIndex = function (child, index) {  }
+
+/**
+ * @param {(Function|null)} sortFunction
+ */
+createjs.Container.prototype.sortChildren = function (sortFunction) {  }
+
+/**
+ * @param {(createjs.DisplayObject|null)} child1 
+ * @param {(createjs.DisplayObject|null)} child2 
+ */
+createjs.Container.prototype.swapChildren = function (child1, child2) {  }
+
+/**
+ * @param {(number|null)} index1 
+ * @param {(number|null)} index2 
+ */
+createjs.Container.prototype.swapChildrenAt = function (index1, index2) {  }
+
+/**
+ * @param {(HTMLElement|null)} htmlElement
+ * @constructor
+ * @extends createjs.DisplayObject
+ */
+createjs.DOMElement = function (htmlElement) {}
+
+/**
+ * @param {(Event|null)} evt 
+ */
+createjs.DOMElement.prototype._handleDrawEnd = function (evt) {  }
+
+/**
+ * @constructor
+ * @extends createjs.EventDispatcher
+ */
+createjs.DisplayObject = function () {}
+
+/**
+ * @type {number} 
+ */
+createjs.DisplayObject.prototype.alpha;
+
+/**
+ * @type {(createjs.Graphics|null)} 
+ */
+createjs.DisplayObject.prototype.graphics;
+
+/**
+ * @type {number} 
+ */
+createjs.DisplayObject.prototype.height;
+
+/**
+ * @type {string} 
+ */
+createjs.DisplayObject.prototype.name;
+
+/**
+ * @type {(createjs.Stage|null)} 
+ */
+createjs.DisplayObject.prototype.stage;
+
+/**
+ * @type {boolean} 
+ */
+createjs.DisplayObject.prototype.visible;
+
+/**
+ * @type {number} 
+ */
+createjs.DisplayObject.prototype.width;
+
+/**
+ * @type {number} 
+ */
+createjs.DisplayObject.prototype.x;
+
+/**
+ * @type {number} 
+ */
+createjs.DisplayObject.prototype.y;
+
+/**
+ */
+createjs.DisplayObject.prototype._applyFilters = function () {  }
+
+/**
+ * @param {(CanvasRenderingContext2D|null)} ctx 
+ * @param {(createjs.Shadow|null)} shadow 
+ */
+createjs.DisplayObject.prototype._applyShadow = function (ctx, shadow) {  }
+
+/**
+ * @param {(createjs.DisplayObject|null)} o
+ * @returns {(createjs.DisplayObject|null)}
+ */
+createjs.DisplayObject.prototype._cloneProps = function (o) {  return null; }
+
+/**
+ * @returns {(boolean|null)} 
+ */
+createjs.DisplayObject.prototype._hasMouseEventListener = function () {  return null; }
+
+/**
+ * @param {(createjs.Matrix2D|null)} matrix 
+ * @param {(boolean|null)} ignoreTransform
+ * @returns {(createjs.Rectangle|null)} 
+ */
+createjs.DisplayObject.prototype._getBounds = function (matrix, ignoreTransform) {  return null; }
+
+/**
+ * @returns {(createjs.Rectangle|null)} 
+ */
+createjs.DisplayObject.prototype._getFilterBounds = function (rect) {  return null; }
+
+/**
+ * @param {(CanvasRenderingContext2D|null)} ctx 
+ * @returns {(boolean|null)} 
+ */
+createjs.DisplayObject.prototype._testHit = function (ctx) {  return null; }
+
+/**
+ * @param {(Object|null)} evtObj
+ */
+createjs.DisplayObject.prototype._tick = function (evtObj) {  }
+
+/**
+ * @param {(createjs.Rectangle|null)} bounds 
+ * @param {(createjs.Matrix2D|null)} matrix 
+ * @param {(boolean|null)} ignoreTransform 
+ * @returns {(createjs.Rectangle|null)} 
+ */
+createjs.DisplayObject.prototype._transformBounds = function (bounds, matrix, ignoreTransform) {  return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(number|null)} width
+ * @param {(number|null)} height
+ * @param {number=} opt_scale
+ */
+createjs.DisplayObject.prototype.cache = function (x, y, width, height, opt_scale) {  }
+
+/**
+ * @returns {(createjs.DisplayObject|null)}
+ */
+createjs.DisplayObject.prototype.clone = function () {  return null; }
+
+/**
+ * @param {(CanvasRenderingContext2D|null)} ctx
+ * @param {boolean=} opt_ignoreCache
+ * @returns {(boolean|null)} 
+ */
+createjs.DisplayObject.prototype.draw = function (ctx, opt_ignoreCache) {  return null; }
+
+/**
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.DisplayObject.prototype.getBounds = function () {  return null; }
+
+/**
+ * @returns {string} The image data url for the cache.
+ */
+createjs.DisplayObject.prototype.getCacheDataURL = function () { return ''; }
+
+/**
+ * @param {createjs.DisplayProps=} opt_props
+ * @returns {(createjs.DisplayProps|null)}
+ */
+createjs.DisplayObject.prototype.getConcatenatedDisplayProps = function (opt_props) {  return null; }
+
+/**
+ * @param {createjs.Matrix2D=} opt_matrix
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.DisplayObject.prototype.getConcatenatedMatrix = function (opt_matrix) {  return null; }
+
+/**
+ * @param {(createjs.Matrix2D|null)} matrix
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.DisplayObject.prototype.getMatrix = function (matrix) {  return null; }
+
+/**
+ * @returns {(createjs.Stage|null)} 
+ */
+createjs.DisplayObject.prototype.getStage = function () {  return null; }
+
+/**
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.DisplayObject.prototype.getTransformedBounds = function () {  return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(Object|createjs.Point)=} opt_pt
+ * @returns {(createjs.Point|null)}
+ */
+createjs.DisplayObject.prototype.globalToLocal = function (x, y, opt_pt) {  return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @returns {(boolean|null)}
+ */
+createjs.DisplayObject.prototype.hitTest = function (x, y) {  return null; }
+
+/**
+ * @returns {(boolean|null)} Boolean
+ */
+createjs.DisplayObject.prototype.isVisible = function () {  return null; }
+
+/**
+ * @param {(number|null)} x 
+ * @param {(number|null)} y 
+ * @param {(Object|createjs.Point)=} opt_pt 
+ * @returns {(createjs.Point|null)} 
+ */
+createjs.DisplayObject.prototype.localToGlobal = function (x, y, opt_pt) {  return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(createjs.DisplayObject|null)} target
+ * @param {(Object|createjs.Point)=} opt_pt
+ * @returns {(createjs.Point|null)}
+ */
+createjs.DisplayObject.prototype.localToLocal = function (x, y, target, opt_pt) {  return null; }
+
+/**
+ * @param {(Object|null)} props
+ * @returns {(createjs.DisplayObject|null)}
+ */
+createjs.DisplayObject.prototype.set = function (props) {  return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(number|null)} width
+ * @param {(number|null)} height
+ */
+createjs.DisplayObject.prototype.setBounds = function (x, y, width, height) {  }
+
+/**
+ * @param {number=} opt_x
+ * @param {number=} opt_y
+ * @param {number=} opt_scaleX
+ * @param {number=} opt_scaleY
+ * @param {number=} opt_rotation
+ * @param {number=} opt_skewX
+ * @param {number=} opt_skewY
+ * @param {number=} opt_regX
+ * @param {number=} opt_regY
+ * @returns {(createjs.DisplayObject|null)}
+ */
+createjs.DisplayObject.prototype.setTransform = function (opt_x, opt_y, opt_scaleX, opt_scaleY, opt_rotation, opt_skewX, opt_skewY, opt_regX, opt_regY) {  return null; }
+
+/**
+ */
+createjs.DisplayObject.prototype.uncache = function () {  }
+
+/**
+ * @param {string} compositeOperation
+ */
+createjs.DisplayObject.prototype.updateCache = function (compositeOperation) {  }
+
+/**
+ * @param {(CanvasRenderingContext2D|null)} ctx
+ */
+createjs.DisplayObject.prototype.updateContext = function (ctx) {  }
+
+/**
+ * @param {number=} opt_visible
+ * @param {number=} opt_alpha
+ * @param {number=} opt_shadow
+ * @param {number=} opt_compositeOperation
+ * @param {number=} opt_matrix
+ * @constructor
+ */
+createjs.DisplayProps = function (opt_visible, opt_alpha, opt_shadow, opt_compositeOperation, opt_matrix) {}
+
+/**
+ * @param {(boolean|null)} visible
+ * @param {(number|null)} alpha
+ * @param {(createjs.Shadow|null)} shadow
+ * @param {string} compositeOperation
+ * @param {createjs.Matrix2D=} opt_matrix
+ * @returns {(createjs.DisplayProps|null)}
+ */
+createjs.DisplayProps.prototype.append = function (visible, alpha, shadow, compositeOperation, opt_matrix) {  return null; }
+
+/**
+ * @returns {(createjs.DisplayProps|null)}
+ */
+createjs.DisplayProps.prototype.clone = function () {  return null; }
+
+/**
+ * @returns {(createjs.DisplayProps|null)}
+ */
+createjs.DisplayProps.prototype.identity = function () {  return null; }
+
+/**
+ * @param {(boolean|null)} visible
+ * @param {(number|null)} alpha
+ * @param {(createjs.Shadow|null)} shadow
+ * @param {string} compositeOperation
+ * @param {createjs.Matrix2D=} opt_matrix
+ * @returns {(createjs.DisplayProps|null)}
+ */
+createjs.DisplayProps.prototype.prepend = function (visible, alpha, shadow, compositeOperation, opt_matrix) {  return null; }
+
+/**
+ * @param {number=} opt_visible
+ * @param {number=} opt_alpha
+ * @param {number=} opt_shadow
+ * @param {number=} opt_compositeOperation
+ * @param {number=} opt_matrix
+ * @returns {(createjs.DisplayProps|null)}
+ */
+createjs.DisplayProps.prototype.setValues = function (opt_visible, opt_alpha, opt_shadow, opt_compositeOperation, opt_matrix) {  return null; }
+
+/**
+ * @constructor
+ */
+createjs.Ease = function () {}
+
+/**
+ * @param {(number|null)} t 
+ * @returns {(number|null)} 
+ */
+createjs.Ease.bounceIn = function (t) { return 0; }
+
+/**
+ * @param {(number|null)} t 
+ * @returns {(number|null)} 
+ */
+createjs.Ease.bounceInOut = function (t) { return 0; }
+
+/**
+ * @param {(number|null)} t 
+ * @returns {(number|null)} 
+ */
+createjs.Ease.bounceOut = function (t) { return 0; }
+
+/**
+ * @param {(number|null)} t 
+ * @returns {(number|null)} 
+ */
+createjs.Ease.circIn = function (t) { return 0; }
+
+/**
+ * @param {(number|null)} t 
+ * @returns {(number|null)} 
+ */
+createjs.Ease.circInOut = function (t) { return 0; }
+
+/**
+ * @param {(number|null)} t 
+ * @returns {(number|null)} 
+ */
+createjs.Ease.circOut = function (t) { return 0; }
+
+/**
+ * @param {(number|null)} amount
+ * @returns {(Function|null)} 
+ */
+createjs.Ease.get = function (amount) {  return null; }
+
+/**
+ * @param {(number|null)} amount
+ * @returns {(Function|null)} 
+ */
+createjs.Ease.getBackIn = function (amount) {  return null; }
+
+/**
+ * @param {(number|null)} amount
+ * @returns {(Function|null)} 
+ */
+createjs.Ease.getBackInOut = function (amount) {  return null; }
+
+/**
+ * @param {(number|null)} amount
+ * @returns {(Function|null)} 
+ */
+createjs.Ease.getBackOut = function (amount) {  return null; }
+
+/**
+ * @param {(number|null)} amplitude 
+ * @param {(number|null)} period 
+ * @returns {(Function|null)} 
+ */
+createjs.Ease.getElasticIn = function (amplitude, period) {  return null; }
+
+/**
+ * @param {(number|null)} amplitude 
+ * @param {(number|null)} period 
+ * @returns {(Function|null)} 
+ */
+createjs.Ease.getElasticInOut = function (amplitude, period) {  return null; }
+
+/**
+ * @param {(number|null)} amplitude 
+ * @param {(number|null)} period 
+ * @returns {(Function|null)} 
+ */
+createjs.Ease.getElasticOut = function (amplitude, period) {  return null; }
+
+/**
+ * @param {(number|null)} pow
+ * @returns {(Function|null)} 
+ */
+createjs.Ease.getPowIn = function (pow) {  return null; }
+
+/**
+ * @param {(number|null)} pow
+ * @returns {(Function|null)} 
+ */
+createjs.Ease.getPowInOut = function (pow) {  return null; }
+
+/**
+ * @param {(number|null)} pow
+ * @returns {(Function|null)} 
+ */
+createjs.Ease.getPowOut = function (pow) {  return null; }
+
+/**
+ * @param {(number|null)} t 
+ * @returns {(number|null)} 
+ */
+createjs.Ease.linear = function (t) { return 0; }
+
+/**
+ * @param {(number|null)} t 
+ * @returns {(number|null)} 
+ */
+createjs.Ease.sineIn = function (t) { return 0; }
+
+/**
+ * @param {(number|null)} t 
+ * @returns {(number|null)} 
+ */
+createjs.Ease.sineInOut = function (t) { return 0; }
+
+/**
+ * @param {(number|null)} t 
+ * @returns {(number|null)} 
+ */
+createjs.Ease.sineOut = function (t) { return 0; }
+
+/**
+ * @param {string} type
+ * @param {(boolean|null)} bubbles
+ * @param {(boolean|null)} cancelable
+ * @constructor
+ */
+createjs.Event = function (type, bubbles, cancelable) {}
+
+/**
+ * @returns {(Event|null)}
+ */
+createjs.Event.prototype.clone = function () {  return null; }
+
+/**
+ */
+createjs.Event.prototype.preventDefault = function () {  }
+
+/**
+ */
+createjs.Event.prototype.remove = function () {  }
+
+/**
+ * @param {(Object|null)} props
+ * @returns {(Event|null)} Returns
+ */
+createjs.Event.prototype.set = function (props) {  return null; }
+
+/**
+ */
+createjs.Event.prototype.stopImmediatePropagation = function () {  }
+
+/**
+ */
+createjs.Event.prototype.stopPropagation = function () {  }
+
+/**
+ * @returns {string}
+ */
+createjs.Event.prototype.toString = function () { return ''; }
+
+/**
+ * @constructor
+ */
+createjs.EventDispatcher = function () {}
+
+/**
+ * @param {(Event|Object|null)} eventObj 
+ * @param {(Object|null)} eventPhase 
+ */
+createjs.EventDispatcher.prototype._dispatchEvent = function (eventObj, eventPhase) {  }
+
+/**
+ * @param {string} type
+ * @param {(Object|null)} listener
+ * @param {boolean=} opt_useCapture
+ * @returns {(Object|null)}
+ */
+createjs.EventDispatcher.prototype.addEventListener = function (type, listener, opt_useCapture) {  return null; }
+
+/**
+ * @param {(Event|Object|null)} eventObj
+ * @returns {(boolean|null)}
+ */
+createjs.EventDispatcher.prototype.dispatchEvent = function (eventObj) {  return null; }
+
+/**
+ * @param {string} type
+ * @returns {(boolean|null)}
+ */
+createjs.EventDispatcher.prototype.hasEventListener = function (type) {  return null; }
+
+/**
+ * @param {(Object|null)} target The target object to inject EventDispatcher methods into. This can be an instance or a prototype.
+ */
+createjs.EventDispatcher.initialize = function (target) {  }
+
+/**
+ * @param {string} type
+ * @param {(Object|null)} listener
+ * @param {Object=} opt_scope
+ * @param {boolean=} opt_once
+ * @param {*=} opt_data
+ * @param {boolean=} opt_useCapture
+ * @returns {(Function|null)}
+ */
+createjs.EventDispatcher.prototype.on = function (type, listener, opt_scope, opt_once, opt_data, opt_useCapture) {  return null; }
+
+/**
+ * @param {string} type
+ * @param {(Object|null)} listener
+ * @param {boolean=} opt_useCapture
+ */
+createjs.EventDispatcher.prototype.removeEventListener = function (type, listener, opt_useCapture) {  }
+
+/**
+ * @param {string=} opt_type
+ */
+createjs.EventDispatcher.prototype.removeAllEventListeners = function (opt_type) {  }
+
+/**
+ * @returns {string}
+ */
+createjs.EventDispatcher.prototype.toString = function () { return ''; }
+
+/**
+ * @param {string} type
+ * @returns {(boolean|null)}
+ */
+createjs.EventDispatcher.prototype.willTrigger = function (type) {  return null; }
+
+/**
+ * @constructor
+ */
+createjs.Filter = function () {}
+
+/**
+ * @param {(ImageData|null)} imageData
+ * @returns {(boolean|null)} 
+ */
+createjs.Filter.prototype._applyFilter = function (imageData) {  return null; }
+
+/**
+ * @param {(CanvasRenderingContext2D|null)} ctx
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(number|null)} width
+ * @param {(number|null)} height
+ * @param {CanvasRenderingContext2D=} opt_targetCtx
+ * @param {number=} opt_targetX
+ * @param {number=} opt_targetY
+ * @returns {(boolean|null)}
+ */
+createjs.Filter.prototype.applyFilter = function (ctx, x, y, width, height, opt_targetCtx, opt_targetX, opt_targetY) {  return null; }
+
+/**
+ * @returns {(createjs.Filter|null)}
+ */
+createjs.Filter.prototype.clone = function () {  return null; }
+
+/**
+ * @param {createjs.Rectangle=} opt_rect
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.Filter.prototype.getBounds = function (opt_rect) {  return null; }
+
+/**
+ * @returns {string}
+ */
+createjs.Filter.prototype.toString = function () { return ''; }
+
+/**
+ * @const
+ * @suppress {duplicate|const} */
+var createjs = {};
+
+
+/**
+ * @constructor
+ */
+createjs.Graphics = function () {}
+
+/**
+ * @type {(Array|null)} 
+ */
+createjs.Graphics.prototype.instructions;
+
+/**
+ * @param fill 
+ */
+createjs.Graphics.prototype._setFill = function (fill) {  }
+
+/**
+ * @param stroke 
+ */
+createjs.Graphics.prototype._setStroke = function (stroke) {  }
+
+/**
+ * @param commit 
+ */
+createjs.Graphics.prototype._updateInstructions = function (commit) {  }
+
+/**
+ * @param {(Object|null)} command
+ * @param {boolean} clean
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.append = function (command, clean) {  return null; }
+
+/**
+ * @param {(number|null)} x 
+ * @param {(number|null)} y 
+ * @param {(number|null)} radius 
+ * @param {(number|null)} startAngle
+ * @param {(number|null)} endAngle
+ * @param {(boolean|null)} anticlockwise 
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.arc = function (x, y, radius, startAngle, endAngle, anticlockwise) {  return null; }
+
+/**
+ * @param {(number|null)} x1 
+ * @param {(number|null)} y1 
+ * @param {(number|null)} x2 
+ * @param {(number|null)} y2 
+ * @param {(number|null)} radius 
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.arcTo = function (x1, y1, x2, y2, radius) {  return null; }
+
+/**
+ * @param {(HTMLCanvasElement|HTMLImageElement|HTMLVideoElement|null)} image
+ * @param {string} repetition 
+ * @param {(createjs.Matrix2D|null)} matrix
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.beginBitmapFill = function (image, repetition, matrix) {  return null; }
+
+/**
+ * @param {(HTMLCanvasElement|HTMLImageElement|HTMLVideoElement|null)} image
+ * @param {string=} opt_repetition
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.beginBitmapStroke = function (image, opt_repetition) {  return null; }
+
+/**
+ * @param {string} color
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.beginFill = function (color) {  return null; }
+
+/**
+ * @param {(Array|null)} colors
+ * @param {(Array|null)} ratios
+ * @param {(number|null)} x0
+ * @param {(number|null)} y0
+ * @param {(number|null)} x1
+ * @param {(number|null)} y1
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.beginLinearGradientFill = function (colors, ratios, x0, y0, x1, y1) {  return null; }
+
+/**
+ * @param {(Array|null)} colors
+ * @param {(Array|null)} ratios
+ * @param {(number|null)} x0
+ * @param {(number|null)} y0
+ * @param {(number|null)} x1
+ * @param {(number|null)} y1
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.beginLinearGradientStroke = function (colors, ratios, x0, y0, x1, y1) {  return null; }
+
+/**
+ * @param {(Array|null)} colors
+ * @param {(Array|null)} ratios
+ * @param {(number|null)} x0
+ * @param {(number|null)} y0
+ * @param {(number|null)} r0
+ * @param {(number|null)} x1
+ * @param {(number|null)} y1
+ * @param {(number|null)} r1
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.beginRadialGradientFill = function (colors, ratios, x0, y0, r0, x1, y1, r1) {  return null; }
+
+/**
+ * @param {(Array|null)} colors
+ * @param {(Array|null)} ratios
+ * @param {(number|null)} x0
+ * @param {(number|null)} y0
+ * @param {(number|null)} r0
+ * @param {(number|null)} x1
+ * @param {(number|null)} y1
+ * @param {(number|null)} r1
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.beginRadialGradientStroke = function (colors, ratios, x0, y0, r0, x1, y1, r1) {  return null; }
+
+/**
+ * @param {string} color
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.beginStroke = function (color) {  return null; }
+
+/**
+ * @param {(number|null)} cp1x 
+ * @param {(number|null)} cp1y 
+ * @param {(number|null)} cp2x 
+ * @param {(number|null)} cp2y 
+ * @param {(number|null)} x 
+ * @param {(number|null)} y 
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.bezierCurveTo = function (cp1x, cp1y, cp2x, cp2y, x, y) {  return null; }
+
+/**
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.clear = function () {  return null; }
+
+/**
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.clone = function () {  return null; }
+
+/**
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.closePath = function () {  return null; }
+
+/**
+ * @param {string} str
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.decodePath = function (str) {  return null; }
+
+/**
+ * @param {(CanvasRenderingContext2D|null)} ctx
+ * @param {(Object|null)} data
+ */
+createjs.Graphics.prototype.draw = function (ctx, data) {  }
+
+/**
+ * @param {(CanvasRenderingContext2D|null)} ctx
+ */
+createjs.Graphics.prototype.drawAsPath = function (ctx) {  }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(number|null)} radius
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.drawCircle = function (x, y, radius) {  return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(number|null)} w
+ * @param {(number|null)} h
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.drawEllipse = function (x, y, w, h) {  return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(number|null)} radius
+ * @param {(number|null)} sides
+ * @param {(number|null)} pointSize
+ * @param {(number|null)} angle
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.drawPolyStar = function (x, y, radius, sides, pointSize, angle) {  return null; }
+
+/**
+ * @param {(number|null)} x 
+ * @param {(number|null)} y 
+ * @param {(number|null)} w 
+ * @param {(number|null)} h 
+ * @param {(number|null)} radius
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.drawRoundRect = function (x, y, w, h, radius) {  return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(number|null)} w
+ * @param {(number|null)} h
+ * @param {(number|null)} radiusTL
+ * @param {(number|null)} radiusTR
+ * @param {(number|null)} radiusBR
+ * @param {(number|null)} radiusBL
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.drawRoundRectComplex = function (x, y, w, h, radiusTL, radiusTR, radiusBR, radiusBL) {  return null; }
+
+/**
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.endFill = function () {  return null; }
+
+/**
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.endStroke = function () {  return null; }
+
+/**
+ * @param {(number|null)} hue
+ * @param {(number|null)} saturation
+ * @param {(number|null)} lightness
+ * @param {number=} opt_alpha
+ * @returns {string}
+ */
+createjs.Graphics.getHSL = function (hue, saturation, lightness, opt_alpha) { return ''; }
+
+/**
+ * @returns {(Array|null)} 
+ */
+createjs.Graphics.prototype.getInstructions = function () {  return null; }
+
+/**
+ * @param {(number|null)} r
+ * @param {(number|null)} g
+ * @param {(number|null)} b
+ * @param {number=} opt_alpha
+ * @returns {string}
+ */
+createjs.Graphics.getRGB = function (r, g, b, opt_alpha) { return ''; }
+
+/**
+ * @returns {(boolean|null)}
+ */
+createjs.Graphics.prototype.isEmpty = function () {  return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.lineTo = function (x, y) {  return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.moveTo = function (x, y) {  return null; }
+
+/**
+ * @param {(number|null)} cpx 
+ * @param {(number|null)} cpy 
+ * @param {(number|null)} x 
+ * @param {(number|null)} y 
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.quadraticCurveTo = function (cpx, cpy, x, y) {  return null; }
+
+/**
+ * @param {(number|null)} x 
+ * @param {(number|null)} y 
+ * @param {(number|null)} w
+ * @param {(number|null)} h
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.rect = function (x, y, w, h) {  return null; }
+
+/**
+ * @param {(number|null)} thickness
+ * @param {(number|string)=} opt_caps 
+ * @param {(number|string)=} opt_joints 
+ * @param {number=} opt_miterLimit
+ * @param {boolean=} opt_ignoreScale
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.setStrokeStyle = function (thickness, opt_caps, opt_joints, opt_miterLimit, opt_ignoreScale) {  return null; }
+
+/**
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.store = function () {  return null; }
+
+/**
+ * @returns {string}
+ */
+createjs.Graphics.prototype.toString = function () { return ''; }
+
+/**
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.unstore = function () {  return null; }
+
+/**
+ * @param {number=} opt_a
+ * @param {number=} opt_b
+ * @param {number=} opt_c
+ * @param {number=} opt_d
+ * @param {number=} opt_tx
+ * @param {number=} opt_ty
+ * @constructor
+ */
+createjs.Matrix2D = function (opt_a, opt_b, opt_c, opt_d, opt_tx, opt_ty) {}
+
+/**
+ * @param {(number|null)} a 
+ * @param {(number|null)} b 
+ * @param {(number|null)} c 
+ * @param {(number|null)} d 
+ * @param {(number|null)} tx 
+ * @param {(number|null)} ty 
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.append = function (a, b, c, d, tx, ty) {  return null; }
+
+/**
+ * @param {(createjs.Matrix2D|null)} matrix 
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.appendMatrix = function (matrix) {  return null; }
+
+/**
+ * @param {(number|null)} x 
+ * @param {(number|null)} y 
+ * @param {(number|null)} scaleX 
+ * @param {(number|null)} scaleY 
+ * @param {(number|null)} rotation 
+ * @param {(number|null)} skewX 
+ * @param {(number|null)} skewY 
+ * @param {(number|null)} regX Optional.
+ * @param {(number|null)} regY Optional.
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.appendTransform = function (x, y, scaleX, scaleY, rotation, skewX, skewY, regX, regY) {  return null; }
+
+/**
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.clone = function () {  return null; }
+
+/**
+ * @param {(createjs.Matrix2D|null)} matrix
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.copy = function (matrix) {  return null; }
+
+/**
+ * @param {(Object|null)} target
+ * @returns {(Object|null)}
+ */
+createjs.Matrix2D.prototype.decompose = function (target) {  return null; }
+
+/**
+ * @param {(createjs.Matrix2D|null)} matrix
+ * @returns {(boolean|null)} 
+ */
+createjs.Matrix2D.prototype.equals = function (matrix) {  return null; }
+
+/**
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.identity = function () {  return null; }
+
+/**
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.invert = function () {  return null; }
+
+/**
+ * @returns {(boolean|null)} 
+ */
+createjs.Matrix2D.prototype.isIdentity = function () {  return null; }
+
+/**
+ * @param {(number|null)} a 
+ * @param {(number|null)} b 
+ * @param {(number|null)} c 
+ * @param {(number|null)} d 
+ * @param {(number|null)} tx 
+ * @param {(number|null)} ty 
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.prepend = function (a, b, c, d, tx, ty) {  return null; }
+
+/**
+ * @param {(createjs.Matrix2D|null)} matrix 
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.prependMatrix = function (matrix) {  return null; }
+
+/**
+ * @param {(number|null)} x 
+ * @param {(number|null)} y 
+ * @param {(number|null)} scaleX 
+ * @param {(number|null)} scaleY 
+ * @param {(number|null)} rotation 
+ * @param {(number|null)} skewX 
+ * @param {(number|null)} skewY 
+ * @param {(number|null)} regX
+ * @param {(number|null)} regY
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.prependTransform = function (x, y, scaleX, scaleY, rotation, skewX, skewY, regX, regY) {  return null; }
+
+/**
+ * @param {(number|null)} angle
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.rotate = function (angle) {  return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.scale = function (x, y) {  return null; }
+
+/**
+ * @param {number=} opt_a
+ * @param {number=} opt_b
+ * @param {number=} opt_c
+ * @param {number=} opt_d
+ * @param {number=} opt_tx
+ * @param {number=} opt_ty
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.setValues = function (opt_a, opt_b, opt_c, opt_d, opt_tx, opt_ty) {  return null; }
+
+/**
+ * @param {(number|null)} skewX
+ * @param {(number|null)} skewY
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.skew = function (skewX, skewY) {  return null; }
+
+/**
+ * @returns {string}
+ */
+createjs.Matrix2D.prototype.toString = function () { return ''; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(Object|createjs.Point)=} opt_pt
+ * @returns {(createjs.Point|null)}
+ */
+createjs.Matrix2D.prototype.transformPoint = function (x, y, opt_pt) {  return null; }
+
+/**
+ * @param {(number|null)} x 
+ * @param {(number|null)} y 
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.translate = function (x, y) {  return null; }
+
+/**
+ * @param {string} type
+ * @param {(boolean|null)} bubbles
+ * @param {(boolean|null)} cancelable
+ * @param {(number|null)} stageX
+ * @param {(number|null)} stageY
+ * @param {(MouseEvent|null)} nativeEvent
+ * @param {(number|null)} pointerID
+ * @param {(boolean|null)} primary
+ * @param {(number|null)} rawX
+ * @param {(number|null)} rawY
+ * @constructor
+ * @extends createjs.Event
+ */
+createjs.MouseEvent = function (type, bubbles, cancelable, stageX, stageY, nativeEvent, pointerID, primary, rawX, rawY) {}
+
+/**
+ */
+createjs.MouseEvent.prototype._get_isTouch = function () {  }
+
+/**
+ */
+createjs.MouseEvent.prototype._get_localX = function () {  }
+
+/**
+ */
+createjs.MouseEvent.prototype._get_localY = function () {  }
+
+/**
+ * @param {string=} opt_mode
+ * @param {number=} opt_startPosition
+ * @param {boolean=} opt_loop
+ * @param {Object=} opt_labels
+ * @constructor
+ * @extends createjs.Container
+ */
+createjs.MovieClip = function (opt_mode, opt_startPosition, opt_loop, opt_labels) {}
+
+/**
+ * @param {(createjs.MovieClip|null)} child
+ * @param {(number|null)} offset 
+ */
+createjs.MovieClip.prototype._addManagedChild = function (child, offset) {  }
+
+/**
+ * @param {(number|string|null)} positionOrLabel
+ */
+createjs.MovieClip.prototype._goto = function (positionOrLabel) {  }
+
+/**
+ */
+createjs.MovieClip.prototype._reset = function () {  }
+
+/**
+ * @param {(Array|null)} state 
+ * @param {(number|null)} offset 
+ */
+createjs.MovieClip.prototype._setState = function (state, offset) {  }
+
+/**
+ */
+createjs.MovieClip.prototype._updateTimeline = function () {  }
+
+/**
+ * @param {(number|null)} time
+ */
+createjs.MovieClip.prototype.advance = function (time) {  }
+
+/**
+ * @returns {string} 
+ */
+createjs.MovieClip.prototype.getCurrentLabel = function () { return ''; }
+
+/**
+ * @returns {(Array|null)} 
+ */
+createjs.MovieClip.prototype.getLabels = function () {  return null; }
+
+/**
+ * @param {(number|string|null)} positionOrLabel
+ */
+createjs.MovieClip.prototype.gotoAndPlay = function (positionOrLabel) {  }
+
+/**
+ * @param {(number|string|null)} positionOrLabel
+ */
+createjs.MovieClip.prototype.gotoAndStop = function (positionOrLabel) {  }
+
+/**
+ */
+createjs.MovieClip.prototype.play = function () {  }
+
+/**
+ */
+createjs.MovieClip.prototype.stop = function () {  }
+
+/**
+ * @param {number=} opt_x X
+ * @param {number=} opt_y Y
+ * @constructor
+ */
+createjs.Point = function (opt_x, opt_y) {}
+
+/**
+ * @returns {(createjs.Point|null)}
+ */
+createjs.Point.prototype.clone = function () {  return null; }
+
+/**
+ * @param {(createjs.Point|null)} point
+ * @returns {(createjs.Point|null)}
+ */
+createjs.Point.prototype.copy = function (point) {  return null; }
+
+/**
+ * @param {number=} opt_x
+ * @param {number=} opt_y
+ * @returns {(createjs.Point|null)}
+ */
+createjs.Point.prototype.setValues = function (opt_x, opt_y) {  return null; }
+
+/**
+ * @returns {string}
+ */
+createjs.Point.prototype.toString = function () { return ''; }
+
+/**
+ * @param {number=} opt_x
+ * @param {number=} opt_y
+ * @param {number=} opt_width
+ * @param {number=} opt_height
+ * @constructor
+ */
+createjs.Rectangle = function (opt_x, opt_y, opt_width, opt_height) {}
+
+/**
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.Rectangle.prototype.clone = function () {  return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {number=} opt_width
+ * @param {number=} opt_height
+ * @returns {(boolean|null)}
+ */
+createjs.Rectangle.prototype.contains = function (x, y, opt_width, opt_height) {  return null; }
+
+/**
+ * @param {(createjs.Rectangle|null)} rectangle
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.Rectangle.prototype.copy = function (rectangle) {  return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {number=} opt_width
+ * @param {number=} opt_height
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.Rectangle.prototype.extend = function (x, y, opt_width, opt_height) {  return null; }
+
+/**
+ * @param {(createjs.Rectangle|null)} rect
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.Rectangle.prototype.intersection = function (rect) {  return null; }
+
+/**
+ * @param {(createjs.Rectangle|null)} rect
+ * @returns {(boolean|null)}
+ */
+createjs.Rectangle.prototype.intersects = function (rect) {  return null; }
+
+/**
+ * @returns {(boolean|null)}
+ */
+createjs.Rectangle.prototype.isEmpty = function () {  return null; }
+
+/**
+ * @param {number=} opt_top 
+ * @param {number=} opt_left 
+ * @param {number=} opt_right 
+ * @param {number=} opt_bottom 
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.Rectangle.prototype.pad = function (opt_top, opt_left, opt_right, opt_bottom) {  return null; }
+
+/**
+ * @param {number=} opt_x
+ * @param {number=} opt_y
+ * @param {number=} opt_width
+ * @param {number=} opt_height
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.Rectangle.prototype.setValues = function (opt_x, opt_y, opt_width, opt_height) {  return null; }
+
+/**
+ * @returns {string}
+ */
+createjs.Rectangle.prototype.toString = function () { return ''; }
+
+/**
+ * @param {(createjs.Rectangle|null)} rect
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.Rectangle.prototype.union = function (rect) {  return null; }
+
+/**
+ * @param {string} color
+ * @param {(number|null)} offsetX
+ * @param {(number|null)} offsetY
+ * @param {(number|null)} blur
+ * @constructor
+ */
+createjs.Shadow = function (color, offsetX, offsetY, blur) {}
+
+/**
+ * @returns {(createjs.Shadow|null)}
+ */
+createjs.Shadow.prototype.clone = function () {  return null; }
+
+/**
+ * @returns {string}
+ */
+createjs.Shadow.prototype.toString = function () { return ''; }
+
+/**
+ * @param {(createjs.Graphics|null)} graphics
+ * @constructor
+ * @extends createjs.DisplayObject
+ */
+createjs.Shape = function (graphics) {}
+
+/**
+ * @param {(createjs.SpriteSheet|null)} spriteSheet
+ * @param {(number|string)=} opt_frameOrAnimation
+ * @constructor
+ * @extends createjs.DisplayObject
+ */
+createjs.Sprite = function (spriteSheet, opt_frameOrAnimation) {}
+
+/**
+ */
+createjs.Sprite.prototype._dispatchAnimationEnd = function (animation, frame, paused, next, end) {  }
+
+/**
+ * @param {(number|string|null)} frameOrAnimation
+ * @param {boolean=} opt_frame
+ */
+createjs.Sprite.prototype._goto = function (frameOrAnimation, opt_frame) {  }
+
+/**
+ */
+createjs.Sprite.prototype._normalizeFrame = function (frameDelta) {  }
+
+/**
+ * @param {(number|null)} time
+ */
+createjs.Sprite.prototype.advance = function (time) {  }
+
+/**
+ * @param {(number|string|null)} frameOrAnimation
+ */
+createjs.Sprite.prototype.gotoAndPlay = function (frameOrAnimation) {  }
+
+/**
+ * @param {(number|string|null)} frameOrAnimation
+ */
+createjs.Sprite.prototype.gotoAndStop = function (frameOrAnimation) {  }
+
+/**
+ */
+createjs.Sprite.prototype.play = function () {  }
+
+/**
+ */
+createjs.Sprite.prototype.stop = function () {  }
+
+/**
+ * @param {createjs.SpriteSheet=} opt_spriteSheet
+ * @constructor
+ * @extends createjs.Container
+ */
+createjs.SpriteContainer = function (opt_spriteSheet) {}
+
+/**
+ * @param {(Object|null)} data
+ * @constructor
+ * @extends createjs.EventDispatcher
+ */
+createjs.SpriteSheet = function (data) {}
+
+/**
+ * @type {(Array|null)} 
+ */
+createjs.SpriteSheet.prototype.animations;
+
+/**
+ */
+createjs.SpriteSheet.prototype._calculateFrames = function () {  }
+
+/**
+ */
+createjs.SpriteSheet.prototype._handleImageLoad = function () {  }
+
+/**
+ * @param {(Object|null)} data
+ */
+createjs.SpriteSheet.prototype._parseData = function (data) {  }
+
+/**
+ */
+createjs.SpriteSheet.prototype.clone = function () {  }
+
+/**
+ * @param {string} name
+ * @returns {(Object|null)}
+ */
+createjs.SpriteSheet.prototype.getAnimation = function (name) {  return null; }
+
+/**
+ * @returns {(Array|null)} 
+ */
+createjs.SpriteSheet.prototype.getAnimations = function () {  return null; }
+
+/**
+ * @param {(number|null)} frameIndex
+ * @returns {(Object|null)}
+ */
+createjs.SpriteSheet.prototype.getFrame = function (frameIndex) {  return null; }
+
+/**
+ * @param {(number|null)} frameIndex
+ * @param {createjs.Rectangle=} opt_rectangle
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.SpriteSheet.prototype.getFrameBounds = function (frameIndex, opt_rectangle) {  return null; }
+
+/**
+ * @param {string} animation
+ * @returns {(number|null)}
+ */
+createjs.SpriteSheet.prototype.getNumFrames = function (animation) { return 0; }
+
+/**
+ * @constructor
+ * @extends createjs.EventDispatcher
+ */
+createjs.SpriteSheetBuilder = function () {}
+
+/**
+ * @returns {?}
+ */
+createjs.SpriteSheetBuilder.prototype._drawNext = function () {  return null; }
+
+/**
+ */
+createjs.SpriteSheetBuilder.prototype._endBuild = function () {  }
+
+/**
+ * @param {(Array|null)} frames 
+ * @param {(number|null)} y 
+ * @param {(Image|null)} img 
+ * @param {(Object|null)} dataFrames 
+ * @param {(number|null)} pad 
+ * @returns {(number|null)}
+ */
+createjs.SpriteSheetBuilder.prototype._fillRow = function (frames, y, img, dataFrames, pad) { return 0; }
+
+/**
+ * @returns {(number|null)}
+ */
+createjs.SpriteSheetBuilder.prototype._getSize = function (size, max) { return 0; }
+
+/**
+ */
+createjs.SpriteSheetBuilder.prototype._run = function () {  }
+
+/**
+ * @returns {(number|null)}
+ */
+createjs.SpriteSheetBuilder.prototype._setupMovieClipFrame = function (source, data) { return 0; }
+
+/**
+ */
+createjs.SpriteSheetBuilder.prototype._startBuild = function () {  }
+
+/**
+ * @param {string} name
+ * @param {(Array|null)} frames
+ * @param {string=} opt_next
+ * @param {number=} opt_frequency
+ */
+createjs.SpriteSheetBuilder.prototype.addAnimation = function (name, frames, opt_next, opt_frequency) {  }
+
+
+/**
+ * @param {(createjs.DisplayObject|null)} source
+ * @param {createjs.Rectangle=} opt_sourceRect
+ * @param {number=} opt_scale
+ * @param {Function=} opt_setupFunction
+ * @param {Object=} opt_setupData
+ * @returns {(number|null)}
+ */
+createjs.SpriteSheetBuilder.prototype.addFrame = function (source, opt_sourceRect, opt_scale, opt_setupFunction, opt_setupData) { return 0; }
+
+/**
+ * @param {(createjs.MovieClip|null)} source
+ * @param {createjs.Rectangle=} opt_sourceRect
+ * @param {number=} opt_scale
+ * @param {Function=} opt_setupFunction
+ * @param {Object=} opt_setupData
+ * @param {Function=} opt_labelFunction
+ */
+createjs.SpriteSheetBuilder.prototype.addMovieClip = function (source, opt_sourceRect, opt_scale, opt_setupFunction, opt_setupData, opt_labelFunction) {  }
+
+/**
+ * @returns {(createjs.SpriteSheet|null)}
+ */
+createjs.SpriteSheetBuilder.prototype.build = function () {  return null; }
+
+/**
+ * @param {number=} opt_timeSlice
+ */
+createjs.SpriteSheetBuilder.prototype.buildAsync = function (opt_timeSlice) {  }
+
+/**
+ */
+createjs.SpriteSheetBuilder.prototype.clone = function () {  }
+
+/**
+ */
+createjs.SpriteSheetBuilder.prototype.stopAsync = function () {  }
+
+/**
+ * @param {(HTMLCanvasElement|Object|null)} canvas
+ * @param {(boolean|null)} preserveDrawingBuffer
+ * @param {(boolean|null)} antialias
+ * @constructor
+ * @extends createjs.Stage
+ */
+createjs.SpriteStage = function (canvas, preserveDrawingBuffer, antialias) {}
+
+/**
+ */
+createjs.SpriteStage.prototype.isWebGL;
+
+/**
+ * @param {(WebGLRenderingContext|null)} ctx 
+ */
+createjs.SpriteStage.prototype._createBuffers = function (ctx) {  }
+
+/**
+ * @param {(WebGLRenderingContext|null)} ctx 
+ * @param {(number|null)} type
+ * @param {string} str
+ * @returns {(WebGLShader|null)} 
+ */
+createjs.SpriteStage.prototype._createShader = function (ctx, type, str) {  return null; }
+
+/**
+ * @param {(WebGLRenderingContext|null)} ctx 
+ */
+createjs.SpriteStage.prototype._createShaderProgram = function (ctx) {  }
+
+/**
+ * @param {(WebGLRenderingContext|null)} ctx
+ */
+createjs.SpriteStage.prototype._drawToGPU = function (ctx) {  }
+
+/**
+ * @param {(Array|null)} kids
+ * @param {(WebGLRenderingContext|null)} ctx
+ * @param {(createjs.Matrix2D|null)} parentMVMatrix
+ */
+createjs.SpriteStage.prototype._drawWebGLKids = function (kids, ctx, parentMVMatrix) {  }
+
+/**
+ */
+createjs.SpriteStage.prototype._get_isWebGL = function () {  }
+
+/**
+ */
+createjs.SpriteStage.prototype._initializeWebGL = function () {  }
+
+/**
+ */
+createjs.SpriteStage.prototype._initializeWebGLContext = function () {  }
+
+/**
+ * @param {(number|null)} r
+ * @param {(number|null)} g
+ * @param {(number|null)} b
+ * @param {(number|null)} a
+ */
+createjs.SpriteStage.prototype._setClearColor = function (r, g, b, a) {  }
+
+/**
+ * @param {(WebGLRenderingContext|null)} ctx
+ * @param {(Object|null)} kid
+ * @returns {(WebGLTexture|null)} 
+ */
+createjs.SpriteStage.prototype._setUpKidTexture = function (ctx, kid) {  return null; }
+
+/**
+ * @param {(WebGLRenderingContext|null)} ctx 
+ * @param {(number|null)} value
+ */
+createjs.SpriteStage.prototype._setMaxBoxesPoints = function (ctx, value) {  }
+
+/**
+ * @returns {(WebGLRenderingContext|null)}
+ */
+createjs.SpriteStage.prototype._setWebGLContext = function () {  return null; }
+
+/**
+ * @param {(Image|null)} image 
+ */
+createjs.SpriteStage.prototype.clearImageTexture = function (image) {  }
+
+/**
+ * @param {(number|null)} width 
+ * @param {(number|null)} height 
+ */
+createjs.SpriteStage.prototype.updateViewport = function (width, height) {  }
+
+/**
+ * @param {(HTMLCanvasElement|Object|null)} canvas
+ * @constructor
+ * @extends createjs.Container
+ */
+createjs.Stage = function (canvas) {}
+
+/**
+ */
+createjs.Stage.prototype.nextStage;
+
+/**
+ * @param {(createjs.DisplayObject|null)} target 
+ * @param {string} type 
+ * @param {(boolean|null)} bubbles 
+ * @param {(number|null)} pointerId 
+ * @param {(Object|null)} o 
+ * @param {MouseEvent=} opt_nativeEvent 
+ */
+createjs.Stage.prototype._dispatchMouseEvent = function (target, type, bubbles, pointerId, o, opt_nativeEvent) {  }
+
+/**
+ * @param {(HTMLElement|null)} e 
+ */
+createjs.Stage.prototype._getElementRect = function (e) {  }
+
+/**
+ */
+createjs.Stage.prototype._get_nextStage = function () {  }
+
+/**
+ * @param {(MouseEvent|null)} e 
+ * @param {(createjs.Stage|null)} owner
+ */
+createjs.Stage.prototype._handleDoubleClick = function (e, owner) {  }
+
+/**
+ * @param {(MouseEvent|null)} e 
+ */
+createjs.Stage.prototype._handleMouseDown = function (e) {  }
+
+/**
+ * @param {(MouseEvent|null)} e 
+ */
+createjs.Stage.prototype._handleMouseMove = function (e) {  }
+
+/**
+ * @param {(MouseEvent|null)} e 
+ */
+createjs.Stage.prototype._handleMouseUp = function (e) {  }
+
+/**
+ * @param {(number|null)} id 
+ * @param {(Event|null)} e 
+ * @param {(number|null)} pageX 
+ * @param {(number|null)} pageY 
+ * @param {(createjs.Stage|null)} owner
+ */
+createjs.Stage.prototype._handlePointerDown = function (id, e, pageX, pageY, owner) {  }
+
+/**
+ * @param {(number|null)} id 
+ * @param {(Event|null)} e 
+ * @param {(number|null)} pageX 
+ * @param {(number|null)} pageY 
+ * @param {(createjs.Stage|null)} owner
+ */
+createjs.Stage.prototype._handlePointerMove = function (id, e, pageX, pageY, owner) {  }
+
+/**
+ * @param {(number|null)} id 
+ * @param {(Event|null)} e 
+ * @param {(boolean|null)} clear 
+ * @param {(createjs.Stage|null)} owner
+ */
+createjs.Stage.prototype._handlePointerUp = function (id, e, clear, owner) {  }
+
+
+/**
+ * @param {(number|null)} id 
+ */
+createjs.Stage.prototype._getPointerData = function (id) {  }
+
+/**
+ */
+createjs.Stage.prototype._set_nextStage = function (value) {  }
+
+/**
+ * @param {(boolean|null)} clear
+ * @param {(createjs.Stage|null)} owner
+ * @param {(createjs.Stage|null)} eventTarget
+ */
+createjs.Stage.prototype._testMouseOver = function (clear, owner, eventTarget) {  }
+
+/**
+ * @param {(number|null)} id 
+ * @param {(Event|null)} e 
+ * @param {(number|null)} pageX 
+ * @param {(number|null)} pageY 
+ */
+createjs.Stage.prototype._updatePointerPosition = function (id, e, pageX, pageY) {  }
+
+/**
+ */
+createjs.Stage.prototype.clear = function () {  }
+
+/**
+ * @param {boolean=} opt_enable
+ */
+createjs.Stage.prototype.enableDOMEvents = function (opt_enable) {  }
+
+/**
+ * @param {number=} opt_frequency
+ */
+createjs.Stage.prototype.enableMouseOver = function (opt_frequency) {  }
+
+/**
+ */
+createjs.Stage.prototype.handleEvent = function (evt) {  }
+
+/**
+ * @param {Object=} opt_props
+ */
+createjs.Stage.prototype.tick = function (opt_props) {  }
+
+/**
+ * @param {string=} opt_backgroundColor
+ * @param {string=} opt_mimeType
+ * @returns {string}
+ */
+createjs.Stage.prototype.toDataURL = function (opt_backgroundColor, opt_mimeType) { return ''; }
+
+/**
+ * @param {Object=} opt_props
+ */
+createjs.Stage.prototype.update = function (opt_props) {  }
+
+/**
+ * @param {string=} opt_text
+ * @param {string=} opt_font
+ * @param {string=} opt_color
+ * @constructor
+ * @extends createjs.DisplayObject
+ */
+createjs.Text = function (opt_text, opt_font, opt_color) {}
+
+/**
+ * @type {string} 
+ */
+createjs.Text.prototype.text;
+
+/**
+ * @type {string} 
+ */
+createjs.Text.prototype.textAlign;
+
+/**
+ * @type {string} 
+ */
+createjs.Text.prototype.textBaseline;
+
+/**
+ * @param {(CanvasRenderingContext2D|null)} ctx 
+ * @param {(Object|null)} o 
+ * @param {(Array|null)} lines 
+ * @returns {(Object|null)} 
+ */
+createjs.Text.prototype._drawText = function (ctx, o, lines) {  return null; }
+
+/**
+ * @param {(CanvasRenderingContext2D|null)} ctx 
+ * @param {string} text 
+ * @param {(number|null)} y 
+ */
+createjs.Text.prototype._drawTextLine = function (ctx, text, y) {  }
+
+/**
+ * @param {string} text 
+ */
+createjs.Text.prototype._getMeasuredWidth = function (text) {  }
+
+/**
+ * @param {(CanvasRenderingContext2D|null)} ctx 
+ * @returns {(CanvasRenderingContext2D|null)} 
+ */
+createjs.Text.prototype._prepContext = function (ctx) {  return null; }
+
+/**
+ * @returns {(number|null)}
+ */
+createjs.Text.prototype.getMeasuredHeight = function () { return 0; }
+
+/**
+ * @returns {(number|null)}
+ */
+createjs.Text.prototype.getMeasuredLineHeight = function () { return 0; }
+
+/**
+ * @returns {(number|null)}
+ */
+createjs.Text.prototype.getMeasuredWidth = function () { return 0; }
+
+/**
+ * @returns {(Object|null)}
+ */
+createjs.Text.prototype.getMetrics = function () {  return null; }
+
+
+/**
+ * @constructor
+ */
+createjs.Ticker = function () {}
+
+/**
+ */
+createjs.Ticker._getTime = function () {  }
+
+/**
+ */
+createjs.Ticker._handleRAF = function () {  }
+
+/**
+ */
+createjs.Ticker._handleTimeout = function () {  }
+
+/**
+ */
+createjs.Ticker._handleSynch = function () {  }
+
+/**
+ */
+createjs.Ticker._setupTick = function () {  }
+
+/**
+ */
+createjs.Ticker._tick = function () {  }
+
+/**
+ */
+createjs.Ticker.addEventListener = function (type, handler) {  }
+
+/**
+ * @param {Boolean} runTime
+ * @returns {number}
+ */
+createjs.Ticker.getEventTime = function (runTime) { return 0; }
+
+/**
+ * @returns {(number|null)} 
+ */
+createjs.Ticker.getFPS = function () { return 0; }
+
+/**
+ * @returns {(number|null)} 
+ */
+createjs.Ticker.getInterval = function () { return 0; }
+
+/**
+ * @param {number=} opt_ticks
+ * @returns {(number|null)}
+ */
+createjs.Ticker.getMeasuredFPS = function (opt_ticks) { return 0; }
+
+/**
+ * @param {number=} opt_ticks
+ * @returns {(number|null)}
+ */
+createjs.Ticker.getMeasuredTickTime = function (opt_ticks) { return 0; }
+
+/**
+ * @returns {(boolean|null)} 
+ */
+createjs.Ticker.getPaused = function () {  return null; }
+
+/**
+ * @param {(boolean|null)} pauseable
+ * @returns {(number|null)}
+ */
+createjs.Ticker.getTicks = function (pauseable) { return 0; }
+
+/**
+ * @param {boolean=} opt_runTime
+ * @returns {(number|null)}
+ */
+createjs.Ticker.getTime = function (opt_runTime) { return 0; }
+
+/**
+ */
+createjs.Ticker.init = function () {  }
+
+/**
+ */
+createjs.Ticker.reset = function () {  }
+
+/**
+ * @param {(number|null)} value 
+ */
+createjs.Ticker.setFPS = function (value) {  }
+
+/**
+ * @param {(number|null)} interval 
+ */
+createjs.Ticker.setInterval = function (interval) {  }
+
+/**
+ * @param {(boolean|null)} value 
+ */
+createjs.Ticker.setPaused = function (value) {  }
+
+/**
+ * @param {(Array|null)} tweens
+ * @param {(Object|null)} labels
+ * @param {(Object|null)} props
+ * @constructor
+ * @extends createjs.EventDispatcher
+ */
+createjs.Timeline = function (tweens, labels, props) {}
+
+/**
+ * @param {(number|null)} value 
+ * @returns {(number|null)} 
+ */
+createjs.Timeline.prototype._calcPosition = function (value) { return 0; }
+
+/**
+ * @param {(number|string|null)} positionOrLabel 
+ */
+createjs.Timeline.prototype._goto = function (positionOrLabel) {  }
+
+/**
+ * @param {(string|null)} label
+ * @param {(number|null)} position
+ */
+createjs.Timeline.prototype.addLabel = function (label, position) {  }
+
+/**
+ * @returns {(Tween|null)}
+ */
+createjs.Timeline.prototype.addTween = function (tween) {  return null; }
+
+
+/**
+ */
+createjs.Timeline.prototype.clone = function () {  }
+
+/**
+ * @returns {(string|null)}
+ */
+createjs.Timeline.prototype.getCurrentLabel = function () { return ''; }
+
+/**
+ * @returns {(Array|null)} Object]}
+ */
+createjs.Timeline.prototype.getLabels = function () {  return null; }
+
+/**
+ * @param {(number|string|null)} positionOrLabel
+ */
+createjs.Timeline.prototype.gotoAndPlay = function (positionOrLabel) {  }
+
+/**
+ * @param {(number|string|null)} positionOrLabel
+ */
+createjs.Timeline.prototype.gotoAndStop = function (positionOrLabel) {  }
+
+/**
+ * @returns {?}
+ */
+createjs.Timeline.prototype.removeTween = function (tween) {  return null; }
+
+/**
+ * @param {(number|string|null)} positionOrLabel
+ */
+createjs.Timeline.prototype.resolve = function (positionOrLabel) {  }
+
+/**
+ * @param {(Object|null)} o
+ */
+createjs.Timeline.prototype.setLabels = function (o) {  }
+
+/**
+ * @param {(boolean|null)} value
+ */
+createjs.Timeline.prototype.setPaused = function (value) {  }
+
+/**
+ * @param {(number|null)} value
+ * @param {number=} opt_actionsMode
+ * @returns {(boolean|null)}
+ */
+createjs.Timeline.prototype.setPosition = function (value, opt_actionsMode) {  return null; }
+
+/**
+ * @param {(number|null)} delta
+ */
+createjs.Timeline.prototype.tick = function (delta) {  }
+
+/**
+ */
+createjs.Timeline.prototype.updateDuration = function () {  }
+
+/**
+ * @param {(Object|null)} target
+ * @param {Object=} opt_props
+ * @param {Object=} opt_pluginData
+ * @constructor
+ * @extends createjs.EventDispatcher
+ */
+createjs.Tween = function (target, opt_props, opt_pluginData) {}
+
+/**
+ * @param {(Object|null)} o 
+ */
+createjs.Tween.prototype._addAction = function (o) {  }
+
+/**
+ * @param {(Object|null)} o 
+ */
+createjs.Tween.prototype._addStep = function (o) {  }
+
+/**
+ * @param {(Object|null)} o 
+ */
+createjs.Tween.prototype._appendQueueProps = function (o) {  }
+
+/**
+ * @param {(Object|null)} props 
+ */
+createjs.Tween.prototype._cloneProps = function (props) {  }
+
+/**
+ * @param {(Tween|null)} tween
+ * @param {(boolean|null)} value
+ */
+createjs.Tween._register = function (tween, value) {  }
+
+/**
+ * @param {(number|null)} startPos 
+ * @param {(number|null)} endPos 
+ * @param {(boolean|null)} includeStart 
+ */
+createjs.Tween.prototype._runActions = function (startPos, endPos, includeStart) {  }
+
+/**
+ * @param {(Object|null)} props 
+ * @param {(Object|null)} o 
+ */
+createjs.Tween.prototype._set = function (props, o) {  }
+
+/**
+ * @param {(Object|null)} step 
+ * @param {(number|null)} ratio 
+ */
+createjs.Tween.prototype._updateTargetProps = function (step, ratio) {  }
+
+/**
+ * @param {(Function|null)} callback
+ * @param {Array=} opt_params
+ * @param {Object=} opt_scope
+ * @returns {(Tween|null)}
+ */
+createjs.Tween.prototype.call = function (callback, opt_params, opt_scope) {  return null; }
+
+/**
+ */
+createjs.Tween.prototype.clone = function () {  }
+
+/**
+ * @param {(Object|null)} target
+ * @param {Object=} opt_props
+ * @param {Object=} opt_pluginData
+ * @param {boolean=} opt_override
+ * @returns {(Tween|null)}
+ */
+createjs.Tween.get = function (target, opt_props, opt_pluginData, opt_override) {  return null; }
+
+/**
+ * @param {(Object|null)} event
+ */
+createjs.Tween.handleEvent = function (event) {  }
+
+/**
+ * @param {Object=} opt_target
+ * @returns {(boolean|null)}
+ */
+createjs.Tween.hasActiveTweens = function (opt_target) {  return null; }
+
+/**
+ * @param {(Object|null)} plugin
+ * @param {(Array|null)} properties
+ */
+createjs.Tween.installPlugin = function (plugin, properties) {  }
+
+/**
+ * @param {(Tween|null)} tween
+ * @returns {(Tween|null)}
+ */
+createjs.Tween.prototype.pause = function (tween) {  return null; }
+
+/**
+ * @param {(Tween|null)} tween
+ * @returns {(Tween|null)}
+ */
+createjs.Tween.prototype.play = function (tween) {  return null; }
+
+/**
+ */
+createjs.Tween.removeAllTweens = function () {  }
+
+/**
+ * @param {(Object|null)} target
+ */
+createjs.Tween.removeTweens = function (target) {  }
+
+/**
+ * @param {(Object|null)} props
+ * @param {Object=} opt_target
+ * @returns {(Tween|null)}
+ */
+createjs.Tween.prototype.set = function (props, opt_target) {  return null; }
+
+/**
+ * @param {boolean=} opt_value
+ * @returns {(Tween|null)}
+ */
+createjs.Tween.prototype.setPaused = function (opt_value) {  return null; }
+
+/**
+ * @param {(number|null)} value
+ * @param {number=} opt_actionsMode
+ * @returns {(boolean|null)}
+ */
+createjs.Tween.prototype.setPosition = function (value, opt_actionsMode) {  return null; }
+
+/**
+ * @param {(number|null)} delta
+ * @param {(boolean|null)} paused 
+ */
+createjs.Tween.tick = function (delta, paused) {  }
+
+/**
+ * @param {(number|null)} delta
+ */
+createjs.Tween.prototype.tick = function (delta) {  }
+
+/**
+ * @param {(Object|null)} props
+ * @param {number=} opt_duration
+ * @param {Function=} opt_ease
+ * @returns {(Tween|null)}
+ */
+createjs.Tween.prototype.to = function (props, opt_duration, opt_ease) {  return null; }
+
+/**
+ * @param {(number|null)} duration
+ * @param {boolean=} opt_passive
+ * @returns {(Tween|null)}
+ */
+createjs.Tween.prototype.wait = function (duration, opt_passive) {  return null; }
+
+/**
+ * @constructor
+ * @static
+ **/
+createjs.UID = function() {
+}
+
+
+/**
+ * @return {number}
+ **/
+createjs.UID.get = function() {
+};


[4/4] flex-typedefs git commit: adjust maven build

Posted by ah...@apache.org.
adjust maven build


Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/6a885214
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/6a885214
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/6a885214

Branch: refs/heads/develop
Commit: 6a885214815e9be0b9038179b15e1d2e76f48c0b
Parents: 2658a72
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 2 23:22:40 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 2 23:22:40 2017 -0700

----------------------------------------------------------------------
 createjs/pom.xml | 101 +++-----------------------------------------------
 1 file changed, 6 insertions(+), 95 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/6a885214/createjs/pom.xml
----------------------------------------------------------------------
diff --git a/createjs/pom.xml b/createjs/pom.xml
index 6e09003..ddc313f 100644
--- a/createjs/pom.xml
+++ b/createjs/pom.xml
@@ -40,83 +40,6 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>com.googlecode.maven-download-plugin</groupId>
-        <artifactId>download-maven-plugin</artifactId>
-        <version>1.2.1</version>
-        <executions>
-          <!-- Download easejs/createjs form GitHub and unpack it into the target directory -->
-          <execution>
-            <id>get-createjs</id>
-            <phase>validate</phase>
-            <goals>
-              <goal>wget</goal>
-            </goals>
-            <configuration>
-              <url>https://github.com/CreateJS/EaselJS/archive/${createjs.version}.zip</url>
-              <unpack>true</unpack>
-              <outputFileName>createjs-${createjs.version}.zip</outputFileName>
-              <outputDirectory>${project.build.directory}/downloads</outputDirectory>
-            </configuration>
-          </execution>
-          <!-- Download TweenJS form GitHub and unpack it into the target directory -->
-          <execution>
-            <id>get-tweenjs</id>
-            <phase>validate</phase>
-            <goals>
-              <goal>wget</goal>
-            </goals>
-            <configuration>
-              <url>https://github.com/CreateJS/TweenJS/archive/${tweenjs.version}.zip</url>
-              <unpack>true</unpack>
-              <outputFileName>tweenjs-${tweenjs.version}.zip</outputFileName>
-              <outputDirectory>${project.build.directory}/downloads</outputDirectory>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>exec-maven-plugin</artifactId>
-        <version>1.5.0</version>
-        <configuration>
-          <executable>${git.executable}</executable>
-          <workingDirectory>${basedir}/..</workingDirectory>
-          <arguments>
-            <argument>apply</argument>
-            <argument>--ignore-whitespace</argument>
-            <argument>--whitespace=nowarn</argument>
-          </arguments>
-        </configuration>
-        <executions>
-          <execution>
-            <id>patch-easeljs</id>
-            <phase>validate</phase>
-            <goals>
-              <goal>exec</goal>
-            </goals>
-            <configuration>
-              <arguments combine.children="append">
-                <argument>${basedir}/src/main/patch/easeljs.patch</argument>
-              </arguments>
-            </configuration>
-          </execution>
-          <execution>
-            <id>patch-tweenjs</id>
-            <phase>validate</phase>
-            <goals>
-              <goal>exec</goal>
-            </goals>
-            <configuration>
-              <arguments combine.children="append">
-                <argument>${basedir}/src/main/patch/tweenjs.patch</argument>
-              </arguments>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-
-      <plugin>
         <groupId>org.apache.flex.flexjs.compiler</groupId>
         <artifactId>flexjs-maven-plugin</artifactId>
         <version>${flexjs.compiler.version}</version>
@@ -130,24 +53,6 @@
                 <include>**/*.js</include>
               </includes>
             </fileSet>
-            <fileSet>
-              <directory>${project.basedir}/target/downloads/EaselJS-${createjs.version}/src</directory>
-              <includes>
-                <include>**/*.js</include>
-              </includes>
-              <excludes>
-                <exclude>easeljs/version.js</exclude>
-                <exclude>easeljs/version_movieclip.js</exclude>
-              </excludes>
-            </fileSet>
-            <fileSet>
-              <directory>${project.basedir}/target/downloads/TweenJS-${tweenjs.version}/src</directory>
-              <includes>
-                <include>tweenjs/Ease.js</include>
-                <include>tweenjs/Timeline.js</include>
-                <include>tweenjs/Tween.js</include>
-              </includes>
-            </fileSet>
           </externcInput>
           <externcConfig>
             <class-excludes>
@@ -171,6 +76,11 @@
               <path>../src/main/javascript/missing.js</path>
             </include-file>
             <include-file>
+              <name>externs/createjs.js</name>
+              <path>../src/main/javascript/createjs.js</path>
+            </include-file>
+            <!--
+            <include-file>
               <name>externs/AlphaMapFilter.js</name>
               <path>downloads/EaselJS-0.8.0/src/easeljs/filters/AlphaMapFilter.js</path>
             </include-file>
@@ -310,6 +220,7 @@
               <name>externs/Ticker.js</name>
               <path>downloads/EaselJS-0.8.0/src/createjs/utils/Ticker.js</path>
             </include-file>
+             -->
           </includeFiles>
           <skipSwc>true</skipSwc>
         </configuration>


[2/4] flex-typedefs git commit: manually clean up externs for createjs and get rid of patches

Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/2658a72d/createjs/src/main/patch/easeljs.patch
----------------------------------------------------------------------
diff --git a/createjs/src/main/patch/easeljs.patch b/createjs/src/main/patch/easeljs.patch
deleted file mode 100644
index 49b79f9..0000000
--- a/createjs/src/main/patch/easeljs.patch
+++ /dev/null
@@ -1,19387 +0,0 @@
-
-Generated from Ant script
-diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js
-index 3ce0025..e8a377d 100644
---- a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js
-+++ b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js
-@@ -1,262 +1,80 @@
--/*
--* Event
--* Visit http://createjs.com/ for documentation, updates and examples.
--*
--* Copyright (c) 2010 gskinner.com, inc.
--*
--* Permission is hereby granted, free of charge, to any person
--* obtaining a copy of this software and associated documentation
--* files (the "Software"), to deal in the Software without
--* restriction, including without limitation the rights to use,
--* copy, modify, merge, publish, distribute, sublicense, and/or sell
--* copies of the Software, and to permit persons to whom the
--* Software is furnished to do so, subject to the following
--* conditions:
--*
--* The above copyright notice and this permission notice shall be
--* included in all copies or substantial portions of the Software.
--*
--* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
--* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
--* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
--* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
--* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
--* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
--* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
--* OTHER DEALINGS IN THE SOFTWARE.
--*/
--
-+/** @fileoverview Auto-generated Externs files
-+ * @externs
-+ */
- /**
-- * A collection of Classes that are shared across all the CreateJS libraries.  The classes are included in the minified
-- * files of each library and are available on the createsjs namespace directly.
-- *
-- * <h4>Example</h4>
-+ * Contains properties and methods shared by all events for use with
-+ * {{#crossLink "EventDispatcher"}}{{/crossLink}}.
-+ * 
-+ * Note that Event objects are often reused, so you should never
-+ * rely on an event object's state outside of the call stack it was received in.
-  *
-- *      myObject.addEventListener("change", createjs.proxy(myMethod, scope));
-- *
-- * @module CreateJS
-- * @main CreateJS
-+ * @see [Event]
-+ * @param {string} type The event type.
-+ * @param {(boolean|null)} bubbles Indicates whether the event will bubble through the display list.
-+ * @param {(boolean|null)} cancelable Indicates whether the default behaviour of this event can be cancelled.
-+ * @constructor
-  */
-+createjs.Event = function (type, bubbles, cancelable) {}
- 
--// namespace:
--this.createjs = this.createjs||{};
--
--(function() {
--	"use strict";
-+    /**
-+     * Returns a clone of the Event instance.
-+     *
-+     * @see [Event]
-+     * @returns {(Event|null)} a clone of the Event instance.
-+     */
-+createjs.Event.prototype.clone = function () {  return null; }
- 
--// constructor:
--	/**
--	 * Contains properties and methods shared by all events for use with
--	 * {{#crossLink "EventDispatcher"}}{{/crossLink}}.
--	 * 
--	 * Note that Event objects are often reused, so you should never
--	 * rely on an event object's state outside of the call stack it was received in.
--	 * @class Event
--	 * @param {String} type The event type.
--	 * @param {Boolean} bubbles Indicates whether the event will bubble through the display list.
--	 * @param {Boolean} cancelable Indicates whether the default behaviour of this event can be cancelled.
--	 * @constructor
--	 **/
--	function Event(type, bubbles, cancelable) {
--		
--	
--	// public properties:
--		/**
--		 * The type of event.
--		 * @property type
--		 * @type String
--		 **/
--		this.type = type;
--	
--		/**
--		 * The object that generated an event.
--		 * @property target
--		 * @type Object
--		 * @default null
--		 * @readonly
--		*/
--		this.target = null;
--	
--		/**
--		 * The current target that a bubbling event is being dispatched from. For non-bubbling events, this will
--		 * always be the same as target. For example, if childObj.parent = parentObj, and a bubbling event
--		 * is generated from childObj, then a listener on parentObj would receive the event with
--		 * target=childObj (the original target) and currentTarget=parentObj (where the listener was added).
--		 * @property currentTarget
--		 * @type Object
--		 * @default null
--		 * @readonly
--		*/
--		this.currentTarget = null;
--	
--		/**
--		 * For bubbling events, this indicates the current event phase:<OL>
--		 * 	<LI> capture phase: starting from the top parent to the target</LI>
--		 * 	<LI> at target phase: currently being dispatched from the target</LI>
--		 * 	<LI> bubbling phase: from the target to the top parent</LI>
--		 * </OL>
--		 * @property eventPhase
--		 * @type Number
--		 * @default 0
--		 * @readonly
--		*/
--		this.eventPhase = 0;
--	
--		/**
--		 * Indicates whether the event will bubble through the display list.
--		 * @property bubbles
--		 * @type Boolean
--		 * @default false
--		 * @readonly
--		*/
--		this.bubbles = !!bubbles;
--	
--		/**
--		 * Indicates whether the default behaviour of this event can be cancelled via
--		 * {{#crossLink "Event/preventDefault"}}{{/crossLink}}. This is set via the Event constructor.
--		 * @property cancelable
--		 * @type Boolean
--		 * @default false
--		 * @readonly
--		*/
--		this.cancelable = !!cancelable;
--	
--		/**
--		 * The epoch time at which this event was created.
--		 * @property timeStamp
--		 * @type Number
--		 * @default 0
--		 * @readonly
--		*/
--		this.timeStamp = (new Date()).getTime();
--	
--		/**
--		 * Indicates if {{#crossLink "Event/preventDefault"}}{{/crossLink}} has been called
--		 * on this event.
--		 * @property defaultPrevented
--		 * @type Boolean
--		 * @default false
--		 * @readonly
--		*/
--		this.defaultPrevented = false;
--	
--		/**
--		 * Indicates if {{#crossLink "Event/stopPropagation"}}{{/crossLink}} or
--		 * {{#crossLink "Event/stopImmediatePropagation"}}{{/crossLink}} has been called on this event.
--		 * @property propagationStopped
--		 * @type Boolean
--		 * @default false
--		 * @readonly
--		*/
--		this.propagationStopped = false;
--	
--		/**
--		 * Indicates if {{#crossLink "Event/stopImmediatePropagation"}}{{/crossLink}} has been called
--		 * on this event.
--		 * @property immediatePropagationStopped
--		 * @type Boolean
--		 * @default false
--		 * @readonly
--		*/
--		this.immediatePropagationStopped = false;
--		
--		/**
--		 * Indicates if {{#crossLink "Event/remove"}}{{/crossLink}} has been called on this event.
--		 * @property removed
--		 * @type Boolean
--		 * @default false
--		 * @readonly
--		*/
--		this.removed = false;
--	}
--	var p = Event.prototype;
-+    /**
-+     * Causes the active listener to be removed via removeEventListener();
-+     * 
-+     * myBtn.addEventListener("click", function(evt) {
-+     * // do stuff...
-+     * evt.remove(); // removes this listener.
-+     * });
-+     *
-+     * @see [Event]
-+     */
-+createjs.Event.prototype.remove = function () {  }
- 
--	/**
--	 * <strong>REMOVED</strong>. Removed in favor of using `MySuperClass_constructor`.
--	 * See {{#crossLink "Utility Methods/extend"}}{{/crossLink}} and {{#crossLink "Utility Methods/promote"}}{{/crossLink}}
--	 * for details.
--	 *
--	 * There is an inheritance tutorial distributed with EaselJS in /tutorials/Inheritance.
--	 *
--	 * @method initialize
--	 * @protected
--	 * @deprecated
--	 */
--	// p.initialize = function() {}; // searchable for devs wondering where it is.
-+    /**
-+     * Provides a chainable shortcut method for setting a number of properties on the instance.
-+     *
-+     * @param {(Object|null)} props A generic object containing properties to copy to the instance.
-+     * @see [Event]
-+     * @returns {(Event|null)} Returns the instance the method is called on (useful for chaining calls.)
-+     */
-+createjs.Event.prototype.set = function (props) {  return null; }
- 
--// public methods:
--	/**
--	 * Sets {{#crossLink "Event/defaultPrevented"}}{{/crossLink}} to true.
--	 * Mirrors the DOM event standard.
--	 * @method preventDefault
--	 **/
--	p.preventDefault = function() {
--		this.defaultPrevented = this.cancelable&&true;
--	};
-+    /**
-+     * Sets {{#crossLink "Event/propagationStopped"}}{{/crossLink}} to true.
-+     * Mirrors the DOM event standard.
-+     *
-+     * @see [Event]
-+     */
-+createjs.Event.prototype.stopPropagation = function () {  }
- 
--	/**
--	 * Sets {{#crossLink "Event/propagationStopped"}}{{/crossLink}} to true.
--	 * Mirrors the DOM event standard.
--	 * @method stopPropagation
--	 **/
--	p.stopPropagation = function() {
--		this.propagationStopped = true;
--	};
-+    /**
-+     * Sets {{#crossLink "Event/propagationStopped"}}{{/crossLink}} and
-+     * {{#crossLink "Event/immediatePropagationStopped"}}{{/crossLink}} to true.
-+     * Mirrors the DOM event standard.
-+     *
-+     * @see [Event]
-+     */
-+createjs.Event.prototype.stopImmediatePropagation = function () {  }
- 
--	/**
--	 * Sets {{#crossLink "Event/propagationStopped"}}{{/crossLink}} and
--	 * {{#crossLink "Event/immediatePropagationStopped"}}{{/crossLink}} to true.
--	 * Mirrors the DOM event standard.
--	 * @method stopImmediatePropagation
--	 **/
--	p.stopImmediatePropagation = function() {
--		this.immediatePropagationStopped = this.propagationStopped = true;
--	};
--	
--	/**
--	 * Causes the active listener to be removed via removeEventListener();
--	 * 
--	 * 		myBtn.addEventListener("click", function(evt) {
--	 * 			// do stuff...
--	 * 			evt.remove(); // removes this listener.
--	 * 		});
--	 * 
--	 * @method remove
--	 **/
--	p.remove = function() {
--		this.removed = true;
--	};
--	
--	/**
--	 * Returns a clone of the Event instance.
--	 * @method clone
--	 * @return {Event} a clone of the Event instance.
--	 **/
--	p.clone = function() {
--		return new Event(this.type, this.bubbles, this.cancelable);
--	};
--	
--	/**
--	 * Provides a chainable shortcut method for setting a number of properties on the instance.
--	 *
--	 * @method set
--	 * @param {Object} props A generic object containing properties to copy to the instance.
--	 * @return {Event} Returns the instance the method is called on (useful for chaining calls.)
--	 * @chainable
--	*/
--	p.set = function(props) {
--		for (var n in props) { this[n] = props[n]; }
--		return this;
--	};
-+    /**
-+     * Returns a string representation of this object.
-+     *
-+     * @see [Event]
-+     * @returns {string} a string representation of the instance.
-+     */
-+createjs.Event.prototype.toString = function () { return ''; }
- 
--	/**
--	 * Returns a string representation of this object.
--	 * @method toString
--	 * @return {String} a string representation of the instance.
--	 **/
--	p.toString = function() {
--		return "[Event (type="+this.type+")]";
--	};
-+    /**
-+     * Sets {{#crossLink "Event/defaultPrevented"}}{{/crossLink}} to true.
-+     * Mirrors the DOM event standard.
-+     *
-+     * @see [Event]
-+     */
-+createjs.Event.prototype.preventDefault = function () {  }
- 
--	createjs.Event = Event;
--}());
-diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/EventDispatcher.js b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/EventDispatcher.js
-index 0ae4781..a03fd10 100644
---- a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/EventDispatcher.js
-+++ b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/EventDispatcher.js
-@@ -1,407 +1,202 @@
--/*
--* EventDispatcher
--* Visit http://createjs.com/ for documentation, updates and examples.
--*
--* Copyright (c) 2010 gskinner.com, inc.
--*
--* Permission is hereby granted, free of charge, to any person
--* obtaining a copy of this software and associated documentation
--* files (the "Software"), to deal in the Software without
--* restriction, including without limitation the rights to use,
--* copy, modify, merge, publish, distribute, sublicense, and/or sell
--* copies of the Software, and to permit persons to whom the
--* Software is furnished to do so, subject to the following
--* conditions:
--*
--* The above copyright notice and this permission notice shall be
--* included in all copies or substantial portions of the Software.
--*
--* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
--* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
--* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
--* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
--* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
--* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
--* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
--* OTHER DEALINGS IN THE SOFTWARE.
--*/
--
--/**
-- * @module CreateJS
-- */
--
--// namespace:
--this.createjs = this.createjs||{};
--
--(function() {
--	"use strict";
--
--
--// constructor:
--	/**
--	 * EventDispatcher provides methods for managing queues of event listeners and dispatching events.
--	 *
--	 * You can either extend EventDispatcher or mix its methods into an existing prototype or instance by using the
--	 * EventDispatcher {{#crossLink "EventDispatcher/initialize"}}{{/crossLink}} method.
--	 * 
--	 * Together with the CreateJS Event class, EventDispatcher provides an extended event model that is based on the
--	 * DOM Level 2 event model, including addEventListener, removeEventListener, and dispatchEvent. It supports
--	 * bubbling / capture, preventDefault, stopPropagation, stopImmediatePropagation, and handleEvent.
--	 * 
--	 * EventDispatcher also exposes a {{#crossLink "EventDispatcher/on"}}{{/crossLink}} method, which makes it easier
--	 * to create scoped listeners, listeners that only run once, and listeners with associated arbitrary data. The 
--	 * {{#crossLink "EventDispatcher/off"}}{{/crossLink}} method is merely an alias to
--	 * {{#crossLink "EventDispatcher/removeEventListener"}}{{/crossLink}}.
--	 * 
--	 * Another addition to the DOM Level 2 model is the {{#crossLink "EventDispatcher/removeAllEventListeners"}}{{/crossLink}}
--	 * method, which can be used to listeners for all events, or listeners for a specific event. The Event object also 
--	 * includes a {{#crossLink "Event/remove"}}{{/crossLink}} method which removes the active listener.
--	 *
--	 * <h4>Example</h4>
--	 * Add EventDispatcher capabilities to the "MyClass" class.
--	 *
--	 *      EventDispatcher.initialize(MyClass.prototype);
--	 *
--	 * Add an event (see {{#crossLink "EventDispatcher/addEventListener"}}{{/crossLink}}).
--	 *
--	 *      instance.addEventListener("eventName", handlerMethod);
--	 *      function handlerMethod(event) {
--	 *          console.log(event.target + " Was Clicked");
--	 *      }
--	 *
--	 * <b>Maintaining proper scope</b><br />
--	 * Scope (ie. "this") can be be a challenge with events. Using the {{#crossLink "EventDispatcher/on"}}{{/crossLink}}
--	 * method to subscribe to events simplifies this.
--	 *
--	 *      instance.addEventListener("click", function(event) {
--	 *          console.log(instance == this); // false, scope is ambiguous.
--	 *      });
--	 *      
--	 *      instance.on("click", function(event) {
--	 *          console.log(instance == this); // true, "on" uses dispatcher scope by default.
--	 *      });
--	 * 
--	 * If you want to use addEventListener instead, you may want to use function.bind() or a similar proxy to manage scope.
--	 *      
--	 *
--	 * @class EventDispatcher
--	 * @constructor
--	 **/
--	function EventDispatcher() {
--	
--	
--	// private properties:
--		/**
--		 * @protected
--		 * @property _listeners
--		 * @type Object
--		 **/
--		this._listeners = null;
--		
--		/**
--		 * @protected
--		 * @property _captureListeners
--		 * @type Object
--		 **/
--		this._captureListeners = null;
--	}
--	var p = EventDispatcher.prototype;
--
--	/**
--	 * <strong>REMOVED</strong>. Removed in favor of using `MySuperClass_constructor`.
--	 * See {{#crossLink "Utility Methods/extend"}}{{/crossLink}} and {{#crossLink "Utility Methods/promote"}}{{/crossLink}}
--	 * for details.
--	 *
--	 * There is an inheritance tutorial distributed with EaselJS in /tutorials/Inheritance.
--	 *
--	 * @method initialize
--	 * @protected
--	 * @deprecated
--	 */
--	// p.initialize = function() {}; // searchable for devs wondering where it is.
--
--
--// static public methods:
--	/**
--	 * Static initializer to mix EventDispatcher methods into a target object or prototype.
--	 * 
--	 * 		EventDispatcher.initialize(MyClass.prototype); // add to the prototype of the class
--	 * 		EventDispatcher.initialize(myObject); // add to a specific instance
--	 * 
--	 * @method initialize
--	 * @static
--	 * @param {Object} target The target object to inject EventDispatcher methods into. This can be an instance or a
--	 * prototype.
--	 **/
--	EventDispatcher.initialize = function(target) {
--		target.addEventListener = p.addEventListener;
--		target.on = p.on;
--		target.removeEventListener = target.off =  p.removeEventListener;
--		target.removeAllEventListeners = p.removeAllEventListeners;
--		target.hasEventListener = p.hasEventListener;
--		target.dispatchEvent = p.dispatchEvent;
--		target._dispatchEvent = p._dispatchEvent;
--		target.willTrigger = p.willTrigger;
--	};
--	
--
--// public methods:
--	/**
--	 * Adds the specified event listener. Note that adding multiple listeners to the same function will result in
--	 * multiple callbacks getting fired.
--	 *
--	 * <h4>Example</h4>
--	 *
--	 *      displayObject.addEventListener("click", handleClick);
--	 *      function handleClick(event) {
--	 *         // Click happened.
--	 *      }
--	 *
--	 * @method addEventListener
--	 * @param {String} type The string type of the event.
--	 * @param {Function | Object} listener An object with a handleEvent method, or a function that will be called when
--	 * the event is dispatched.
--	 * @param {Boolean} [useCapture] For events that bubble, indicates whether to listen for the event in the capture or bubbling/target phase.
--	 * @return {Function | Object} Returns the listener for chaining or assignment.
--	 **/
--	p.addEventListener = function(type, listener, useCapture) {
--		var listeners;
--		if (useCapture) {
--			listeners = this._captureListeners = this._captureListeners||{};
--		} else {
--			listeners = this._listeners = this._listeners||{};
--		}
--		var arr = listeners[type];
--		if (arr) { this.removeEventListener(type, listener, useCapture); }
--		arr = listeners[type]; // remove may have deleted the array
--		if (!arr) { listeners[type] = [listener];  }
--		else { arr.push(listener); }
--		return listener;
--	};
--	
--	/**
--	 * A shortcut method for using addEventListener that makes it easier to specify an execution scope, have a listener
--	 * only run once, associate arbitrary data with the listener, and remove the listener.
--	 * 
--	 * This method works by creating an anonymous wrapper function and subscribing it with addEventListener.
--	 * The created anonymous function is returned for use with .removeEventListener (or .off).
--	 * 
--	 * <h4>Example</h4>
--	 * 
--	 * 		var listener = myBtn.on("click", handleClick, null, false, {count:3});
--	 * 		function handleClick(evt, data) {
--	 * 			data.count -= 1;
--	 * 			console.log(this == myBtn); // true - scope defaults to the dispatcher
--	 * 			if (data.count == 0) {
--	 * 				alert("clicked 3 times!");
--	 * 				myBtn.off("click", listener);
--	 * 				// alternately: evt.remove();
--	 * 			}
--	 * 		}
--	 * 
--	 * @method on
--	 * @param {String} type The string type of the event.
--	 * @param {Function | Object} listener An object with a handleEvent method, or a function that will be called when
--	 * the event is dispatched.
--	 * @param {Object} [scope] The scope to execute the listener in. Defaults to the dispatcher/currentTarget for function listeners, and to the listener itself for object listeners (ie. using handleEvent).
--	 * @param {Boolean} [once=false] If true, the listener will remove itself after the first time it is triggered.
--	 * @param {*} [data] Arbitrary data that will be included as the second parameter when the listener is called.
--	 * @param {Boolean} [useCapture=false] For events that bubble, indicates whether to listen for the event in the capture or bubbling/target phase.
--	 * @return {Function} Returns the anonymous function that was created and assigned as the listener. This is needed to remove the listener later using .removeEventListener.
--	 **/
--	p.on = function(type, listener, scope, once, data, useCapture) {
--		if (listener.handleEvent) {
--			scope = scope||listener;
--			listener = listener.handleEvent;
--		}
--		scope = scope||this;
--		return this.addEventListener(type, function(evt) {
--				listener.call(scope, evt, data);
--				once&&evt.remove();
--			}, useCapture);
--	};
--
--	/**
--	 * Removes the specified event listener.
--	 *
--	 * <b>Important Note:</b> that you must pass the exact function reference used when the event was added. If a proxy
--	 * function, or function closure is used as the callback, the proxy/closure reference must be used - a new proxy or
--	 * closure will not work.
--	 *
--	 * <h4>Example</h4>
--	 *
--	 *      displayObject.removeEventListener("click", handleClick);
--	 *
--	 * @method removeEventListener
--	 * @param {String} type The string type of the event.
--	 * @param {Function | Object} listener The listener function or object.
--	 * @param {Boolean} [useCapture] For events that bubble, indicates whether to listen for the event in the capture or bubbling/target phase.
--	 **/
--	p.removeEventListener = function(type, listener, useCapture) {
--		var listeners = useCapture ? this._captureListeners : this._listeners;
--		if (!listeners) { return; }
--		var arr = listeners[type];
--		if (!arr) { return; }
--		for (var i=0,l=arr.length; i<l; i++) {
--			if (arr[i] == listener) {
--				if (l==1) { delete(listeners[type]); } // allows for faster checks.
--				else { arr.splice(i,1); }
--				break;
--			}
--		}
--	};
--	
--	/**
--	 * A shortcut to the removeEventListener method, with the same parameters and return value. This is a companion to the
--	 * .on method.
--	 *
--	 * @method off
--	 * @param {String} type The string type of the event.
--	 * @param {Function | Object} listener The listener function or object.
--	 * @param {Boolean} [useCapture] For events that bubble, indicates whether to listen for the event in the capture or bubbling/target phase.
--	 **/
--	p.off = p.removeEventListener;
--
--	/**
--	 * Removes all listeners for the specified type, or all listeners of all types.
--	 *
--	 * <h4>Example</h4>
--	 *
--	 *      // Remove all listeners
--	 *      displayObject.removeAllEventListeners();
--	 *
--	 *      // Remove all click listeners
--	 *      displayObject.removeAllEventListeners("click");
--	 *
--	 * @method removeAllEventListeners
--	 * @param {String} [type] The string type of the event. If omitted, all listeners for all types will be removed.
--	 **/
--	p.removeAllEventListeners = function(type) {
--		if (!type) { this._listeners = this._captureListeners = null; }
--		else {
--			if (this._listeners) { delete(this._listeners[type]); }
--			if (this._captureListeners) { delete(this._captureListeners[type]); }
--		}
--	};
--
--	/**
--	 * Dispatches the specified event to all listeners.
--	 *
--	 * <h4>Example</h4>
--	 *
--	 *      // Use a string event
--	 *      this.dispatchEvent("complete");
--	 *
--	 *      // Use an Event instance
--	 *      var event = new createjs.Event("progress");
--	 *      this.dispatchEvent(event);
--	 *
--	 * @method dispatchEvent
--	 * @param {Object | String | Event} eventObj An object with a "type" property, or a string type.
--	 * While a generic object will work, it is recommended to use a CreateJS Event instance. If a string is used,
--	 * dispatchEvent will construct an Event instance with the specified type.
--	 * @return {Boolean} Returns the value of eventObj.defaultPrevented.
--	 **/
--	p.dispatchEvent = function(eventObj) {
--		if (typeof eventObj == "string") {
--			// won't bubble, so skip everything if there's no listeners:
--			var listeners = this._listeners;
--			if (!listeners || !listeners[eventObj]) { return false; }
--			eventObj = new createjs.Event(eventObj);
--		} else if (eventObj.target && eventObj.clone) {
--			// redispatching an active event object, so clone it:
--			eventObj = eventObj.clone();
--		}
--		try { eventObj.target = this; } catch (e) {} // try/catch allows redispatching of native events
--
--		if (!eventObj.bubbles || !this.parent) {
--			this._dispatchEvent(eventObj, 2);
--		} else {
--			var top=this, list=[top];
--			while (top.parent) { list.push(top = top.parent); }
--			var i, l=list.length;
--
--			// capture & atTarget
--			for (i=l-1; i>=0 && !eventObj.propagationStopped; i--) {
--				list[i]._dispatchEvent(eventObj, 1+(i==0));
--			}
--			// bubbling
--			for (i=1; i<l && !eventObj.propagationStopped; i++) {
--				list[i]._dispatchEvent(eventObj, 3);
--			}
--		}
--		return eventObj.defaultPrevented;
--	};
--
--	/**
--	 * Indicates whether there is at least one listener for the specified event type.
--	 * @method hasEventListener
--	 * @param {String} type The string type of the event.
--	 * @return {Boolean} Returns true if there is at least one listener for the specified event.
--	 **/
--	p.hasEventListener = function(type) {
--		var listeners = this._listeners, captureListeners = this._captureListeners;
--		return !!((listeners && listeners[type]) || (captureListeners && captureListeners[type]));
--	};
--	
--	/**
--	 * Indicates whether there is at least one listener for the specified event type on this object or any of its
--	 * ancestors (parent, parent's parent, etc). A return value of true indicates that if a bubbling event of the
--	 * specified type is dispatched from this object, it will trigger at least one listener.
--	 * 
--	 * This is similar to {{#crossLink "EventDispatcher/hasEventListener"}}{{/crossLink}}, but it searches the entire
--	 * event flow for a listener, not just this object.
--	 * @method willTrigger
--	 * @param {String} type The string type of the event.
--	 * @return {Boolean} Returns `true` if there is at least one listener for the specified event.
--	 **/
--	p.willTrigger = function(type) {
--		var o = this;
--		while (o) {
--			if (o.hasEventListener(type)) { return true; }
--			o = o.parent;
--		}
--		return false;
--	};
--
--	/**
--	 * @method toString
--	 * @return {String} a string representation of the instance.
--	 **/
--	p.toString = function() {
--		return "[EventDispatcher]";
--	};
--
--
--// private methods:
--	/**
--	 * @method _dispatchEvent
--	 * @param {Object | String | Event} eventObj
--	 * @param {Object} eventPhase
--	 * @protected
--	 **/
--	p._dispatchEvent = function(eventObj, eventPhase) {
--		var l, listeners = (eventPhase==1) ? this._captureListeners : this._listeners;
--		if (eventObj && listeners) {
--			var arr = listeners[eventObj.type];
--			if (!arr||!(l=arr.length)) { return; }
--			try { eventObj.currentTarget = this; } catch (e) {}
--			try { eventObj.eventPhase = eventPhase; } catch (e) {}
--			eventObj.removed = false;
--			
--			arr = arr.slice(); // to avoid issues with items being removed or added during the dispatch
--			for (var i=0; i<l && !eventObj.immediatePropagationStopped; i++) {
--				var o = arr[i];
--				if (o.handleEvent) { o.handleEvent(eventObj); }
--				else { o(eventObj); }
--				if (eventObj.removed) {
--					this.off(eventObj.type, o, eventPhase==1);
--					eventObj.removed = false;
--				}
--			}
--		}
--	};
--
--
--	createjs.EventDispatcher = EventDispatcher;
--}());
-+/** @fileoverview Auto-generated Externs files
-+ * @externs
-+ */
-+/**
-+ * EventDispatcher provides methods for managing queues of event listeners and dispatching events.
-+ * 
-+ * You can either extend EventDispatcher or mix its methods into an existing prototype or instance by using the
-+ * EventDispatcher {{#crossLink "EventDispatcher/initialize"}}{{/crossLink}} method.
-+ * 
-+ * Together with the CreateJS Event class, EventDispatcher provides an extended event model that is based on the
-+ * DOM Level 2 event model, including addEventListener, removeEventListener, and dispatchEvent. It supports
-+ * bubbling / capture, preventDefault, stopPropagation, stopImmediatePropagation, and handleEvent.
-+ * 
-+ * EventDispatcher also exposes a {{#crossLink "EventDispatcher/on"}}{{/crossLink}} method, which makes it easier
-+ * to create scoped listeners, listeners that only run once, and listeners with associated arbitrary data. The
-+ * {{#crossLink "EventDispatcher/off"}}{{/crossLink}} method is merely an alias to
-+ * {{#crossLink "EventDispatcher/removeEventListener"}}{{/crossLink}}.
-+ * 
-+ * Another addition to the DOM Level 2 model is the {{#crossLink "EventDispatcher/removeAllEventListeners"}}{{/crossLink}}
-+ * method, which can be used to listeners for all events, or listeners for a specific event. The Event object also
-+ * includes a {{#crossLink "Event/remove"}}{{/crossLink}} method which removes the active listener.
-+ * 
-+ * <h4>Example</h4>
-+ * Add EventDispatcher capabilities to the "MyClass" class.
-+ * 
-+ * createjs.EventDispatcher.initialize(MyClass.prototype);
-+ * 
-+ * Add an event (see {{#crossLink "EventDispatcher/addEventListener"}}{{/crossLink}}).
-+ * 
-+ * instance.addEventListener("eventName", handlerMethod);
-+ * function handlerMethod(event) {
-+ * console.log(event.target + " Was Clicked");
-+ * }
-+ * 
-+ * <b>Maintaining proper scope</b><br />
-+ * Scope (ie. "this") can be be a challenge with events. Using the {{#crossLink "EventDispatcher/on"}}{{/crossLink}}
-+ * method to subscribe to events simplifies this.
-+ * 
-+ * instance.addEventListener("click", function(event) {
-+ * console.log(instance == this); // false, scope is ambiguous.
-+ * });
-+ * 
-+ * instance.on("click", function(event) {
-+ * console.log(instance == this); // true, "on" uses dispatcher scope by default.
-+ * });
-+ * 
-+ * If you want to use addEventListener instead, you may want to use function.bind() or a similar proxy to manage scope.
-+ *
-+ * @see [EventDispatcher]
-+ * @constructor
-+ */
-+createjs.EventDispatcher = function () {}
-+
-+    /**
-+     * Static initializer to mix EventDispatcher methods into a target object or prototype.
-+     * 
-+     * createjs.EventDispatcher.initialize(MyClass.prototype); // add to the prototype of the class
-+     * createjs.EventDispatcher.initialize(myObject); // add to a specific instance
-+     *
-+     * @param {(Object|null)} target The target object to inject EventDispatcher methods into. This can be an instance or a prototype.
-+     * @see [EventDispatcher]
-+     */
-+createjs.EventDispatcher.initialize = function (target) {  }
-+
-+    /**
-+     * Indicates whether there is at least one listener for the specified event type on this object or any of its
-+     * ancestors (parent, parent's parent, etc). A return value of true indicates that if a bubbling event of the
-+     * specified type is dispatched from this object, it will trigger at least one listener.
-+     * 
-+     * This is similar to {{#crossLink "EventDispatcher/hasEventListener"}}{{/crossLink}}, but it searches the entire
-+     * event flow for a listener, not just this object.
-+     *
-+     * @param {string} type The string type of the event.
-+     * @see [EventDispatcher]
-+     * @returns {(boolean|null)} Returns `true` if there is at least one listener for the specified event.
-+     */
-+createjs.EventDispatcher.prototype.willTrigger = function (type) {  return null; }
-+
-+    /**
-+     * Removes all listeners for the specified type, or all listeners of all types.
-+     * 
-+     * <h4>Example</h4>
-+     * 
-+     * // Remove all listeners
-+     * displayObject.removeAllEventListeners();
-+     * 
-+     * // Remove all click listeners
-+     * displayObject.removeAllEventListeners("click");
-+     *
-+     * @param {string=} opt_type The string type of the event. If omitted, all listeners for all types will be removed.
-+     * @see [EventDispatcher]
-+     */
-+createjs.EventDispatcher.prototype.removeAllEventListeners = function (opt_type) {  }
-+
-+    /**
-+     * Adds the specified event listener. Note that adding multiple listeners to the same function will result in
-+     * multiple callbacks getting fired.
-+     * 
-+     * <h4>Example</h4>
-+     * 
-+     * displayObject.addEventListener("click", handleClick);
-+     * function handleClick(event) {
-+     * // Click happened.
-+     * }
-+     *
-+     * @param {string} type The string type of the event.
-+     * @param {(Object|null)} listener An object with a handleEvent method, or a function that will be called when the event is dispatched.
-+     * @param {boolean=} opt_useCapture For events that bubble, indicates whether to listen for the event in the capture or bubbling/target phase.
-+     * @see [EventDispatcher]
-+     * @returns {(Object|null)} Returns the listener for chaining or assignment.
-+     */
-+createjs.EventDispatcher.prototype.addEventListener = function (type, listener, opt_useCapture) {  return null; }
-+
-+    /**
-+     * @param {(Event|Object|null)} eventObj 
-+     * @param {(Object|null)} eventPhase 
-+     * @see [EventDispatcher]
-+     */
-+createjs.EventDispatcher.prototype._dispatchEvent = function (eventObj, eventPhase) {  }
-+
-+    /**
-+     * Dispatches the specified event to all listeners.
-+     * 
-+     * <h4>Example</h4>
-+     * 
-+     * // Use a string event
-+     * this.dispatchEvent("complete");
-+     * 
-+     * // Use an Event instance
-+     * var event = new createjs.Event("progress");
-+     * this.dispatchEvent(event);
-+     *
-+     * @param {(Event|Object|null)} eventObj An object with a "type" property, or a string type. While a generic object will work, it is recommended to use a CreateJS Event instance. If a string is used, dispatchEvent will construct an Event instance with the specified type.
-+     * @see [EventDispatcher]
-+     * @returns {(boolean|null)} Returns the value of eventObj.defaultPrevented.
-+     */
-+createjs.EventDispatcher.prototype.dispatchEvent = function (eventObj) {  return null; }
-+
-+    /**
-+     * Removes the specified event listener.
-+     * 
-+     * <b>Important Note:</b> that you must pass the exact function reference used when the event was added. If a proxy
-+     * function, or function closure is used as the callback, the proxy/closure reference must be used - a new proxy or
-+     * closure will not work.
-+     * 
-+     * <h4>Example</h4>
-+     * 
-+     * displayObject.removeEventListener("click", handleClick);
-+     *
-+     * @param {string} type The string type of the event.
-+     * @param {(Object|null)} listener The listener function or object.
-+     * @param {boolean=} opt_useCapture For events that bubble, indicates whether to listen for the event in the capture or bubbling/target phase.
-+     * @see [EventDispatcher]
-+     */
-+createjs.EventDispatcher.prototype.removeEventListener = function (type, listener, opt_useCapture) {  }
-+
-+    /**
-+     * A shortcut method for using addEventListener that makes it easier to specify an execution scope, have a listener
-+     * only run once, associate arbitrary data with the listener, and remove the listener.
-+     * 
-+     * This method works by creating an anonymous wrapper function and subscribing it with addEventListener.
-+     * The created anonymous function is returned for use with .removeEventListener (or .off).
-+     * 
-+     * <h4>Example</h4>
-+     * 
-+     * var listener = myBtn.on("click", handleClick, null, false, {count:3});
-+     * function handleClick(evt, data) {
-+     * data.count -= 1;
-+     * console.log(this == myBtn); // true - scope defaults to the dispatcher
-+     * if (data.count == 0) {
-+     * alert("clicked 3 times!");
-+     * myBtn.off("click", listener);
-+     * // alternately: evt.remove();
-+     * }
-+     * }
-+     *
-+     * @param {string} type The string type of the event.
-+     * @param {(Object|null)} listener An object with a handleEvent method, or a function that will be called when the event is dispatched.
-+     * @param {Object=} opt_scope The scope to execute the listener in. Defaults to the dispatcher/currentTarget for function listeners, and to the listener itself for object listeners (ie. using handleEvent).
-+     * @param {boolean=} opt_once If true, the listener will remove itself after the first time it is triggered.
-+     * @param {*=} opt_data Arbitrary data that will be included as the second parameter when the listener is called.
-+     * @param {boolean=} opt_useCapture For events that bubble, indicates whether to listen for the event in the capture or bubbling/target phase.
-+     * @see [EventDispatcher]
-+     * @returns {(Function|null)} Returns the anonymous function that was created and assigned as the listener. This is needed to remove the listener later using .removeEventListener.
-+     */
-+createjs.EventDispatcher.prototype.on = function (type, listener, opt_scope, opt_once, opt_data, opt_useCapture) {  return null; }
-+
-+    /**
-+     * @see [EventDispatcher]
-+     * @returns {string} a string representation of the instance.
-+     */
-+createjs.EventDispatcher.prototype.toString = function () { return ''; }
-+
-+    /**
-+     * Indicates whether there is at least one listener for the specified event type.
-+     *
-+     * @param {string} type The string type of the event.
-+     * @see [EventDispatcher]
-+     * @returns {(boolean|null)} Returns true if there is at least one listener for the specified event.
-+     */
-+createjs.EventDispatcher.prototype.hasEventListener = function (type) {  return null; }
-+
-diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/Ticker.js b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/Ticker.js
-index 3c5c4a6..6adbfb6 100644
---- a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/Ticker.js
-+++ b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/Ticker.js
-@@ -1,632 +1,183 @@
--/*
--* Ticker
--* Visit http://createjs.com/ for documentation, updates and examples.
--*
--* Copyright (c) 2010 gskinner.com, inc.
--*
--* Permission is hereby granted, free of charge, to any person
--* obtaining a copy of this software and associated documentation
--* files (the "Software"), to deal in the Software without
--* restriction, including without limitation the rights to use,
--* copy, modify, merge, publish, distribute, sublicense, and/or sell
--* copies of the Software, and to permit persons to whom the
--* Software is furnished to do so, subject to the following
--* conditions:
--*
--* The above copyright notice and this permission notice shall be
--* included in all copies or substantial portions of the Software.
--*
--* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
--* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
--* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
--* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
--* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
--* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
--* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
--* OTHER DEALINGS IN THE SOFTWARE.
--*/
--
-+/** @fileoverview Auto-generated Externs files
-+ * @externs
-+ */
- /**
-- * @module CreateJS
-+ * The Ticker provides a centralized tick or heartbeat broadcast at a set interval. Listeners can subscribe to the tick
-+ * event to be notified when a set time interval has elapsed.
-+ * 
-+ * Note that the interval that the tick event is called is a target interval, and may be broadcast at a slower interval
-+ * when under high CPU load. The Ticker class uses a static interface (ex. `createjs.Ticker.framerate = 30;`) and
-+ * can not be instantiated.
-+ * 
-+ * <h4>Example</h4>
-+ * 
-+ * createjs.createjs.Ticker.addEventListener("tick", handleTick);
-+ * function handleTick(event) {
-+ * // Actions carried out each tick (aka frame)
-+ * if (!event.paused) {
-+ * // Actions carried out when the Ticker is not paused.
-+ * }
-+ * }
-+ *
-+ * @see [Ticker]
-+ * @constructor
-  */
-+createjs.Ticker = function () {}
-+
-+    /**
-+     * Use the {{#crossLink "Ticker/framerate:property"}}{{/crossLink}} property instead.
-+     *
-+     * @param {(number|null)} value 
-+     * @see [Ticker]
-+     */
-+createjs.Ticker.setFPS = function (value) {  }
-+
-+    /**
-+     * @see [Ticker]
-+     */
-+createjs.Ticker._setupTick = function () {  }
-+
-+    /**
-+     * Generated doc for missing method JSDoc.
-+     *
-+     * @see [Ticker]
-+     */
-+createjs.Ticker.addEventListener = function (type, handler) {  }
-+
-+    /**
-+     * @see [Ticker]
-+     */
-+createjs.Ticker._handleRAF = function () {  }
-+
-+    /**
-+     * Starts the tick. This is called automatically when the first listener is added.
-+     *
-+     * @see [Ticker]
-+     */
-+createjs.Ticker.init = function () {  }
-+
-+    /**
-+     * @see [Ticker]
-+     */
-+createjs.Ticker._handleTimeout = function () {  }
-+
-+    /**
-+     * Similar to getTime(), but returns the time on the most recent tick event object.
-+     *
-+     * @param runTime {Boolean} [runTime=false] If true, the runTime property will be returned instead of time.
-+     * @see [Ticker]
-+     * @returns {number} The time or runTime property from the most recent tick event or -1.
-+     */
-+createjs.Ticker.getEventTime = function (runTime) { return 0; }
-+
-+    /**
-+     * Use the {{#crossLink "Ticker/paused:property"}}{{/crossLink}} property instead.
-+     *
-+     * @param {(boolean|null)} value 
-+     * @see [Ticker]
-+     */
-+createjs.Ticker.setPaused = function (value) {  }
-+
-+    /**
-+     * Use the {{#crossLink "Ticker/framerate:property"}}{{/crossLink}} property instead.
-+     *
-+     * @see [Ticker]
-+     * @returns {(number|null)} 
-+     */
-+createjs.Ticker.getInterval = function () { return 0; }
-+
-+    /**
-+     * Use the {{#crossLink "Ticker/paused:property"}}{{/crossLink}} property instead.
-+     *
-+     * @see [Ticker]
-+     * @returns {(boolean|null)} 
-+     */
-+createjs.Ticker.getPaused = function () {  return null; }
-+
-+    /**
-+     * @see [Ticker]
-+     */
-+createjs.Ticker._handleSynch = function () {  }
-+
-+    /**
-+     * @see [Ticker]
-+     */
-+createjs.Ticker._tick = function () {  }
-+
-+    /**
-+     * Returns the actual frames / ticks per second.
-+     *
-+     * @param {number=} opt_ticks The number of previous ticks over which to measure the actual frames / ticks per second. Defaults to the number of ticks per second.
-+     * @see [Ticker]
-+     * @returns {(number|null)} The actual frames / ticks per second. Depending on performance, this may differ from the target frames per second.
-+     */
-+createjs.Ticker.getMeasuredFPS = function (opt_ticks) { return 0; }
-+
-+    /**
-+     * Returns the number of milliseconds that have elapsed since Ticker was initialized via {{#crossLink "Ticker/init"}}.
-+     * Returns -1 if Ticker has not been initialized. For example, you could use
-+     * this in a time synchronized animation to determine the exact amount of time that has elapsed.
-+     *
-+     * @param {boolean=} opt_runTime If true only time elapsed while Ticker was not paused will be returned. If false, the value returned will be total time elapsed since the first tick event listener was added.
-+     * @see [Ticker]
-+     * @returns {(number|null)} Number of milliseconds that have elapsed since Ticker was initialized or -1.
-+     */
-+createjs.Ticker.getTime = function (opt_runTime) { return 0; }
-+
-+    /**
-+     * Returns the average time spent within a tick. This can vary significantly from the value provided by getMeasuredFPS
-+     * because it only measures the time spent within the tick execution stack.
-+     * 
-+     * Example 1: With a target FPS of 20, getMeasuredFPS() returns 20fps, which indicates an average of 50ms between
-+     * the end of one tick and the end of the next. However, getMeasuredTickTime() returns 15ms. This indicates that
-+     * there may be up to 35ms of "idle" time between the end of one tick and the start of the next.
-+     * 
-+     * Example 2: With a target FPS of 30, getFPS() returns 10fps, which indicates an average of 100ms between the end of
-+     * one tick and the end of the next. However, getMeasuredTickTime() returns 20ms. This would indicate that something
-+     * other than the tick is using ~80ms (another script, DOM rendering, etc).
-+     *
-+     * @param {number=} opt_ticks The number of previous ticks over which to measure the average time spent in a tick. Defaults to the number of ticks per second. To get only the last tick's time, pass in 1.
-+     * @see [Ticker]
-+     * @returns {(number|null)} The average time spent in a tick in milliseconds.
-+     */
-+createjs.Ticker.getMeasuredTickTime = function (opt_ticks) { return 0; }
-+
-+    /**
-+     * Generated doc for missing method JSDoc.
-+     *
-+     * @see [Ticker]
-+     */
-+createjs.Ticker._getTime = function () {  }
-+
-+    /**
-+     * Stops the Ticker and removes all listeners. Use init() to restart the createjs.Ticker.
-+     *
-+     * @see [Ticker]
-+     */
-+createjs.Ticker.reset = function () {  }
-+
-+    /**
-+     * Returns the number of ticks that have been broadcast by createjs.Ticker.
-+     *
-+     * @param {(boolean|null)} pauseable Indicates whether to include ticks that would have been broadcast while Ticker was paused. If true only tick events broadcast while Ticker is not paused will be returned. If false, tick events that would have been broadcast while Ticker was paused will be included in the return value. The default value is false.
-+     * @see [Ticker]
-+     * @returns {(number|null)} of ticks that have been broadcast.
-+     */
-+createjs.Ticker.getTicks = function (pauseable) { return 0; }
-+
-+    /**
-+     * Use the {{#crossLink "Ticker/interval:property"}}{{/crossLink}} property instead.
-+     *
-+     * @see [Ticker]
-+     * @returns {(number|null)} 
-+     */
-+createjs.Ticker.getFPS = function () { return 0; }
-+
-+    /**
-+     * Use the {{#crossLink "Ticker/interval:property"}}{{/crossLink}} property instead.
-+     *
-+     * @param {(number|null)} interval 
-+     * @see [Ticker]
-+     */
-+createjs.Ticker.setInterval = function (interval) {  }
- 
--// namespace:
--this.createjs = this.createjs||{};
--
--(function() {
--	"use strict";
--
--
--// constructor:
--	/**
--	 * The Ticker provides a centralized tick or heartbeat broadcast at a set interval. Listeners can subscribe to the tick
--	 * event to be notified when a set time interval has elapsed.
--	 *
--	 * Note that the interval that the tick event is called is a target interval, and may be broadcast at a slower interval
--	 * when under high CPU load. The Ticker class uses a static interface (ex. `Ticker.framerate = 30;`) and
--	 * can not be instantiated.
--	 *
--	 * <h4>Example</h4>
--	 *
--	 *      createjs.Ticker.addEventListener("tick", handleTick);
--	 *      function handleTick(event) {
--	 *          // Actions carried out each tick (aka frame)
--	 *          if (!event.paused) {
--	 *              // Actions carried out when the Ticker is not paused.
--	 *          }
--	 *      }
--	 *
--	 * @class Ticker
--	 * @uses EventDispatcher
--	 * @static
--	 **/
--	function Ticker() {
--		throw "Ticker cannot be instantiated.";
--	}
--
--
--// constants:
--	/**
--	 * In this mode, Ticker uses the requestAnimationFrame API, but attempts to synch the ticks to target framerate. It
--	 * uses a simple heuristic that compares the time of the RAF return to the target time for the current frame and
--	 * dispatches the tick when the time is within a certain threshold.
--	 *
--	 * This mode has a higher variance for time between frames than TIMEOUT, but does not require that content be time
--	 * based as with RAF while gaining the benefits of that API (screen synch, background throttling).
--	 *
--	 * Variance is usually lowest for framerates that are a divisor of the RAF frequency. This is usually 60, so
--	 * framerates of 10, 12, 15, 20, and 30 work well.
--	 *
--	 * Falls back on TIMEOUT if the requestAnimationFrame API is not supported.
--	 * @property RAF_SYNCHED
--	 * @static
--	 * @type {String}
--	 * @default "synched"
--	 * @readonly
--	 **/
--	Ticker.RAF_SYNCHED = "synched";
--
--	/**
--	 * In this mode, Ticker passes through the requestAnimationFrame heartbeat, ignoring the target framerate completely.
--	 * Because requestAnimationFrame frequency is not deterministic, any content using this mode should be time based.
--	 * You can leverage {{#crossLink "Ticker/getTime"}}{{/crossLink}} and the tick event object's "delta" properties
--	 * to make this easier.
--	 *
--	 * Falls back on TIMEOUT if the requestAnimationFrame API is not supported.
--	 * @property RAF
--	 * @static
--	 * @type {String}
--	 * @default "raf"
--	 * @readonly
--	 **/
--	Ticker.RAF = "raf";
--
--	/**
--	 * In this mode, Ticker uses the setTimeout API. This provides predictable, adaptive frame timing, but does not
--	 * provide the benefits of requestAnimationFrame (screen synch, background throttling).
--	 * @property TIMEOUT
--	 * @static
--	 * @type {String}
--	 * @default "timer"
--	 * @readonly
--	 **/
--	Ticker.TIMEOUT = "timeout";
--
--
--// static events:
--	/**
--	 * Dispatched each tick. The event will be dispatched to each listener even when the Ticker has been paused using
--	 * {{#crossLink "Ticker/setPaused"}}{{/crossLink}}.
--	 *
--	 * <h4>Example</h4>
--	 *
--	 *      createjs.Ticker.addEventListener("tick", handleTick);
--	 *      function handleTick(event) {
--	 *          console.log("Paused:", event.paused, event.delta);
--	 *      }
--	 *
--	 * @event tick
--	 * @param {Object} target The object that dispatched the event.
--	 * @param {String} type The event type.
--	 * @param {Boolean} paused Indicates whether the ticker is currently paused.
--	 * @param {Number} delta The time elapsed in ms since the last tick.
--	 * @param {Number} time The total time in ms since Ticker was initialized.
--	 * @param {Number} runTime The total time in ms that Ticker was not paused since it was initialized. For example,
--	 * 	you could determine the amount of time that the Ticker has been paused since initialization with time-runTime.
--	 * @since 0.6.0
--	 */
--
--
--// public static properties:
--	/**
--	 * Deprecated in favour of {{#crossLink "Ticker/timingMode"}}{{/crossLink}}, and will be removed in a future version. If true, timingMode will
--	 * use {{#crossLink "Ticker/RAF_SYNCHED"}}{{/crossLink}} by default.
--	 * @deprecated Deprecated in favour of {{#crossLink "Ticker/timingMode"}}{{/crossLink}}.
--	 * @property useRAF
--	 * @static
--	 * @type {Boolean}
--	 * @default false
--	 **/
--	Ticker.useRAF = false;
--
--	/**
--	 * Specifies the timing api (setTimeout or requestAnimationFrame) and mode to use. See
--	 * {{#crossLink "Ticker/TIMEOUT"}}{{/crossLink}}, {{#crossLink "Ticker/RAF"}}{{/crossLink}}, and
--	 * {{#crossLink "Ticker/RAF_SYNCHED"}}{{/crossLink}} for mode details.
--	 * @property timingMode
--	 * @static
--	 * @type {String}
--	 * @default Ticker.TIMEOUT
--	 **/
--	Ticker.timingMode = null;
--
--	/**
--	 * Specifies a maximum value for the delta property in the tick event object. This is useful when building time
--	 * based animations and systems to prevent issues caused by large time gaps caused by background tabs, system sleep,
--	 * alert dialogs, or other blocking routines. Double the expected frame duration is often an effective value
--	 * (ex. maxDelta=50 when running at 40fps).
--	 * 
--	 * This does not impact any other values (ex. time, runTime, etc), so you may experience issues if you enable maxDelta
--	 * when using both delta and other values.
--	 * 
--	 * If 0, there is no maximum.
--	 * @property maxDelta
--	 * @static
--	 * @type {number}
--	 * @default 0
--	 */
--	Ticker.maxDelta = 0;
--	
--	/**
--	 * When the ticker is paused, all listeners will still receive a tick event, but the <code>paused</code> property of the event will be false.
--	 * Also, while paused the `runTime` will not increase. See {{#crossLink "Ticker/tick:event"}}{{/crossLink}},
--	 * {{#crossLink "Ticker/getTime"}}{{/crossLink}}, and {{#crossLink "Ticker/getEventTime"}}{{/crossLink}} for more info.
--	 *
--	 * <h4>Example</h4>
--	 *
--	 *      createjs.Ticker.addEventListener("tick", handleTick);
--	 *      createjs.Ticker.paused = true;
--	 *      function handleTick(event) {
--	 *          console.log(event.paused,
--	 *          	createjs.Ticker.getTime(false),
--	 *          	createjs.Ticker.getTime(true));
--	 *      }
--	 *
--	 * @property paused
--	 * @static
--	 * @type {Boolean}
--	 * @default false
--	 **/
--	Ticker.paused = false;
--
--
--// mix-ins:
--	// EventDispatcher methods:
--	Ticker.removeEventListener = null;
--	Ticker.removeAllEventListeners = null;
--	Ticker.dispatchEvent = null;
--	Ticker.hasEventListener = null;
--	Ticker._listeners = null;
--	createjs.EventDispatcher.initialize(Ticker); // inject EventDispatcher methods.
--	Ticker._addEventListener = Ticker.addEventListener;
--	Ticker.addEventListener = function() {
--		!Ticker._inited&&Ticker.init();
--		return Ticker._addEventListener.apply(Ticker, arguments);
--	};
--
--
--// private static properties:
--	/**
--	 * @property _inited
--	 * @static
--	 * @type {Boolean}
--	 * @protected
--	 **/
--	Ticker._inited = false;
--
--	/**
--	 * @property _startTime
--	 * @static
--	 * @type {Number}
--	 * @protected
--	 **/
--	Ticker._startTime = 0;
--
--	/**
--	 * @property _pausedTime
--	 * @static
--	 * @type {Number}
--	 * @protected
--	 **/
--	Ticker._pausedTime=0;
--
--	/**
--	 * The number of ticks that have passed
--	 * @property _ticks
--	 * @static
--	 * @type {Number}
--	 * @protected
--	 **/
--	Ticker._ticks = 0;
--
--	/**
--	 * The number of ticks that have passed while Ticker has been paused
--	 * @property _pausedTicks
--	 * @static
--	 * @type {Number}
--	 * @protected
--	 **/
--	Ticker._pausedTicks = 0;
--
--	/**
--	 * @property _interval
--	 * @static
--	 * @type {Number}
--	 * @protected
--	 **/
--	Ticker._interval = 50;
--
--	/**
--	 * @property _lastTime
--	 * @static
--	 * @type {Number}
--	 * @protected
--	 **/
--	Ticker._lastTime = 0;
--
--	/**
--	 * @property _times
--	 * @static
--	 * @type {Array}
--	 * @protected
--	 **/
--	Ticker._times = null;
--
--	/**
--	 * @property _tickTimes
--	 * @static
--	 * @type {Array}
--	 * @protected
--	 **/
--	Ticker._tickTimes = null;
--
--	/**
--	 * Stores the timeout or requestAnimationFrame id.
--	 * @property _timerId
--	 * @static
--	 * @type {Number}
--	 * @protected
--	 **/
--	Ticker._timerId = null;
--	
--	/**
--	 * True if currently using requestAnimationFrame, false if using setTimeout. This may be different than timingMode
--	 * if that property changed and a tick hasn't fired.
--	 * @property _raf
--	 * @static
--	 * @type {Boolean}
--	 * @protected
--	 **/
--	Ticker._raf = true;
--	
--
--// static getter / setters:
--	/**
--	 * Use the {{#crossLink "Ticker/interval:property"}}{{/crossLink}} property instead.
--	 * @method setInterval
--	 * @static
--	 * @param {Number} interval
--	 * @deprecated
--	 **/
--	Ticker.setInterval = function(interval) {
--		Ticker._interval = interval;
--		if (!Ticker._inited) { return; }
--		Ticker._setupTick();
--	};
--
--	/**
--	 * Use the {{#crossLink "Ticker/framerate:property"}}{{/crossLink}} property instead.
--	 * @method getInterval
--	 * @static
--	 * @return {Number}
--	 * @deprecated
--	 **/
--	Ticker.getInterval = function() {
--		return Ticker._interval;
--	};
--
--	/**
--	 * Use the {{#crossLink "Ticker/framerate:property"}}{{/crossLink}} property instead.
--	 * @method setFPS
--	 * @static
--	 * @param {Number} value
--	 * @deprecated
--	 **/
--	Ticker.setFPS = function(value) {
--		Ticker.setInterval(1000/value);
--	};
--
--	/**
--	 * Use the {{#crossLink "Ticker/interval:property"}}{{/crossLink}} property instead.
--	 * @method getFPS
--	 * @static
--	 * @return {Number}
--	 * @deprecated
--	 **/
--	Ticker.getFPS = function() {
--		return 1000/Ticker._interval;
--	};
--
--	/**
--	 * Indicates the target time (in milliseconds) between ticks. Default is 50 (20 FPS).
--	 * Note that actual time between ticks may be more than specified depending on CPU load.
--	 * This property is ignored if the ticker is using the `RAF` timing mode.
--	 * @property interval
--	 * @static
--	 * @type {Number}
--	 **/
--	 
--	/**
--	 * Indicates the target frame rate in frames per second (FPS). Effectively just a shortcut to `interval`, where
--	 * `framerate == 1000/interval`.
--	 * @property framerate
--	 * @static
--	 * @type {Number}
--	 **/
--	try {
--		Object.defineProperties(Ticker, {
--			interval: { get: Ticker.getInterval, set: Ticker.setInterval },
--			framerate: { get: Ticker.getFPS, set: Ticker.setFPS }
--		});
--	} catch (e) { console.log(e); }
--
--
--// public static methods:
--	/**
--	 * Starts the tick. This is called automatically when the first listener is added.
--	 * @method init
--	 * @static
--	 **/
--	Ticker.init = function() {
--		if (Ticker._inited) { return; }
--		Ticker._inited = true;
--		Ticker._times = [];
--		Ticker._tickTimes = [];
--		Ticker._startTime = Ticker._getTime();
--		Ticker._times.push(Ticker._lastTime = 0);
--		Ticker.interval = Ticker._interval;
--	};
--	
--	/**
--	 * Stops the Ticker and removes all listeners. Use init() to restart the Ticker.
--	 * @method reset
--	 * @static
--	 **/
--	Ticker.reset = function() {
--		if (Ticker._raf) {
--			var f = window.cancelAnimationFrame || window.webkitCancelAnimationFrame || window.mozCancelAnimationFrame || window.oCancelAnimationFrame || window.msCancelAnimationFrame;
--			f&&f(Ticker._timerId);
--		} else {
--			clearTimeout(Ticker._timerId);
--		}
--		Ticker.removeAllEventListeners("tick");
--		Ticker._timerId = Ticker._times = Ticker._tickTimes = null;
--		Ticker._startTime = Ticker._lastTime = Ticker._ticks = 0;
--		Ticker._inited = false;
--	};
--
--	/**
--	 * Returns the average time spent within a tick. This can vary significantly from the value provided by getMeasuredFPS
--	 * because it only measures the time spent within the tick execution stack. 
--	 * 
--	 * Example 1: With a target FPS of 20, getMeasuredFPS() returns 20fps, which indicates an average of 50ms between 
--	 * the end of one tick and the end of the next. However, getMeasuredTickTime() returns 15ms. This indicates that 
--	 * there may be up to 35ms of "idle" time between the end of one tick and the start of the next.
--	 *
--	 * Example 2: With a target FPS of 30, getFPS() returns 10fps, which indicates an average of 100ms between the end of
--	 * one tick and the end of the next. However, getMeasuredTickTime() returns 20ms. This would indicate that something
--	 * other than the tick is using ~80ms (another script, DOM rendering, etc).
--	 * @method getMeasuredTickTime
--	 * @static
--	 * @param {Number} [ticks] The number of previous ticks over which to measure the average time spent in a tick.
--	 * Defaults to the number of ticks per second. To get only the last tick's time, pass in 1.
--	 * @return {Number} The average time spent in a tick in milliseconds.
--	 **/
--	Ticker.getMeasuredTickTime = function(ticks) {
--		var ttl=0, times=Ticker._tickTimes;
--		if (!times || times.length < 1) { return -1; }
--
--		// by default, calculate average for the past ~1 second:
--		ticks = Math.min(times.length, ticks||(Ticker.getFPS()|0));
--		for (var i=0; i<ticks; i++) { ttl += times[i]; }
--		return ttl/ticks;
--	};
--
--	/**
--	 * Returns the actual frames / ticks per second.
--	 * @method getMeasuredFPS
--	 * @static
--	 * @param {Number} [ticks] The number of previous ticks over which to measure the actual frames / ticks per second.
--	 * Defaults to the number of ticks per second.
--	 * @return {Number} The actual frames / ticks per second. Depending on performance, this may differ
--	 * from the target frames per second.
--	 **/
--	Ticker.getMeasuredFPS = function(ticks) {
--		var times = Ticker._times;
--		if (!times || times.length < 2) { return -1; }
--
--		// by default, calculate fps for the past ~1 second:
--		ticks = Math.min(times.length-1, ticks||(Ticker.getFPS()|0));
--		return 1000/((times[0]-times[ticks])/ticks);
--	};
--
--	/**
--	 * Use the {{#crossLink "Ticker/paused:property"}}{{/crossLink}} property instead.
--	 * @method setPaused
--	 * @static
--	 * @param {Boolean} value
--	 * @deprecated
--	 **/
--	Ticker.setPaused = function(value) {
--		// TODO: deprecated.
--		Ticker.paused = value;
--	};
--
--	/**
--	 * Use the {{#crossLink "Ticker/paused:property"}}{{/crossLink}} property instead.
--	 * @method getPaused
--	 * @static
--	 * @return {Boolean}
--	 * @deprecated
--	 **/
--	Ticker.getPaused = function() {
--		// TODO: deprecated.
--		return Ticker.paused;
--	};
--
--	/**
--	 * Returns the number of milliseconds that have elapsed since Ticker was initialized via {{#crossLink "Ticker/init"}}.
--	 * Returns -1 if Ticker has not been initialized. For example, you could use
--	 * this in a time synchronized animation to determine the exact amount of time that has elapsed.
--	 * @method getTime
--	 * @static
--	 * @param {Boolean} [runTime=false] If true only time elapsed while Ticker was not paused will be returned.
--	 * If false, the value returned will be total time elapsed since the first tick event listener was added.
--	 * @return {Number} Number of milliseconds that have elapsed since Ticker was initialized or -1.
--	 **/
--	Ticker.getTime = function(runTime) {
--		return Ticker._startTime ? Ticker._getTime() - (runTime ? Ticker._pausedTime : 0) : -1;
--	};
--
--	/**
--	 * Similar to getTime(), but returns the time on the most recent tick event object.
--	 * @method getEventTime
--	 * @static
--	 * @param runTime {Boolean} [runTime=false] If true, the runTime property will be returned instead of time.
--	 * @returns {number} The time or runTime property from the most recent tick event or -1.
--	 */
--	Ticker.getEventTime = function(runTime) {
--		return Ticker._startTime ? (Ticker._lastTime || Ticker._startTime) - (runTime ? Ticker._pausedTime : 0) : -1;
--	};
--	
--	/**
--	 * Returns the number of ticks that have been broadcast by Ticker.
--	 * @method getTicks
--	 * @static
--	 * @param {Boolean} pauseable Indicates whether to include ticks that would have been broadcast
--	 * while Ticker was paused. If true only tick events broadcast while Ticker is not paused will be returned.
--	 * If false, tick events that would have been broadcast while Ticker was paused will be included in the return
--	 * value. The default value is false.
--	 * @return {Number} of ticks that have been broadcast.
--	 **/
--	Ticker.getTicks = function(pauseable) {
--		return  Ticker._ticks - (pauseable ? Ticker._pausedTicks : 0);
--	};
--
--
--// private static methods:
--	/**
--	 * @method _handleSynch
--	 * @static
--	 * @protected
--	 **/
--	Ticker._handleSynch = function() {
--		Ticker._timerId = null;
--		Ticker._setupTick();
--
--		// run if enough time has elapsed, with a little bit of flexibility to be early:
--		if (Ticker._getTime() - Ticker._lastTime >= (Ticker._interval-1)*0.97) {
--			Ticker._tick();
--		}
--	};
--
--	/**
--	 * @method _handleRAF
--	 * @static
--	 * @protected
--	 **/
--	Ticker._handleRAF = function() {
--		Ticker._timerId = null;
--		Ticker._setupTick();
--		Ticker._tick();
--	};
--
--	/**
--	 * @method _handleTimeout
--	 * @static
--	 * @protected
--	 **/
--	Ticker._handleTimeout = function() {
--		Ticker._timerId = null;
--		Ticker._setupTick();
--		Ticker._tick();
--	};
--
--	/**
--	 * @method _setupTick
--	 * @static
--	 * @protected
--	 **/
--	Ticker._setupTick = function() {
--		if (Ticker._timerId != null) { return; } // avoid duplicates
--
--		var mode = Ticker.timingMode||(Ticker.useRAF&&Ticker.RAF_SYNCHED);
--		if (mode == Ticker.RAF_SYNCHED || mode == Ticker.RAF) {
--			var f = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame;
--			if (f) {
--				Ticker._timerId = f(mode == Ticker.RAF ? Ticker._handleRAF : Ticker._handleSynch);
--				Ticker._raf = true;
--				return;
--			}
--		}
--		Ticker._raf = false;
--		Ticker._timerId = setTimeout(Ticker._handleTimeout, Ticker._interval);
--	};
--
--	/**
--	 * @method _tick
--	 * @static
--	 * @protected
--	 **/
--	Ticker._tick = function() {
--		var paused = Ticker.paused;
--		var time = Ticker._getTime();
--		var elapsedTime = time-Ticker._lastTime;
--		Ticker._lastTime = time;
--		Ticker._ticks++;
--		
--		if (paused) {
--			Ticker._pausedTicks++;
--			Ticker._pausedTime += elapsedTime;
--		}
--		
--		if (Ticker.hasEventListener("tick")) {
--			var event = new createjs.Event("tick");
--			var maxDelta = Ticker.maxDelta;
--			event.delta = (maxDelta && elapsedTime > maxDelta) ? maxDelta : elapsedTime;
--			event.paused = paused;
--			event.time = time;
--			event.runTime = time-Ticker._pausedTime;
--			Ticker.dispatchEvent(event);
--		}
--		
--		Ticker._tickTimes.unshift(Ticker._getTime()-time);
--		while (Ticker._tickTimes.length > 100) { Ticker._tickTimes.pop(); }
--
--		Ticker._times.unshift(time);
--		while (Ticker._times.length > 100) { Ticker._times.pop(); }
--	};
--
--	/**
--	 * @method _getTime
--	 * @static
--	 * @protected
--	 **/
--	var now = window.performance && (performance.now || performance.mozNow || performance.msNow || performance.oNow || performance.webkitNow);
--	Ticker._getTime = function() {
--		return ((now&&now.call(performance))||(new Date().getTime())) - Ticker._startTime;
--	};
--
--
--	createjs.Ticker = Ticker;
--}());
-diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/extend.js b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/extend.js
-index 690de15..9bf84cb 100644
---- a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/extend.js
-+++ b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/extend.js
-@@ -31,7 +31,7 @@
-  */
- 
- // namespace:
--this.createjs = this.createjs||{};
-+
- 
- /**
-  * @class Utility Methods
-@@ -52,11 +52,11 @@ this.createjs = this.createjs||{};
-  *
-  * @method extend
-  * @param {Function} subclass The subclass.
-- * @param {Function} superclass The superclass to extend.
-+ * @param {Function} superclass The superclass to createjs.extend.
-  * @return {Function} Returns the subclass's new prototype.
-  */
- createjs.extend = function(subclass, superclass) {
--	"use strict";
-+
- 
- 	function o() { this.constructor = subclass; }
- 	o.prototype = superclass.prototype;
-diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/indexOf.js b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/indexOf.js
-index 9719d4d..18b0bf0 100644
---- a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/indexOf.js
-+++ b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/indexOf.js
-@@ -31,7 +31,7 @@
-  */
- 
- // namespace:
--this.createjs = this.createjs||{};
-+
- 
- /**
-  * @class Utility Methods
-@@ -45,11 +45,11 @@ this.createjs = this.createjs||{};
-  *
-  * @method indexOf
-  * @param {Array} array Array to search for searchElement
-- * @param searchElement Element to find in array.
-+ * @param {Object} searchElement Element to find in array.
-  * @return {Number} The first index of searchElement in array.
-  */
- createjs.indexOf = function (array, searchElement){
--	"use strict";
-+
- 
- 	for (var i = 0,l=array.length; i < l; i++) {
- 		if (searchElement === array[i]) {
-diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/promote.js b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/promote.js
-index d09a381..5da6df7 100644
---- a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/promote.js
-+++ b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/promote.js
-@@ -31,7 +31,7 @@
-  */
- 
- // namespace:
--this.createjs = this.createjs||{};
-+
- 
- /**
-  * @class Utility Methods
-@@ -71,11 +71,11 @@ this.createjs = this.createjs||{};
-  *
-  * @method promote
-  * @param {Function} subclass The class to promote super class methods on.
-- * @param {String} prefix The prefix to add to the promoted method names. Usually the name of the superclass.
-+ * @param {string} prefix The prefix to add to the promoted method names. Usually the name of the superclass.
-  * @return {Function} Returns the subclass.
-  */
- createjs.promote = function(subclass, prefix) {
--	"use strict";
-+
- 
- 	var subP = subclass.prototype, supP = (Object.getPrototypeOf&&Object.getPrototypeOf(subP))||subP.__proto__;
- 	if (supP) {
-diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Bitmap.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Bitmap.js
-index eecac1a..87b27d7 100644
---- a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Bitmap.js
-+++ b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Bitmap.js
-@@ -1,214 +1,37 @@
--/*
--* Bitmap
--* Visit http://createjs.com/ for documentation, updates and examples.
--*
--* Copyright (c) 2010 gskinner.com, inc.
--* 
--* Permission is hereby granted, free of charge, to any person
--* obtaining a copy of this software and associated documentation
--* files (the "Software"), to deal in the Software without
--* restriction, including without limitation the rights to use,
--* copy, modify, merge, publish, distribute, sublicense, and/or sell
--* copies of the Software, and to permit persons to whom the
--* Software is furnished to do so, subject to the following
--* conditions:
--* 
--* The above copyright notice and this permission notice shall be
--* included in all copies or substantial portions of the Software.
--* 
--* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
--* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
--* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
--* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
--* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
--* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
--* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
--* OTHER DEALINGS IN THE SOFTWARE.
--*/
--
-+/** @fileoverview Auto-generated Externs files
-+ * @externs
-+ */
- /**
--* @module EaselJS
--*/
-+ * A Bitmap represents an Image, Canvas, or Video in the display list. A Bitmap can be instantiated using an existing
-+ * HTML element, or a string.
-+ * 
-+ * <h4>Example</h4>
-+ * 
-+ * var bitmap = new createjs.Bitmap("imagePath.jpg");
-+ * 
-+ * <strong>Notes:</strong>
-+ * <ol>
-+ * <li>When a string path or image tag that is not yet loaded is used, the stage may need to be redrawn before it
-+ * will be displayed.</li>
-+ * <li>Bitmaps with an SVG source currently will not respect an alpha value other than 0 or 1. To get around this,
-+ * the Bitmap can be cached.</li>
-+ * <li>Bitmaps with an SVG source will taint the canvas with cross-origin data, which prevents interactivity. This
-+ * happens in all browsers except recent Firefox builds.</li>
-+ * <li>Images loaded cross-origin will throw cross-origin security errors when interacted with using a mouse, using
-+ * methods such as `getObjectUnderPoint`, or using filters, or caching. You can get around this by setting
-+ * `crossOrigin` flags on your images before passing them to EaselJS, eg: `img.crossOrigin="Anonymous";`</li>
-+ * </ol>
-+ *
-+ * @see [Bitmap]
-+ * @param {(HTMLCanvasElement|HTMLVideoElement|Image|string|null)} imageOrUri The source object or URI to an image to display. This can be either an Image, Canvas, or Video object, or a string URI to an image file to load and use. If it is a URI, a new Image object will be constructed and assigned to the .image property.
-+ * @constructor
-+ * @extends createjs.DisplayObject
-+
-+ */
-+createjs.Bitmap = function (imageOrUri) {}
- 
--// namespace:
--this.createjs = this.createjs||{};
- 
--(function() {
--	
--	/**
--	 * A Bitmap represents an Image, Canvas, or Video in the display list. A Bitmap can be instantiated using an existing
--	 * HTML element, or a string.
--	 *
--	 * <h4>Example</h4>
--	 *
--	 *      var bitmap = new createjs.Bitmap("imagePath.jpg");
--	 *
--	 * <strong>Notes:</strong>
--	 * <ol>
--	 *     <li>When a string path or image tag that is not yet loaded is used, the stage may need to be redrawn before it
--	 *      will be displayed.</li>
--	 *     <li>Bitmaps with an SVG source currently will not respect an alpha value other than 0 or 1. To get around this,
--	 *     the Bitmap can be cached.</li>
--	 *     <li>Bitmaps with an SVG source will taint the canvas with cross-origin data, which prevents interactivity. This
--	 *     happens in all browsers except recent Firefox builds.</li>
--	 *     <li>Images loaded cross-origin will throw cross-origin security errors when interacted with using a mouse, using
--	 *     methods such as `getObjectUnderPoint`, or using filters, or caching. You can get around this by setting
--	 *     `crossOrigin` flags on your images before passing them to EaselJS, eg: `img.crossOrigin="Anonymous";`</li>
--	 * </ol>
--	 *
--	 * @class Bitmap
--	 * @extends DisplayObject
--	 * @constructor
--	 * @param {Image | HTMLCanvasElement | HTMLVideoElement | String} imageOrUri The source object or URI to an image to
--	 * display. This can be either an Image, Canvas, or Video object, or a string URI to an image file to load and use.
--	 * If it is a URI, a new Image object will be constructed and assigned to the .image property.
--	 **/
--	function Bitmap(imageOrUri) {
--		this.DisplayObject_constructor();
--		
--		
--	// public properties:
--		/**
--		 * The image to render. This can be an Image, a Canvas, or a Video. Not all browsers (especially
--		 * mobile browsers) support drawing video to a canvas.
--		 * @property image
--		 * @type Image | HTMLCanvasElement | HTMLVideoElement
--		 **/
--		if (typeof imageOrUri == "string") {
--			this.image = document.createElement("img");
--			this.image.src = imageOrUri;
--		} else {
--			this.image = imageOrUri;
--		}
--	
--		/**
--		 * Specifies an area of the source image to draw. If omitted, the whole image will be drawn.
--		 * Note that video sources must have a width / height set to work correctly with `sourceRect`.
--		 * @property sourceRect
--		 * @type Rectangle
--		 * @default null
--		 */
--		this.sourceRect = null;
--	}
--	var p = createjs.extend(Bitmap, createjs.DisplayObject);
--	
--	
--// public methods:
--	/**
--	 * Constructor alias for backwards compatibility. This method will be removed in future versions.
--	 * Subclasses should be updated to use {{#crossLink "Utility Methods/extends"}}{{/crossLink}}.
--	 * @method initialize
--	 * @deprecated in favour of `createjs.promote()`
--	 **/
--	p.initialize = Bitmap; // TODO: deprecated.
- 
--	/**
--	 * Returns true or false indicating whether the display object would be visible if drawn to a canvas.
--	 * This does not account for whether it would be visible within the boundaries of the stage.
--	 *
--	 * NOTE: This method is mainly for internal use, though it may be useful for advanced uses.
--	 * @method isVisible
--	 * @return {Boolean} Boolean indicating whether the display object would be visible if drawn to a canvas
--	 **/
--	p.isVisible = function() {
--		var hasContent = this.cacheCanvas || (this.image && (this.image.complete || this.image.getContext || this.image.readyState >= 2));
--		return !!(this.visible && this.alpha > 0 && this.scaleX != 0 && this.scaleY != 0 && hasContent);
--	};
- 
--	/**
--	 * Draws the display object into the specified context ignoring its visible, alpha, shadow, and transform.
--	 * Returns true if the draw was handled (useful for overriding functionality).
--	 *
--	 * NOTE: This method is mainly for internal use, though it may be useful for advanced uses.
--	 * @method draw
--	 * @param {CanvasRenderingContext2D} ctx The canvas 2D context object to draw into.
--	 * @param {Boolean} [ignoreCache=false] Indicates whether the draw operation should ignore any current cache.
--	 * For example, used for drawing the cache (to prevent it from simply drawing an existing cache back
--	 * into itself).
--	 * @return {Boolean}
--	 **/
--	p.draw = function(ctx, ignoreCache) {
--		if (this.DisplayObject_draw(ctx, ignoreCache) || !this.image) { return true; }
--		var img = this.image, rect = this.sourceRect;
--		if (rect) {
--			// some browsers choke on out of bound values, so we'll fix them:
--			var x1 = rect.x, y1 = rect.y, x2 = x1 + rect.width, y2 = y1 + rect.height, x = 0, y = 0, w = img.width, h = img.height;
--			if (x1 < 0) { x -= x1; x1 = 0; }
--			if (x2 > w) { x2 = w; }
--			if (y1 < 0) { y -= y1; y1 = 0; }
--			if (y2 > h) { y2 = h; }
--			ctx.drawImage(img, x1, y1, x2-x1, y2-y1, x, y, x2-x1, y2-y1);
--		} else {
--			ctx.drawImage(img, 0, 0);
--		}
--		return true;
--	};
--	
--	//Note, the doc sections below document using the specified APIs (from DisplayObject)  from
--	//Bitmap. This is why they have no method implementations.
--	
--	/**
--	 * Because the content of a Bitmap is already in a simple format, cache is unnecessary for Bitmap instances.
--	 * You should <b>not</b> cache Bitmap instances as it can degrade performance.
--	 *
--	 * <strong>However: If you want to use a filter on a Bitmap, you <em>MUST</em> cache it, or it will not work.</strong>
--	 * To see the API for caching, please visit the DisplayObject {{#crossLink "DisplayObject/cache"}}{{/crossLink}}
--	 * method.
--	 * @method cache
--	 **/
--	
--	/**
--	 * Because the content of a Bitmap is already in a simple format, cache is unnecessary for Bitmap instances.
--	 * You should <b>not</b> cache Bitmap instances as it can degrade performance.
--	 *
--	 * <strong>However: If you want to use a filter on a Bitmap, you <em>MUST</em> cache it, or it will not work.</strong>
--	 * To see the API for caching, please visit the DisplayObject {{#crossLink "DisplayObject/cache"}}{{/crossLink}}
--	 * method.
--	 * @method updateCache
--	 **/
--	
--	/**
--	 * Because the content of a Bitmap is already in a simple format, cache is unnecessary for Bitmap instances.
--	 * You should <b>not</b> cache Bitmap instances as it can degrade performance.
--	 *
--	 * <strong>However: If you want to use a filter on a Bitmap, you <em>MUST</em> cache it, or it will not work.</strong>
--	 * To see the API for caching, please visit the DisplayObject {{#crossLink "DisplayObject/cache"}}{{/crossLink}}
--	 * method.
--	 * @method uncache
--	 **/
- 
--	/**
--	 * Docced in superclass.
--	 */
--	p.getBounds = function() {
--		var rect = this.DisplayObject_getBounds();
--		if (rect) { return rect; }
--		var o = this.sourceRect || this.image;
--		var hasContent = (this.image && (this.image.complete || this.image.getContext || this.image.readyState >= 2));
--		return hasContent ? this._rectangle.setValues(0, 0, o.width, o.height) : null;
--	};
--	
--	/**
--	 * Returns a clone of the Bitmap instance.
--	 * @method clone
--	 * @return {Bitmap} a clone of the Bitmap instance.
--	 **/
--	p.clone = function() {
--		var o = new Bitmap(this.image);
--		if (this.sourceRect) { o.sourceRect = this.sourceRect.clone(); }
--		this._cloneProps(o);
--		return o;
--	};
--	
--	/**
--	 * Returns a string representation of this object.
--	 * @method toString
--	 * @return {String} a string representation of the instance.
--	 **/
--	p.toString = function() {
--		return "[Bitmap (name="+  this.name +")]";
--	};
- 
--	
--	createjs.Bitmap = createjs.promote(Bitmap, "DisplayObject");
--}());
-diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js
-index b028d9b..60e513c 100644
---- a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js
-+++ b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js
-@@ -1,343 +1,61 @@
--/*
--* BitmapText
--* Visit http://createjs.com/ for documentation, updates and examples.
--*
--* Copyright (c) 2010 gskinner.com, inc.
--*
--* Permission is hereby granted, free of charge, to any person
--* obtaining a copy of this software and associated documentation
--* files (the "Software"), to deal in the Software without
--* restriction, including without limitation the rights to use,
--* copy, modify, merge, publish, distribute, sublicense, and/or sell
--* copies of the Software, and to permit persons to whom the
--* Software is furnished to do so, subject to the following
--* conditions:
--*
--* The above copyright notice and this permission notice shall be
--* included in all copies or substantial portions of the Software.
--*
--* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
--* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
--* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
--* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
--* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
--* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
--* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
--* OTHER DEALINGS IN THE SOFTWARE.
--*/
-+/** @fileoverview Auto-generated Externs files
-+ * @externs
-+ */
-+/**
-+ * Displays text using bitmap glyphs defined in a sprite sheet. Multi-line text is supported
-+ * using new line characters, but automatic wrapping is not supported. See the
-+ * {{#crossLink "BitmapText/spriteSheet:property"}}{{/crossLink}}
-+ * property for more information on defining glyphs.
-+ * 
-+ * <strong>Important:</strong> BitmapText extends Container, but is not designed to be used as one.
-+ * As such, methods like addChild and removeChild are disabled.
-+ *
-+ * @see [BitmapText]
-+ * @param {string=} opt_text The text to display.
-+ * @param {createjs.SpriteSheet=} opt_spriteSheet The spritesheet that defines the character glyphs.
-+ * @constructor
-+ * @extends createjs.DisplayObject
-+
-+ */
-+createjs.BitmapText = function (opt_text, opt_spriteSheet) {}
-+
-+    /**
-+     * @param {(createjs.SpriteSheet|null)} ss 
-+     * @see [BitmapText]
-+     * @returns {(number|null)} 
-+     */
-+createjs.BitmapText.prototype._getLineHeight = function (ss) { return 0; }
-+
-+
-+
-+
-+    /**
-+     * @param {(createjs.SpriteSheet|null)} ss 
-+     * @see [BitmapText]
-+     * @returns {(number|null)} 
-+     */
-+createjs.BitmapText.prototype._getSpaceWidth = function (ss) { return 0; }
-+
-+
-+    /**
-+     * @param {string} character 
-+     * @param {(createjs.SpriteSheet|null)} spriteSheet 
-+     * @see [BitmapText]
-+     * @returns {(number|null)} 
-+     */
-+createjs.BitmapText.prototype._getFrameIndex = function (character, spriteSheet) { return 0; }
-+
-+
-+    /**
-+     * @param {string} character 
-+     * @param {(createjs.SpriteSheet|null)} spriteSheet 
-+     * @see [BitmapText]
-+     * @returns {(Object|null)} 
-+     */
-+createjs.BitmapText.prototype._getFrame = function (character, spriteSheet) {  return null; }
-+
-+    /**
-+     * @see [BitmapText]
-+     */
-+createjs.BitmapText.prototype._updateText = function () {  }
- 
--this.createjs = this.createjs || {};
--
--(function () {
--	"use strict";
--
--
--// constructor:
--	/**
--	 * Displays text using bitmap glyphs defined in a sprite sheet. Multi-line text is supported
--	 * using new line characters, but automatic wrapping is not supported. See the 
--	 * {{#crossLink "BitmapText/spriteSheet:property"}}{{/crossLink}}
--	 * property for more information on defining glyphs.
--	 * 
--	 * <strong>Important:</strong> BitmapText extends Container, but is not designed to be used as one.
--	 * As such, methods like addChild and removeChild are disabled.
--	 * @class BitmapText
--	 * @extends DisplayObject
--	 * @param {String} [text=""] The text to display.
--	 * @param {SpriteSheet} [spriteSheet=null] The spritesheet that defines the character glyphs.
--	 * @constructor
--	 **/
--	function BitmapText(text, spriteSheet) {
--		this.Container_constructor();
--		
--		
--	// public properties:
--		/**
--		 * The text to display.
--		 * @property text
--		 * @type String
--		 * @default ""
--		 **/
--		this.text = text||"";
--		
--		/**
--		 * A SpriteSheet instance that defines the glyphs for this bitmap text. Each glyph/character
--		 * should have a single frame animation defined in the sprite sheet named the same as
--		 * corresponding character. For example, the following animation definition:
--		 *
--		 * 		"A": {frames: [0]}
--		 *
--		 * would indicate that the frame at index 0 of the spritesheet should be drawn for the "A" character. The short form
--		 * is also acceptable:
--		 * 
--		 * 		"A": 0
--		 *
--		 * Note that if a character in the text is not found in the sprite sheet, it will also
--		 * try to use the alternate case (upper or lower).
--		 *
--		 * See SpriteSheet for more information on defining sprite sheet data.
--		 * @property spriteSheet
--		 * @type String
--		 * @default null
--		 **/
--		this.spriteSheet = spriteSheet;
--	
--		/**
--		 * The height of each line of text. If 0, then it will use a line height calculated
--		 * by checking for the height of the "1", "T", or "L" character (in that order). If
--		 * those characters are not defined, it will use the height of the first frame of the
--		 * sprite sheet.
--		 * @property lineHeight
--		 * @type Number
--		 * @default 0
--		 **/
--		this.lineHeight = 0;
--	
--		/**
--		 * This spacing (in pixels) will be added after each character in the output.
--		 * @property letterSpacing
--		 * @type Number
--		 * @default 0
--		 **/
--		this.letterSpacing = 0;
--	
--		/**
--		 * If a space character is not defined in the sprite sheet, then empty pixels equal to
--		 * spaceWidth will be inserted instead. If 0, then it will use a value calculated
--		 * by checking for the width of the "1", "l", "E", or "A" character (in that order). If
--		 * those characters are not defined, it will use the width of the first frame of the
--		 * sprite sheet.
--		 * @property spaceWidth
--		 * @type Number
--		 * @default 0
--		 **/
--		this.spaceWidth = 0;
--		
--		
--	// private properties:
--	 	/**
--		 * @property _oldProps
--		 * @type Object
--		 * @protected
--		 **/
--		this._oldProps = {text:0,spriteSheet:0,lineHeight:0,letterSpacing:0,spaceWidth:0};
--	}
--	var p = createjs.extend(BitmapText, createjs.Container);
--
--	/**
--	 * <strong>REMOVED</strong>. Removed in favor of using `MySuperClass_constructor`.
--	 * See {{#crossLink "Utility Methods/extend"}}{{/crossLink}} and {{#crossLink "Utility Methods/promote"}}{{/crossLink}}
--	 * for details.
--	 *
--	 * There is an inheritance tutorial distributed with EaselJS in /tutorials/Inheritance.
--	 *
--	 * @method initialize
--	 * @protected
--	 * @deprecated
--	 */
--	// p.initialize = function() {}; // searchable for devs wondering where it is.
--
--// static properties:
--	/**
--	 * BitmapText uses Sprite instances to draw text. To reduce the creation and destruction of instances (and thus garbage collection), it maintains
--	 * an internal object pool of sprite instances to reuse. Increasing this value can cause more sprites to be
--	 * retained, slightly increasing memory use, but reducing instantiation.
--	 * @property maxPoolSize
--	 * @type Number
--	 * @static
--	 * @default 100
--	 **/
--	BitmapText.maxPoolSize = 100;
--	
--	/**
--	 * Sprite object pool.
--	 * @type {Array}
--	 * @static
--	 * @private
--	 */
--	BitmapText._spritePool = [];
--
--	
--// public methods:
--	/**
--	 * Docced in superclass.
--	 **/
--	p.draw = function(ctx, ignoreCache) {
--		if (this.DisplayObject_draw(ctx, ignoreCache)) { return; }
--		this._updateText();
--		this.Container_draw(ctx, ignoreCache);
--	};
--	
--	/**
--	 * Docced in superclass.
--	 **/
--	p.getBounds = function() {
--		this._updateText();
--		return this.Container_getBounds();
--	};
--	
--	/**
--	 * Returns true or false indicating whether the display object would be visible if drawn to a canvas.
--	 * This does not account for whether it would be visible within the boundaries of the stage.
--	 * NOTE: This method is mainly for internal use, though it may be useful for advanced uses.
--	 * @method isVisible
--	 * @return {Boolean} Boolean indicating whether the display object would be visible if drawn to a canvas
--	 **/
--	p.isVisible =

<TRUNCATED>