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 2015/12/17 08:54:16 UTC

[06/55] [abbrv] git commit: [flex-asjs] [refs/heads/develop] - delete handwritten JS from these projects since they are theoretically replaced by cross-compiled AS

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/svg/TextButton.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/svg/TextButton.js b/frameworks/projects/Core/js/src/org/apache/flex/svg/TextButton.js
deleted file mode 100644
index 5622f0f..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/svg/TextButton.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * Licensed 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.
- */
-
-goog.provide('org.apache.flex.svg.TextButton');
-
-goog.require('org.apache.flex.core.UIBase');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- */
-org.apache.flex.svg.TextButton = function() {
-  org.apache.flex.svg.TextButton.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.svg.TextButton,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.svg.TextButton.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'TextButton',
-                qName: 'org.apache.flex.svg.TextButton'}] };
-
-
-/**
- * @override
- */
-org.apache.flex.svg.TextButton.prototype.createElement =
-    function() {
-  this.element = document.createElement('embed');
-  this.element.setAttribute('src', 'org/apache/flex/svg/assets/TextButton_Skin.svg');
-
-  this.positioner = this.element;
-  this.positioner.style.position = 'relative';
-
-  return this.element;
-};
-
-
-/**
- * @override
- */
-org.apache.flex.svg.TextButton.prototype.finalizeElement =
-    function() {
-  var listenersArray;
-  if (goog.events.hasListener(this.element, goog.events.EventType.CLICK)) {
-    listenersArray = goog.events.getListeners(this.element, goog.events.EventType.CLICK, false);
-
-    /* As we are assigning an actual function object instead of just the name,
-       make sure to use a unique name ('clickHandler') instead of a native
-       name, like 'click' or 'onclick'.
-
-       Note: use array notation for property assignment so the compiler doesn't
-             rename the property ;-)
-    */
-    this.element['clickHandler'] = listenersArray[0].listener;
-  }
-};
-
-
-Object.defineProperties(org.apache.flex.svg.TextButton.prototype, {
-    /** @export */
-    text: {
-        /** @this {org.apache.flex.svg.TextButton} */
-        get: function() {
-            return this.element.getAttribute('label');
-        },
-        /** @this {org.apache.flex.svg.TextButton} */
-        set: function(value) {
-            this.element.setAttribute('label', value);
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/svg/assets/TextButton_Skin.svg
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/svg/assets/TextButton_Skin.svg b/frameworks/projects/Core/js/src/org/apache/flex/svg/assets/TextButton_Skin.svg
deleted file mode 100644
index 7986725..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/svg/assets/TextButton_Skin.svg
+++ /dev/null
@@ -1,279 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!--
-
-  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.
-
--->
-<svg xmlns="http://www.w3.org/2000/svg" version="1.1" class="button" width="100%" height="100%" 
-	onload="return init(evt)"
-	onmouseover="return handleMouseOver(evt)" 
-	onmousedown="return handleMouseDown(evt)" 
-	onmouseup="return handleMouseUp(evt)" 
-	onmouseout="return handleMouseOut(evt)"
-	onclick="handleOnClick(evt)"
-	>
-	<style type="text/css">
-		.button {cursor: pointer;}
-	</style>
-  
-  <script type="text/ecmascript">
-	<![CDATA[
-		
-		var labelStr = "";
-		var clickHandler;
-		
-		function init(event)
-		{
-			//Set Initial button state
-			document.getElementById("button_up").style.display="inline";
-			document.getElementById("button_over").style.display="none";
-			document.getElementById("button_down").style.display="none";
-			
-			//Set label from the embed's frameElement.attributes values
-			labelStr = window.frameElement.attributes["label"].value;
-			var labelElement = document.getElementById("labelDisplay");
-			labelElement.firstChild.nodeValue = labelStr;
-			
-			//Store callbacks
-			clickHandler = window.frameElement.clickHandler;
-		}
-	
-		function handleMouseOver(event)
-		{
-			document.getElementById("button_up").style.display="none";
-			document.getElementById("button_over").style.display="inline";
-			document.getElementById("button_down").style.display="none";
-		}
-		
-		function handleMouseDown(event)
-		{
-			document.getElementById("button_up").style.display="none";
-			document.getElementById("button_over").style.display="none";
-			document.getElementById("button_down").style.display="inline";
-		}
-		
-		function handleMouseUp(event)
-		{
-			document.getElementById("button_up").style.display="none";
-			document.getElementById("button_over").style.display="inline";
-			document.getElementById("button_down").style.display="none";
-		}
-		
-		function handleMouseOut(event)
-		{
-			document.getElementById("button_up").style.display="inline";
-			document.getElementById("button_over").style.display="none";
-			document.getElementById("button_down").style.display="none";
-		}
-		
-		function handleOnClick(evt)
-		{
-			clickHandler(evt,this);
-		}
-
-	]]></script>
-	<svg xmlns="http://www.w3.org/2000/svg" id="button_up" width="100%" height="100%" version="1.1" >
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="-1" right="-1" top="-1" bottom="-1">
-			<defs>
-				<linearGradient id="button_up_idLinearGradientx63x32" gradientTransform="rotate(90)">
-					<stop offset="0" stop-color="#000000" stop-opacity="0.01" />
-					<stop offset="1" stop-color="#000000" stop-opacity="0.07" />
-				</linearGradient>
-			</defs>
-			<rect id="button_up_shadow" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_up_idLinearGradientx63x32)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_up_idLinearGradientx63x54" gradientTransform="rotate(90)">
-					<stop offset="0" stop-color="#FFFFFF" stop-opacity="0.85" />
-					<stop offset="1" stop-color="#D8D8D8" stop-opacity="0.85" />
-				</linearGradient>
-			</defs>
-			<rect id="button_up_fill" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_up_idLinearGradientx63x54)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_up_idLinearGradientx63x76" x1="0%" y1="100%" x2="0%" y2="0%">
-					<stop offset="0.0" stop-color="#000000" stop-opacity="0.0627" />
-					<stop offset="0.48" stop-color="#000000" stop-opacity="0.0099" />
-					<stop offset="0.48001" stop-color="#000000" stop-opacity="0" />
-				</linearGradient>
-			</defs>
-			<rect id="button_up_lowlight" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_up_idLinearGradientx63x76)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_up_idLinearGradientx63x100" gradientTransform="rotate(90)">
-					<stop offset="0.0" stop-color="#FFFFFF" stop-opacity="0.33" />
-					<stop offset="0.48" stop-color="#FFFFFF" stop-opacity="0.33" />
-					<stop offset="0.48001" stop-color="#FFFFFF" stop-opacity="0" />
-				</linearGradient>
-			</defs>
-			<rect id="button_up_highlight" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_up_idLinearGradientx63x100)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_up_idLinearGradientStrokex63x129" gradientTransform="rotate(90)">
-					<stop offset="0" stop-color="#FFFFFF" />
-					<stop offset="1" stop-color="#D8D8D8" />
-				</linearGradient>
-			</defs>
-			<rect id="button_up_highlightStroke" rx="2" ry="2" width="100%" height="100%" fill="none" style="stroke-width:2;stroke:url(#button_up_idLinearGradientStrokex63x129)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="0" right="0" top="0" bottom="0">
-			<defs>
-				<linearGradient id="button_up_idLinearGradientStrokex63x205" gradientTransform="rotate(90)">
-					<stop offset="0" stop-color="#000000" stop-opacity="0.5625" />
-					<stop offset="1" stop-color="#000000" stop-opacity="0.75" />
-				</linearGradient>
-			</defs>
-			<rect id="button_up_border" rx="2" ry="2" width="100%" height="100%" fill="none" style="stroke-width:2;stroke:url(#button_up_idLinearGradientStrokex63x205)" />
-		</svg>
-	</svg>
-
-	<svg xmlns="http://www.w3.org/2000/svg" id="button_over" width="100%" height="100%" version="1.1" >
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="-1" right="-1" top="-1" bottom="-1">
-			<defs>
-				<linearGradient id="button_over_idLinearGradientx63x32" gradientTransform="rotate(90)">
-					<stop offset="0" stop-color="#000000" stop-opacity="0.01" />
-					<stop offset="1" stop-color="#000000" stop-opacity="0.07" />
-				</linearGradient>
-			</defs>
-			<rect id="button_over_shadow" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_over_idLinearGradientx63x32)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_over_idLinearGradientx63x54" gradientTransform="rotate(90)">
-					<stop offset="0" stop-color="#BBBDBD" stop-opacity="0.85" />
-					<stop offset="1" stop-color="#9FA0A1" stop-opacity="0.85" />
-				</linearGradient>
-			</defs>
-			<rect id="button_over_fill" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_over_idLinearGradientx63x54)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_over_idLinearGradientx63x76" x1="0%" y1="100%" x2="0%" y2="0%">
-					<stop offset="0.0" stop-color="#000000" stop-opacity="0.0627" />
-					<stop offset="0.48" stop-color="#000000" stop-opacity="0.0099" />
-					<stop offset="0.48001" stop-color="#000000" stop-opacity="0" />
-				</linearGradient>
-			</defs>
-			<rect id="button_over_lowlight" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_over_idLinearGradientx63x76)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_over_idLinearGradientx63x100" gradientTransform="rotate(90)">
-					<stop offset="0.0" stop-color="#FFFFFF" stop-opacity="0.22" />
-					<stop offset="0.48" stop-color="#FFFFFF" stop-opacity="0.22" />
-					<stop offset="0.48001" stop-color="#FFFFFF" stop-opacity="0" />
-				</linearGradient>
-			</defs>
-			<rect id="button_over_highlight" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_over_idLinearGradientx63x100)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_over_idLinearGradientStrokex63x129" gradientTransform="rotate(90)">
-					<stop offset="0" stop-color="#FFFFFF" stop-opacity="0.22" />
-					<stop offset="1" stop-color="#D8D8D8" stop-opacity="0.22" />
-				</linearGradient>
-			</defs>
-			<rect id="button_over_highlightStroke" rx="2" ry="2" width="100%" height="100%" fill="none" style="stroke-width:2;stroke:url(#button_over_idLinearGradientStrokex63x129)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="0" right="0" top="0" bottom="0">
-			<defs>
-				<linearGradient id="button_over_idLinearGradientStrokex63x205" gradientTransform="rotate(90)">
-					<stop offset="0" stop-color="#000000" stop-opacity="0.5625" />
-					<stop offset="1" stop-color="#000000" stop-opacity="0.75" />
-				</linearGradient>
-			</defs>
-			<rect id="button_over_border" width="100%" height="100%" rx="2" ry="2" fill="none" style="stroke-width:2;stroke:url(#button_over_idLinearGradientStrokex63x205)" />
-		</svg>
-	</svg>
-	<svg xmlns="http://www.w3.org/2000/svg" id="button_down" width="100%" height="100%" version="1.1" >
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="-1" right="-1" top="-1" bottom="-1">
-			<defs>
-				<linearGradient id="button_down_idLinearGradientx63x32" gradientTransform="rotate(90)">
-					<stop offset="0" stop-color="#FFFFFF" stop-opacity="0" />
-					<stop offset="1" stop-color="#FFFFFF" stop-opacity="0.5" />
-				</linearGradient>
-			</defs>
-			<rect id="button_down_shadow" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_down_idLinearGradientx63x32)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_down_idLinearGradientx63x54" gradientTransform="rotate(90)">
-					<stop offset="0" stop-color="#AAAAAA" stop-opacity="0.85" />
-					<stop offset="1" stop-color="#929496" stop-opacity="0.85" />
-				</linearGradient>
-			</defs>
-			<rect id="button_down_fill" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_down_idLinearGradientx63x54)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_down_idLinearGradientx63x76" x1="0%" y1="100%" x2="0%" y2="0%">
-					<stop offset="0.0" stop-color="#000000" stop-opacity="0.0627" />
-					<stop offset="0.48" stop-color="#000000" stop-opacity="0.0099" />
-					<stop offset="0.48001" stop-color="#000000" stop-opacity="0" />
-				</linearGradient>
-			</defs>
-			<rect id="button_down_lowlight" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_down_idLinearGradientx63x76)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_down_idLinearGradientx63x100" gradientTransform="rotate(90)">
-					<stop offset="0.0" stop-color="#FFFFFF" stop-opacity="0.12" />
-					<stop offset="0.48" stop-color="#FFFFFF" stop-opacity="0.12" />
-					<stop offset="0.48001" stop-color="#FFFFFF" stop-opacity="0" />
-				</linearGradient>
-			</defs>
-			<rect id="button_down_highlight" rx="2" ry="2" width="100%" height="100%" style="fill:url(#button_down_idLinearGradientx63x100)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="1" right="1" top="1" bottom="1">
-			<defs>
-				<linearGradient id="button_down_idLinearGradientStrokex63x149" gradientTransform="rotate(90)">
-					<stop offset="0.0" stop-color="#000000" stop-opacity="0.25" />
-					<stop offset="0.001" stop-color="#000000" stop-opacity="0.25" />
-					<stop offset="0.0011" stop-color="#000000" stop-opacity="0.07" />
-					<stop offset="0.965" stop-color="#000000" stop-opacity="0.07" />
-					<stop offset="0.9651" stop-color="#000000" stop-opacity="0.00" />
-				</linearGradient>
-			</defs>
-			<rect id="button_down_hldownstroke1" rx="2" ry="2" width="100%" height="100%" fill="none" style="stroke-width:2;stroke:url(#button_down_idLinearGradientStrokex63x149)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="2" right="2" top="2" bottom="2">
-			<defs>
-				<linearGradient id="button_down_idLinearGradientStrokex63x182" gradientTransform="rotate(90)">
-					<stop offset="0.0" stop-color="#000000" stop-opacity="0.09" />
-					<stop offset="0.0001" stop-color="#000000" stop-opacity="0.00" />
-				</linearGradient>
-			</defs>
-			<rect id="button_down_hldownstroke2" rx="2" ry="2" width="100%" height="100%" fill="none" style="stroke-width:2;stroke:url(#button_down_idLinearGradientStrokex63x182)" />
-		</svg>
-		<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" left="0" right="0" top="0" bottom="0">
-			<defs>
-				<linearGradient id="button_down_idLinearGradientStrokex63x205" gradientTransform="rotate(90)">
-					<stop offset="0" stop-color="#000000" stop-opacity="0.6375" />
-					<stop offset="1" stop-color="#000000" stop-opacity="0.85" />
-				</linearGradient>
-			</defs>
-			<rect id="button_down_border" width="100%" height="100%" rx="2" ry="2" fill="none" style="stroke-width:2;stroke:url(#button_down_idLinearGradientStrokex63x205)" />
-		</svg>
-	</svg>
-	<svg id="labelDisplaySVG" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" version="1.1" >
-		<text id="labelDisplay" text-anchor="middle" font-family="verdana" font-size="12" dy=".3em" x="50%" y="50%" > </text>
-	</svg>
-	<rect id="mouse_catcher" width="100%" height="100%" fill="none" pointer-events="all"/>
-</svg>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/utils/BinaryData.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/utils/BinaryData.js b/frameworks/projects/Core/js/src/org/apache/flex/utils/BinaryData.js
deleted file mode 100644
index 619b0ed..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/utils/BinaryData.js
+++ /dev/null
@@ -1,223 +0,0 @@
-/**
- * Licensed 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.
- */
-
-goog.provide('org.apache.flex.utils.BinaryData');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.utils.BinaryData = function() {
-
-  /**
-   * @private
-   * @type {ArrayBuffer}
-   */
-  this.data_ = new ArrayBuffer();
-
-  /**
-   * @private
-   * @type {number}
-   */
-  this.position_ = 0;
-
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.utils.BinaryData.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'BinaryData',
-                qName: 'org.apache.flex.utils.BinaryData'}] };
-
-
-Object.defineProperties(org.apache.flex.utils.BinaryData.prototype, {
-    /** @export */
-    data: {
-        /** @this {org.apache.flex.utils.BinaryData} */
-        get: function() {
-            return this.data_;
-        }
-    },
-    /** @export */
-    position: {
-        /** @this {org.apache.flex.utils.BinaryData} */
-        get: function() {
-            return this.position_;
-        },
-        /** @this {org.apache.flex.utils.BinaryData} */
-        set: function(value) {
-            this.position_ = value;
-        }
-    },
-    /** @export */
-    length: {
-        /** @this {org.apache.flex.utils.BinaryData} */
-        get: function() {
-            return this.data_.byteLength;
-        }
-    },
-    /** @export */
-    bytesAvailable: {
-        /** @this {org.apache.flex.utils.BinaryData} */
-        get: function() {
-            return this.data_.byteLength - this.position_;
-        }
-    }
-});
-
-
-/**
- * @export
- * @param {number} b The byte to write.
- */
-org.apache.flex.utils.BinaryData.prototype.writeByte = function(b) {
-  var view;
-
-  this.growBuffer(1);
-
-  view = new Int8Array(this.data_, this.position_, 1);
-  view[0] = b;
-  this.position_++;
-};
-
-
-/**
- * @export
- * @param {number} s The 16-bit integer to write.
- */
-org.apache.flex.utils.BinaryData.prototype.writeShort = function(s) {
-  var view;
-
-  this.growBuffer(2);
-
-  view = new Int16Array(this.data_, this.position_, 1);
-  view[0] = s;
-  this.position_ += 2;
-};
-
-
-/**
- * @export
- * @param {number} num The 32-bit integer to write.
- */
-org.apache.flex.utils.BinaryData.prototype.writeInt = function(num) {
-  var view;
-
-  this.growBuffer(4);
-
-  view = new Int32Array(this.data_, this.position_, 1);
-  view[0] = num;
-  this.position_ += 4;
-};
-
-
-/**
- * @export
- * @param {number} num The 32-bit unsigned integer to write.
- */
-org.apache.flex.utils.BinaryData.prototype.writeUnsignedInt =
-    function(num) {
-  var view;
-
-  this.growBuffer(4);
-
-  view = new Uint32Array(this.data_, this.position_, 1);
-  view[0] = num;
-  this.position_ += 4;
-};
-
-
-/**
- * @export
- * @return {number} The byte that was read.
- */
-org.apache.flex.utils.BinaryData.prototype.readByte = function() {
-  var view;
-
-  view = new Int8Array(this.data_, this.position_, 1);
-  this.position_++;
-  return view[0];
-};
-
-
-/**
- * @export
- * @return {number} The 16-bit integer that was read.
- */
-org.apache.flex.utils.BinaryData.prototype.readShort = function() {
-  var view;
-
-  view = new Int16Array(this.data_, this.position_, 1);
-  this.position_ += 2;
-  return view[0];
-};
-
-
-/**
- * @export
- * @return {number} The 32-bit integer that was read.
- */
-org.apache.flex.utils.BinaryData.prototype.readInteger = function() {
-  var view;
-
-  view = new Int32Array(this.data_, this.position_, 1);
-  this.position_ += 4;
-  return view[0];
-};
-
-
-/**
- * @export
- * @return {number} The 32-bit unsigned integer that was read.
- */
-org.apache.flex.utils.BinaryData.prototype.readUnsignedInteger =
-    function() {
-  var view;
-
-  view = new Uint32Array(this.data_, this.position_, 1);
-  this.position_ += 4;
-  return view[0];
-};
-
-
-/**
- * @export
- * @param {number} extra The number of bytes to add to the buffer.
- */
-org.apache.flex.utils.BinaryData.prototype.growBuffer = function(extra) {
-  var newBuffer, newView, view, i, n;
-
-  if (this.position_ >= this.data_.byteLength)
-  {
-    n = this.data_.byteLength;
-    newBuffer = new ArrayBuffer(n + extra);
-    newView = new Int8Array(newBuffer, 0, n);
-    view = new Int8Array(this.data_, 0, n);
-    for (i = 0; i < n; i++)
-    {
-      newView[i] = view[i];
-    }
-    this.data_ = newBuffer;
-  }
-};
-
-
-
-
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/utils/CSSContainerUtils.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/utils/CSSContainerUtils.js b/frameworks/projects/Core/js/src/org/apache/flex/utils/CSSContainerUtils.js
deleted file mode 100644
index 77eee76..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/utils/CSSContainerUtils.js
+++ /dev/null
@@ -1,83 +0,0 @@
-/**
- * Licensed 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.
- */
-
-goog.provide('org.apache.flex.utils.CSSContainerUtils');
-
-goog.require('org.apache.flex.geom.Rectangle');
-goog.require('org.apache.flex.utils.CSSUtils');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.utils.CSSContainerUtils = function() {
-};
-
-
-/**
- * @export
- * @param {Object} object The strand whose border offsets are required.
- * @return {org.apache.flex.geom.Rectangle} The four border widths.
- */
-org.apache.flex.utils.CSSContainerUtils.getBorderMetrics = function(object) {
-  var style = getComputedStyle(object.element);
-  var borderLeft = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-left-width'), object.width);
-  var borderRight = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-right-width'), object.width);
-  var borderTop = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-top-width'), object.width);
-  var borderBottom = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-bottom-width'),
-      object.width);
-  return new org.apache.flex.geom.Rectangle(borderLeft, borderTop, borderRight - borderLeft, borderBottom - borderTop);
-};
-
-
-/**
- * @export
- * @param {Object} object The strand whose padding offsets are required.
- * @return {org.apache.flex.geom.Rectangle} The four padding widths.
- */
-org.apache.flex.utils.CSSContainerUtils.getPaddingMetrics = function(object) {
-  var style = getComputedStyle(object.element);
-  var paddingLeft = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-left'), object.width);
-  var paddingRight = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-right'), object.width);
-  var paddingTop = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-top'), object.width);
-  var paddingBottom = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-bottom'), object.width);
-  return new org.apache.flex.geom.Rectangle(paddingLeft, paddingTop,
-                                            paddingRight - paddingLeft, paddingBottom - paddingTop);
-};
-
-
-/**
- * @export
- * @param {Object} object The strand whose border and padding offsets are required.
- * @return {org.apache.flex.geom.Rectangle} The four border padding widths.
- */
-org.apache.flex.utils.CSSContainerUtils.getBorderAndPaddingMetrics = function(object) {
-  var style = getComputedStyle(object.element);
-  var borderLeft = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-left-width'), object.width);
-  var borderRight = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-right-width'), object.width);
-  var borderTop = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-top-width'), object.width);
-  var borderBottom = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('border-bottom-width'),
-      object.width);
-  var paddingLeft = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-left'), object.width);
-  var paddingRight = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-right'), object.width);
-  var paddingTop = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-top'), object.width);
-  var paddingBottom = org.apache.flex.utils.CSSUtils.toNumber(style.getPropertyValue('padding-bottom'), object.width);
-  paddingLeft += borderLeft;
-  paddingRight += borderRight;
-  paddingTop += borderTop;
-  paddingBottom += borderBottom;
-  return new org.apache.flex.geom.Rectangle(paddingLeft, paddingTop,
-                                            paddingRight - paddingLeft, paddingBottom - paddingTop);
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/utils/EffectTimer.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/utils/EffectTimer.js b/frameworks/projects/Core/js/src/org/apache/flex/utils/EffectTimer.js
deleted file mode 100644
index 3175605..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/utils/EffectTimer.js
+++ /dev/null
@@ -1,94 +0,0 @@
-/**
- * Licensed 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.
- */
-
-goog.provide('org.apache.flex.utils.EffectTimer');
-
-goog.require('org.apache.flex.core.IEffectTimer');
-goog.require('org.apache.flex.core.ValuesManager');
-goog.require('org.apache.flex.events.EventDispatcher');
-goog.require('org.apache.flex.events.ValueEvent');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.events.EventDispatcher}
- * @suppress {checkTypes}
- */
-org.apache.flex.utils.EffectTimer = function() {
-  org.apache.flex.utils.EffectTimer.base(this, 'constructor');
-
-  /**
-   * @protected
-   * @type {number}
-   */
-  this.timerInterval = -1;
-
-  /**
-   * @protected
-   * @type {number}
-   */
-  this._delay = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this,
-                                                        'effectTimerInterval');
-
-};
-goog.inherits(org.apache.flex.utils.EffectTimer,
-    org.apache.flex.events.EventDispatcher);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.utils.EffectTimer.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'EffectTimer',
-               qName: 'org.apache.flex.utils.EffectTimer'}],
-        interfaces: [org.apache.flex.core.IEffectTimer] };
-
-
-/**
- * @export
- * Stops the timer.
- */
-org.apache.flex.utils.EffectTimer.prototype.stop = function() {
-  clearInterval(this.timerInterval);
-  this.timerInterval = -1;
-};
-
-
-/**
- * @export
- * Starts the timer.
- * @return {number} The start time.
- */
-org.apache.flex.utils.EffectTimer.prototype.start = function() {
-  this.timerInterval =
-      setInterval(goog.bind(this.timerHandler, this), this._delay);
-  var d = new Date();
-  return d.getTime();
-};
-
-
-/**
- * @protected
- */
-org.apache.flex.utils.EffectTimer.prototype.timerHandler =
-    function() {
-  var d = new Date();
-  this.dispatchEvent(new org.apache.flex.events.ValueEvent('update', d.getTime()));
-
-};
-
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/utils/Language.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/utils/Language.js b/frameworks/projects/Core/js/src/org/apache/flex/utils/Language.js
deleted file mode 100644
index f95b659..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/utils/Language.js
+++ /dev/null
@@ -1,316 +0,0 @@
-/**
- * Licensed 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.
- */
-
-goog.provide('org.apache.flex.utils.Language');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.utils.Language = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.utils.Language.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Language',
-                qName: 'org.apache.flex.utils.Language'}] };
-
-
-/**
- * as()
- *
- * @export
- * @param {?} leftOperand The lefthand operand of the
- *                        binary as operator in AS3.
- * @param {?} rightOperand The righthand operand of the
- *                         binary operator in AS3.
- * @param {?=} opt_coercion The cast is a coercion,
- *                          throw expception if it fails.
- * @return {?} Returns the lefthand operand if it is of the
- *             type of the righthand operand, otherwise null.
- */
-org.apache.flex.utils.Language.as = function(leftOperand, rightOperand, opt_coercion) {
-  var error, itIs, message;
-
-  opt_coercion = (opt_coercion !== undefined) ? opt_coercion : false;
-
-  itIs = org.apache.flex.utils.Language.is(leftOperand, rightOperand);
-
-  if (!itIs && opt_coercion) {
-    message = 'Type Coercion failed';
-    if (TypeError) {
-      error = new TypeError(message);
-    } else {
-      error = new Error(message);
-    }
-    throw error;
-  }
-
-  return (itIs) ? leftOperand : null;
-};
-
-
-/**
- * int()
- *
- * @export
- * @param {?} value The value to be cast.
- * @return {number}
- */
-org.apache.flex.utils.Language._int = function(value) {
-  return value >> 0;
-};
-
-
-/**
- * is()
- *
- * @export
- * @param {?} leftOperand The lefthand operand of the
- *     binary as operator in AS3.
- * @param {?} rightOperand The righthand operand of the
- *     binary operator in AS3.
- * @return {boolean}
- */
-org.apache.flex.utils.Language.is = function(leftOperand, rightOperand) {
-  var checkInterfaces, superClass;
-
-  if (leftOperand == null)
-    return false;
-
-  if (leftOperand && rightOperand == null) {
-    return false;
-  }
-
-  checkInterfaces = function(left) {
-    var i, interfaces;
-
-    interfaces = left.FLEXJS_CLASS_INFO.interfaces;
-    for (i = interfaces.length - 1; i > -1; i--) {
-      if (interfaces[i] === rightOperand) {
-        return true;
-      }
-
-      if (interfaces[i].prototype.FLEXJS_CLASS_INFO.interfaces) {
-        var isit = checkInterfaces(new interfaces[i]());
-        if (isit) return true;
-      }
-    }
-
-    return false;
-  };
-
-  if ((rightOperand === String && typeof leftOperand === 'string') ||
-      (leftOperand instanceof /** @type {Object} */(rightOperand))) {
-    return true;
-  }
-  if (typeof leftOperand === 'string')
-    return false; // right was not String otherwise exit above
-  if (typeof leftOperand === 'number')
-    return rightOperand === Number;
-  if (rightOperand === Array && Array.isArray(leftOperand))
-    return true;
-  if (leftOperand.FLEXJS_CLASS_INFO === undefined)
-    return false; // could be a function but not an instance
-  if (leftOperand.FLEXJS_CLASS_INFO.interfaces) {
-    if (checkInterfaces(leftOperand)) {
-      return true;
-    }
-  }
-
-  superClass = leftOperand.constructor.superClass_;
-  if (superClass) {
-    while (superClass && superClass.FLEXJS_CLASS_INFO) {
-      if (superClass.FLEXJS_CLASS_INFO.interfaces) {
-        if (checkInterfaces(superClass)) {
-          return true;
-        }
-      }
-      superClass = superClass.constructor.superClass_;
-    }
-  }
-
-  return false;
-};
-
-
-/**
- * trace()
- *
- * @export
- * @param {...Object} var_args The message(s) to be written to the console.
- */
-org.apache.flex.utils.Language.trace = function(var_args) {
-  var theConsole;
-
-  var msg = '';
-  for (var i = 0; i < arguments.length; i++) {
-    if (i > 0) msg += ' ';
-    msg += arguments[i];
-  }
-
-  theConsole = goog.global.console;
-
-  if (theConsole === undefined && window.console !== undefined)
-    theConsole = window.console;
-
-  try {
-    if (theConsole && theConsole.log) {
-      theConsole.log(msg);
-    }
-  } catch (e) {
-    // ignore; at least we tried ;-)
-  }
-};
-
-
-/**
- * uint()
- *
- * @export
- * @param {?} value The value to be cast.
- * @return {number}
- */
-org.apache.flex.utils.Language.uint = function(value) {
-  return value >>> 0;
-};
-
-
-/**
- * preincrement handles --foo
- *
- * @export
- * @param {Object} obj The object with the getter/setter.
- * @param {string} prop The name of a property.
- * @return {number}
- */
-org.apache.flex.utils.Language.preincrement = function(obj, prop) {
-  var value = obj[prop] + 1;
-  obj[prop] = value;
-  return value;
-};
-
-
-/**
- * predecrement handles ++foo
- *
- * @export
- * @param {Object} obj The object with the getter/setter.
- * @param {string} prop The name of a property.
- * @return {number}
- */
-org.apache.flex.utils.Language.predecrement = function(obj, prop) {
-  var value = obj[prop] - 1;
-  obj[prop] = value;
-  return value;
-};
-
-
-/**
- * postincrement handles foo++
- *
- * @export
- * @param {Object} obj The object with the getter/setter.
- * @param {string} prop The name of a property.
- * @return {number}
- */
-org.apache.flex.utils.Language.postincrement = function(obj, prop) {
-  var value = obj[prop];
-  obj[prop] = value + 1;
-  return value;
-};
-
-
-/**
- * postdecrement handles foo++
- *
- * @export
- * @param {Object} obj The object with the getter/setter.
- * @param {string} prop The name of a property.
- * @return {number}
- */
-org.apache.flex.utils.Language.postdecrement = function(obj, prop) {
-  var value = obj[prop];
-  obj[prop] = value + 1;
-  return value;
-};
-
-
-/**
- * superGetter calls the getter on the given class' superclass.
- *
- * @export
- * @param {Object} clazz The class.
- * @param {Object} pthis The this pointer.
- * @param {string} prop The name of the getter.
- * @return {Object}
- */
-org.apache.flex.utils.Language.superGetter = function(clazz, pthis, prop) {
-  var superClass = clazz.superClass_;
-  var superdesc = Object.getOwnPropertyDescriptor(superClass, prop);
-  while (superdesc == null)
-  {
-    superClass = superClass.constructor.superClass_;
-    superdesc = Object.getOwnPropertyDescriptor(superClass, prop);
-  }
-  return superdesc.get.call(pthis);
-};
-
-
-/**
- * superSetter calls the setter on the given class' superclass.
- *
- * @export
- * @param {Object} clazz The class.
- * @param {Object} pthis The this pointer.
- * @param {string} prop The name of the getter.
- * @param {Object} value The value.
- */
-org.apache.flex.utils.Language.superSetter = function(clazz, pthis, prop, value) {
-  var superClass = clazz.superClass_;
-  var superdesc = Object.getOwnPropertyDescriptor(superClass, prop);
-  while (superdesc == null)
-  {
-    superClass = superClass.constructor.superClass_;
-    superdesc = Object.getOwnPropertyDescriptor(superClass, prop);
-  }
-  superdesc.set.apply(pthis, [value]);
-};
-
-
-/**
- * caches closures and returns the one closure
- *
- * @export
- * @param {Function} fn The method on the instance.
- * @param {Object} object The instance.
- * @param {string} boundMethodName The name to use to cache the closure.
- * @return {Function} The closure.
- */
-org.apache.flex.utils.Language.closure = function(fn, object, boundMethodName) {
-  if (object.hasOwnProperty(boundMethodName)) {
-    return object[boundMethodName];
-  }
-  var boundMethod = goog.bind(fn, object);
-  Object.defineProperty(object, boundMethodName, {
-    value: boundMethod
-  });
-  return boundMethod;
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/utils/MXMLDataInterpreter.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/utils/MXMLDataInterpreter.js b/frameworks/projects/Core/js/src/org/apache/flex/utils/MXMLDataInterpreter.js
deleted file mode 100644
index a56c912..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/utils/MXMLDataInterpreter.js
+++ /dev/null
@@ -1,412 +0,0 @@
-/**
- * Licensed 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.
- */
-
-goog.provide('org.apache.flex.utils.MXMLDataInterpreter');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.utils.MXMLDataInterpreter = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.utils.MXMLDataInterpreter.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'MXMLDataInterpreter',
-                qName: 'org.apache.flex.utils.MXMLDataInterpreter'}] };
-
-
-/**
- * @param {Object} document The MXML object.
- * @param {Array} data The data array.
- * @return {Object} The generated object.
- */
-org.apache.flex.utils.MXMLDataInterpreter.generateMXMLObject =
-    function(document, data) {
-  var assignComp, Cls, comp, generateMXMLArray, generateMXMLObject, i, id, j, m,
-      name, simple, value;
-
-  i = 0;
-  Cls = data[i++];
-  comp = new Cls();
-
-  generateMXMLArray =
-      org.apache.flex.utils.MXMLDataInterpreter.generateMXMLArray;
-  generateMXMLObject =
-      org.apache.flex.utils.MXMLDataInterpreter.generateMXMLObject;
-
-  if (comp.addBead)
-    org.apache.flex.utils.MXMLDataInterpreter.initializeStrandBasedObject(document, null, comp, data, i);
-  else {
-    m = data[i++]; // num props
-    for (j = 0; j < m; j++) {
-      name = data[i++];
-      simple = data[i++];
-      value = data[i++];
-
-      if (simple === null) {
-        value = generateMXMLArray(document, null, value);
-      } else if (simple === false) {
-        value = generateMXMLObject(document, value);
-      }
-
-      if (name === 'id') {
-        document[value] = comp;
-        id = value;
-      }
-
-      if (name == 'document' && !comp.document) {
-        comp.document = document;
-      }
-      else if (name === '_id') {
-        document[value] = comp;
-        id = value;
-      }
-      else if (name === 'id') {
-        try {
-          comp.id = value;
-        } catch (e) {}
-      }
-      else {
-        comp[name] = value;
-      }
-    }
-
-    if (typeof comp.setDocument === 'function') {
-      comp.setDocument(document, id);
-    }
-  }
-
-  return comp;
-};
-
-
-/**
- * @export
- * @param {Object} document The MXML object.
- * @param {Object} parent The parent object.
- * @param {Array} data The data array.
- * @return {Array} The generated array.
- */
-org.apache.flex.utils.MXMLDataInterpreter.generateMXMLArray =
-    function(document, parent, data) {
-  var comps = [];
-
-  var n = data.length;
-  var i = 0;
-  while (i < n) {
-    var cls = data[i++];
-    var comp = new cls();
-
-    i = org.apache.flex.utils.MXMLDataInterpreter.initializeStrandBasedObject(document, parent, comp, data, i);
-
-    comps.push(comp);
-  }
-  return comps;
-};
-
-
-/**
- * @export
- * @param {Object} document The MXML object.
- * @param {Object} parent The parent object.
- * @param {Object} comp The component being initialized.
- * @param {Array} data The data array.
- * @param {number} i The offset into data.
- * @return {number} The new offset into the data.
- */
-org.apache.flex.utils.MXMLDataInterpreter.initializeStrandBasedObject =
-    function(document, parent, comp, data, i) {
-  var bead, beadOffset, beads, children, Cls, generateMXMLArray,
-      generateMXMLObject, id, j, k, l, m, n, name, self, simple, value, dispatchBeadsAdded;
-
-  generateMXMLArray =
-      org.apache.flex.utils.MXMLDataInterpreter.generateMXMLArray;
-  generateMXMLObject =
-      org.apache.flex.utils.MXMLDataInterpreter.generateMXMLObject;
-
-  id = null;
-
-  m = data[i++]; // num props
-  if (m > 0 && data[0] === 'model') {
-    m--;
-    name = data[i++];
-    simple = data[i++];
-    value = data[i++];
-
-    if (simple === null) {
-      value = generateMXMLArray(document, parent, value);
-    } else if (simple === false) {
-      value = generateMXMLObject(document, value);
-    }
-
-    comp[name] = value;
-  }
-
-  beadOffset = i + (m - 1) * 3;
-  if (m > 0 && data[beadOffset] === 'beads') {
-    m--;
-  } else {
-    beadOffset = -1;
-  }
-
-  for (j = 0; j < m; j++) {
-    name = data[i++];
-    simple = data[i++];
-    value = data[i++];
-
-    if (simple === null) {
-      value = generateMXMLArray(document, null, value);
-    } else if (simple === false) {
-      value = generateMXMLObject(document, value);
-    }
-
-    if (name === 'id') {
-      id = value;
-      document[value] = comp;
-    }
-
-    if (name === 'document' && !comp.document) {
-      comp.document = document;
-    } else if (name === '_id') {
-      id = value; // and don't assign to comp
-    } else if (name === 'id') {
-      try {
-        comp.id = value;
-      } catch (e) {}
-    } else {
-      comp[name] = value;
-    }
-  }
-
-  if (beadOffset > -1)
-  {
-    name = data[i++];
-    simple = data[i++];
-    value = data[i++];
-
-    if (simple === null) {
-      value = generateMXMLArray(document, null, value);
-    } else if (simple === false) {
-      value = generateMXMLObject(document, value);
-    }
-    comp[name] = value;
-  }
-
-  m = data[i++]; // num styles
-  for (j = 0; j < m; j++) {
-    name = data[i++];
-    simple = data[i++];
-    value = data[i++];
-
-    if (simple === null) {
-      value = generateMXMLArray(document, null, value);
-    } else if (simple === false) {
-      value = generateMXMLObject(document, value);
-    }
-
-    if (comp.setStyle) {
-      comp.setStyle(name, value);
-    }
-  }
-
-    /*
-    m = data[i++]; // num effects
-    for (j = 0; j < m; j++)
-    {
-      name = data[i++];
-      simple = data[i++];
-      value = data[i++];
-      if (simple === null)
-        value = generateMXMLArray(document, null, value, opt_recursive);
-      else if (simple === false)
-        value = generateMXMLObject(document, value);
-      comp.setStyle(name, value);
-    }
-    */
-
-  m = data[i++]; // num events
-  for (j = 0; j < m; j++) {
-    name = data[i++];
-    value = data[i++];
-
-    comp.addEventListener(name, goog.bind(value, document));
-  }
-
-  var isContainer = (typeof comp.childrenAdded === 'function');
-
-  children = data[i++];
-  if (children && comp['setMXMLDescriptor']) {
-    comp['setMXMLDescriptor'](document, children);
-  }
-  if (parent && org.apache.flex.utils.Language.is(comp,
-      org.apache.flex.core.IUIBase)) {
-    parent.addElement(comp, !isContainer);
-  }
-
-  if (children) {
-    if (!comp['setMXMLDescriptor']) {
-      self = org.apache.flex.utils.MXMLDataInterpreter;
-      self.generateMXMLInstances(
-            document, comp, children);
-      if (isContainer)
-        comp['childrenAdded']();
-    }
-  }
-
-  if (id) {
-    document[id] = comp;
-  }
-
-  if (typeof(comp.setDocument) === 'function') {
-    comp.setDocument(document, id);
-  }
-
-  if (goog.isFunction(comp.finalizeElement)) {
-    comp.finalizeElement();
-  }
-
-  return i;
-};
-
-
-/**
- * @export
- * @param {Object} document The MXML object.
- * @param {Object} parent The parent object.
- * @param {Array} data The data array.
- */
-org.apache.flex.utils.MXMLDataInterpreter.generateMXMLInstances =
-    function(document, parent, data) {
-  if (data) {
-    org.apache.flex.utils.MXMLDataInterpreter.generateMXMLArray(
-        document, parent, data);
-  }
-};
-
-
-/**
- * @export
- * @param {Object} host The MXML object.
- * @param {Array} data The data array.
- */
-org.apache.flex.utils.MXMLDataInterpreter.generateMXMLProperties =
-    function(host, data) {
-  var bead, beadOffset, beads, generateMXMLArray, generateMXMLObject, i, id, j,
-      k, l, m, name, simple, value;
-
-  if (!data) {
-    return;
-  }
-
-  i = 0;
-  id = null;
-
-  generateMXMLArray =
-      org.apache.flex.utils.MXMLDataInterpreter.generateMXMLArray;
-  generateMXMLObject =
-      org.apache.flex.utils.MXMLDataInterpreter.generateMXMLObject;
-
-  m = data[i++]; // num props
-  beadOffset = i + (m - 1) * 3;
-  if (m > 0 && data[beadOffset] === 'beads') {
-    m--;
-  } else {
-    beadOffset = -1;
-  }
-
-  for (j = 0; j < m; j++) {
-    name = data[i++];
-    simple = data[i++];
-    value = data[i++];
-
-    if (simple === null) {
-      value = generateMXMLArray(host, null, value);
-    } else if (simple === false) {
-      value = generateMXMLObject(host, value);
-    }
-
-    if (name === 'id') {
-      id = value;
-    }
-
-    if (name === '_id') {
-      id = value; // and don't assign
-    } else {
-      host[name] = value;
-    }
-  }
-
-  if (beadOffset > -1) {
-    name = data[i++];
-    simple = data[i++];
-    value = data[i++];
-
-    if (simple === null) {
-      value = generateMXMLArray(host, null, value);
-    } else if (simple === false) {
-      value = generateMXMLObject(host, value);
-    }
-
-    beads = value;
-    l = beads.length;
-    for (k = 0; k < l; k++) {
-      bead = beads[k];
-      host.addBead(bead);
-    }
-  }
-
-  m = data[i++]; // num styles
-  for (j = 0; j < m; j++) {
-    name = data[i++];
-    simple = data[i++];
-    value = data[i++];
-
-    if (simple === null) {
-      value = generateMXMLArray(host, null, value);
-    } else if (simple === false) {
-      value = generateMXMLObject(host, value);
-    }
-
-    host[name] = value;
-  }
-
-  /*
-        m = data[i++]; // num effects
-        for (j = 0; j < m; j++)
-        {
-            name = data[i++];
-            simple = data[i++];
-            value = data[i++];
-            if (simple === null)
-                value = generateMXMLArray(host, null, value, false);
-            else if (simple === false)
-                value = generateMXMLObject(host, value);
-            host[name] = value;
-        }
-      */
-
-  m = data[i++]; // num events
-  for (j = 0; j < m; j++) {
-    name = data[i++];
-    value = data[i++];
-    host.addEventListener(name, goog.bind(value, host));
-  }
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/utils/MixinManager.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/utils/MixinManager.js b/frameworks/projects/Core/js/src/org/apache/flex/utils/MixinManager.js
deleted file mode 100644
index 7dd8764..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/utils/MixinManager.js
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
- * Licensed 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.
- */
-
-goog.provide('org.apache.flex.utils.MixinManager');
-
-goog.require('org.apache.flex.core.IBead');
-
-
-
-/**
- * @constructor
- * @implements {org.apache.flex.core.IBead}
- * Initialize mixins.
- * Compiler may not be generating list of mixins right now.
- */
-org.apache.flex.utils.MixinManager = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.utils.MixinManager.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'MixinManager',
-                qName: 'org.apache.flex.utils.MixinManager'}],
-     interfaces: [org.apache.flex.core.IBead]};
-
-
-Object.defineProperties(org.apache.flex.utils.MixinManager.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.utils.MixinManager} */
-        set: function(value) {
-            this.strand_ = value;
-
-            if (value) {
-              if (typeof(value.info) == 'function') {
-                var mixins = value.info()['mixins'];
-                if (mixins) {
-                  var n = mixins.length;
-                  for (var i = 0; i < n; i++) {
-                    mixins[i].init(value);
-                  }
-                }
-              }
-            }
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/utils/PointUtils.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/utils/PointUtils.js b/frameworks/projects/Core/js/src/org/apache/flex/utils/PointUtils.js
deleted file mode 100644
index 2ed13ff..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/utils/PointUtils.js
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
- * Licensed 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.
- */
-
-goog.provide('org.apache.flex.utils.PointUtils');
-
-goog.require('org.apache.flex.geom.Point');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.utils.PointUtils = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.utils.PointUtils.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'PointUtils',
-                qName: 'org.apache.flex.utils.PointUtils' }] };
-
-
-/**
- * @export
- * @param {org.apache.flex.geom.Point} point The Point to be converted.
- * @param {Object} local The object used as reference.
- * @return {org.apache.flex.geom.Point} The converted Point.
- */
-org.apache.flex.utils.PointUtils.globalToLocal =
-    function(point, local) {
-  var x = point.x, y = point.y;
-  var element = local.element;
-
-  do {
-    x -= element.offsetLeft;
-    y -= element.offsetTop;
-    if (local.hasOwnProperty('parent')) {
-      local = local.parent;
-      element = local.element;
-    } else {
-      element = null;
-    }
-  }
-  while (element);
-  return new org.apache.flex.geom.Point(x, y);
-};
-
-
-/**
- * @export
- * @param {org.apache.flex.geom.Point} point The Point to be converted.
- * @param {Object} local The object used as reference.
- * @return {org.apache.flex.geom.Point} The converted Point.
- */
-org.apache.flex.utils.PointUtils.localToGlobal =
-    function(point, local) {
-  var x = point.x, y = point.y;
-  var element = local.element;
-
-  do {
-    x += element.offsetLeft;
-    y += element.offsetTop;
-    element = element.offsetParent;
-  }
-  while (element);
-  return new org.apache.flex.geom.Point(x, y);
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/utils/Timer.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/utils/Timer.js b/frameworks/projects/Core/js/src/org/apache/flex/utils/Timer.js
deleted file mode 100644
index 4c3936f..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/utils/Timer.js
+++ /dev/null
@@ -1,148 +0,0 @@
-/**
- * Licensed 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.
- */
-
-goog.provide('org.apache.flex.utils.Timer');
-
-goog.require('org.apache.flex.events.Event');
-goog.require('org.apache.flex.events.EventDispatcher');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.events.EventDispatcher}
- * @param {number} delay The delay.
- * @param {number=} opt_repeatCount The repeatCount.
- */
-org.apache.flex.utils.Timer = function(delay, opt_repeatCount) {
-  org.apache.flex.utils.Timer.base(this, 'constructor');
-
-  if (opt_repeatCount !== undefined) {
-    this._repeatCount = opt_repeatCount;
-  }
-
-  /**
-   * @protected
-   * @type {number}
-   */
-  this.timerInterval = -1;
-
-  /**
-   * @protected
-   * @type {number}
-   */
-  this._delay = delay;
-
-  /**
-   * @protected
-   * @type {number}
-   */
-  this._currentCount = 0;
-};
-goog.inherits(org.apache.flex.utils.Timer,
-    org.apache.flex.events.EventDispatcher);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.utils.Timer.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Timer',
-                qName: 'org.apache.flex.utils.Timer'}] };
-
-
-/**
- * @export
- * Stops the timer and sets currentCount = 0.
- */
-org.apache.flex.utils.Timer.prototype.reset = function() {
-  this.stop();
-  this._currentCount = 0;
-};
-
-
-/**
- * @export
- * Stops the timer.
- */
-org.apache.flex.utils.Timer.prototype.stop = function() {
-  clearInterval(this.timerInterval);
-  this.timerInterval = -1;
-};
-
-
-/**
- * @export
- * Starts the timer.
- */
-org.apache.flex.utils.Timer.prototype.start = function() {
-  this.timerInterval =
-      setInterval(goog.bind(this.timerHandler, this), this._delay);
-};
-
-
-/**
- * @protected
- */
-org.apache.flex.utils.Timer.prototype.timerHandler =
-    function() {
-  this._currentCount++;
-  if (this._repeatCount > 0 && this._currentCount >= this._repeatCount) {
-    this.stop();
-  }
-
-  this.dispatchEvent(new org.apache.flex.events.Event('timer'));
-
-};
-
-Object.defineProperties(org.apache.flex.utils.Timer.prototype, {
-    /** @export */
-    currentCount: {
-        /** @this {org.apache.flex.utils.Timer} */
-        get: function() {
-            return this._currentCount;
-        }
-    },
-    /** @export */
-    running: {
-        /** @this {org.apache.flex.utils.Timer} */
-        get: function() {
-            return this.timerInterval !== -1;
-        }
-    },
-    /** @export */
-    delay: {
-        /** @this {org.apache.flex.utils.Timer} */
-        get: function() {
-            return this._delay;
-        },
-        /** @this {org.apache.flex.utils.Timer} */
-        set: function(value) {
-            this._delay = value;
-        }
-    },
-    /** @export */
-    repeatCount: {
-        /** @this {org.apache.flex.utils.Timer} */
-        get: function() {
-            return this._repeatCount;
-        },
-        /** @this {org.apache.flex.utils.Timer} */
-        set: function(value) {
-            this._repeatCount = value;
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/utils/UIUtils.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/utils/UIUtils.js b/frameworks/projects/Core/js/src/org/apache/flex/utils/UIUtils.js
deleted file mode 100644
index 93ee622..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/utils/UIUtils.js
+++ /dev/null
@@ -1,84 +0,0 @@
-/**
- * Licensed 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.
- */
-
-goog.provide('org.apache.flex.utils.UIUtils');
-
-goog.require('org.apache.flex.core.IPopUpHost');
-goog.require('org.apache.flex.utils.Language');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.utils.UIUtils = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.utils.UIUtils.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'UIUtils',
-                qName: 'org.apache.flex.utils.UIUtils' }] };
-
-
-/**
- * @export
- * @param {Object} item The item to be centered.
- * @param {Object} relativeTo The object used as reference.
- */
-org.apache.flex.utils.UIUtils.center =
-    function(item, relativeTo) {
-
-  var rw = relativeTo.width;
-  if (isNaN(rw)) rw = window.innerWidth;
-  var rh = relativeTo.height;
-  if (isNaN(rh)) rh = window.innerHeight;
-
-  var xpos = (rw - item.width) / 2;
-  var ypos = (rh - item.height) / 2;
-  item.x = xpos;
-  item.y = ypos;
-};
-
-
-/**
- * @export
- * @param {Object} start A component to start the search.
- * @return {Object} A component that implements IPopUpHost.
- */
-org.apache.flex.utils.UIUtils.findPopUpHost =
-    function(start) {
-
-  while (start != null && !org.apache.flex.utils.Language.is(start, org.apache.flex.core.IPopUpHost)) {
-    start = start.parent;
-  }
-
-  return start;
-};
-
-
-/**
- * @export
- * @param {Object} popUp An IPopUpHost component looking to be removed.
- */
-org.apache.flex.utils.UIUtils.removePopUp =
-    function(popUp) {
-
-  var p = popUp.parent;
-  p.removeElement(popUp);
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Core/js/src/org/apache/flex/utils/ViewSourceContextMenuOption.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/utils/ViewSourceContextMenuOption.js b/frameworks/projects/Core/js/src/org/apache/flex/utils/ViewSourceContextMenuOption.js
deleted file mode 100644
index 934979d..0000000
--- a/frameworks/projects/Core/js/src/org/apache/flex/utils/ViewSourceContextMenuOption.js
+++ /dev/null
@@ -1,47 +0,0 @@
-/**
- * Licensed 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.
- */
-
-goog.provide('org.apache.flex.utils.ViewSourceContextMenuOption');
-
-goog.require('org.apache.flex.events.EventDispatcher');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.events.EventDispatcher}
- */
-org.apache.flex.utils.ViewSourceContextMenuOption = function() {
-  // no implementation in JS since ViewSource is already in menu
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.utils.ViewSourceContextMenuOption.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ViewSourceContextMenuOption',
-                qName: 'org.apache.flex.utils.ViewSourceContextMenuOption'}] };
-
-
-Object.defineProperties(org.apache.flex.utils.ViewSourceContextMenuOption.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.utils.ViewSourceContextMenuOption} */
-        set: function(value) {}
-    }
-});
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/DragDrop/js/src/org/apache/flex/events/DragEvent.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/js/src/org/apache/flex/events/DragEvent.js b/frameworks/projects/DragDrop/js/src/org/apache/flex/events/DragEvent.js
deleted file mode 100644
index b0deee6..0000000
--- a/frameworks/projects/DragDrop/js/src/org/apache/flex/events/DragEvent.js
+++ /dev/null
@@ -1,146 +0,0 @@
-/**
- * Licensed 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.
- */
-
-goog.provide('org.apache.flex.events.DragEvent');
-
-goog.require('goog.events.BrowserEvent');
-goog.require('org.apache.flex.events.ElementEvents');
-goog.require('org.apache.flex.events.EventDispatcher');
-
-
-
-/**
- * @constructor
- * This is a shim class.  A native MouseEvent is actually
- * sent with additional properties like dragInitiator and
- * dragSource tacked on.
- *
- * @extends {goog.events.BrowserEvent}
- * @param {string} type The event type.
- */
-org.apache.flex.events.DragEvent = function(type) {
-  org.apache.flex.events.DragEvent.base(this, 'constructor');
-
-  this.type = type;
-};
-goog.inherits(org.apache.flex.events.DragEvent,
-    goog.events.BrowserEvent);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.events.DragEvent.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'DragEvent',
-                qName: 'org.apache.flex.events.DragEvent'}] };
-
-
-/**
- * @export
- * @param {string} type The event type.
- * @param {Event} e The mouse event to base the DragEvent on.
- * @return {MouseEvent} The new event.
- */
-org.apache.flex.events.DragEvent.createDragEvent =
-    function(type, e) {
-  var out = new MouseEvent(type);
-  out.initMouseEvent(type, true, true,
-    e.view, e.detail, e.screenX, e.screenY,
-    e.clientX, e.clientY, e.ctrlKey, e.altKey,
-    e.shiftKey, e.metaKey, e.button, e.relatedTarget);
-  return out;
-};
-
-
-/**
- * @export
- * @param {Event} event The drag event.
- * @param {Object} target The target for the event.
- */
-org.apache.flex.events.DragEvent.dispatchDragEvent =
-    function(event, target) {
-  target.element.dispatchEvent(event);
-};
-
-
-/**
- * @export
- * @type {string} DRAG_START The event type for starting drag-drop.
- */
-org.apache.flex.events.DragEvent.DRAG_START = 'dragStart';
-
-
-/**
- * @export
- * @type {string} DRAG_MOVE The event type when moving mouse during drag-drop.
- */
-org.apache.flex.events.DragEvent.DRAG_MOVE = 'dragMove';
-
-
-/**
- * @export
- * @type {string} DRAG_END The event type for ending drag-drop.
- */
-org.apache.flex.events.DragEvent.DRAG_END = 'dragEnd';
-
-
-/**
- * @export
- * @type {string} DRAG_ENTER The event type for entering a potential drop target.
- */
-org.apache.flex.events.DragEvent.DRAG_ENTER = 'dragEnter';
-
-
-/**
- * @export
- * @type {string} DRAG_OVER The event type for moving over a potential drop target.
- */
-org.apache.flex.events.DragEvent.DRAG_OVER = 'dragOver';
-
-
-/**
- * @export
- * @type {string} DRAG_EXIT The event type for leaving a potential drop target.
- */
-org.apache.flex.events.DragEvent.DRAG_EXIT = 'dragExit';
-
-
-/**
- * @export
- * @type {string} DRAG_DROP The event type for dropping on a target.
- */
-org.apache.flex.events.DragEvent.DRAG_DROP = 'dragDrop';
-
-
-/**
- * @return {boolean}
- */
-org.apache.flex.events.DragEvent.installDragEventMixin = function() {
-  var o = org.apache.flex.events.ElementEvents.elementEvents;
-  o['dragEnd'] = 1;
-  o['dragMove'] = 1;
-  return true;
-};
-
-
-/**
- * Add some other events to listen from the element
- */
-/**
- * @type {boolean}
- */
-org.apache.flex.events.DragEvent.dragEventMixin =
-    org.apache.flex.events.DragEvent.installDragEventMixin();

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Effects/js/src/org/apache/flex/effects/PlatformWiper.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/js/src/org/apache/flex/effects/PlatformWiper.js b/frameworks/projects/Effects/js/src/org/apache/flex/effects/PlatformWiper.js
deleted file mode 100644
index 468397b..0000000
--- a/frameworks/projects/Effects/js/src/org/apache/flex/effects/PlatformWiper.js
+++ /dev/null
@@ -1,85 +0,0 @@
-/**
- * Licensed 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.
- */
-
-goog.provide('org.apache.flex.effects.PlatformWiper');
-
-goog.require('org.apache.flex.geom.Rectangle');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.effects.PlatformWiper = function() {
-
-  /**
-   * @private
-   * @type {Object}
-   */
-  this.target_ = null;
-
-
-  /**
-   * @private
-   * @type {Object}
-   */
-  this.overflow_ = null;
-
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.effects.PlatformWiper.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'PlatformWiper',
-                qName: 'org.apache.flex.effects.PlatformWiper'}] };
-
-
-Object.defineProperties(org.apache.flex.effects.PlatformWiper.prototype, {
-    /** @export */
-    target: {
-        /** @this {org.apache.flex.effects.PlatformWiper} */
-        set: function(target) {
-            if (target == null) {
-              if (this.overflow_ == null)
-                delete this.target_.positioner.style.overflow;
-              else
-                this.target_.positioner.style.overflow = this.overflow_;
-            }
-            this.target_ = target;
-            if (target != null) {
-              this.overflow_ = this.target_.positioner.style.overflow;
-            }
-        }
-    },
-    /** @export */
-    visibleRect: {
-        /** @this {org.apache.flex.effects.PlatformWiper} */
-        set: function(rect) {
-            /*
-            var styleString = 'rect(';
-            styleString += rect.top.toString() + 'px,';
-            styleString += rect.width.toString() + 'px,';
-            styleString += rect.height.toString() + 'px,';
-            styleString += rect.left.toString() + 'px)';
-            this.target_.positioner.style.clip = styleString;
-            */
-            this.target_.positioner.style.height = rect.height.toString() + 'px';
-            this.target_.positioner.style.overflow = 'hidden';
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Circle.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Circle.js b/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Circle.js
deleted file mode 100644
index f101851..0000000
--- a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Circle.js
+++ /dev/null
@@ -1,101 +0,0 @@
-/**
- * Licensed 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.
- */
-
-goog.provide('org.apache.flex.core.graphics.Circle');
-
-goog.require('org.apache.flex.core.graphics.GraphicShape');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.graphics.GraphicShape}
- */
-org.apache.flex.core.graphics.Circle = function() {
-  org.apache.flex.core.graphics.Circle.base(this, 'constructor');
-
-   /**
-   * @private
-   * @type {number}
-   */
-  this.radius_ = 0;
-};
-goog.inherits(org.apache.flex.core.graphics.Circle,
-    org.apache.flex.core.graphics.GraphicShape);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.graphics.Circle.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Circle',
-                qName: 'org.apache.flex.core.graphics.Circle' }] };
-
-
-
-Object.defineProperties(org.apache.flex.core.graphics.Circle.prototype, {
-    /** @export */
-    radius: {
-        /** @this {org.apache.flex.core.graphics.Circle} */
-        set: function(v) {
-            this.radius_ = v;
-        },
-        /** @this {org.apache.flex.core.graphics.Circle} */
-        get: function() {
-            return this.radius_;
-        }
-    }
-});
-
-
-/**
- * @export
- * @param {number} x The x location of the center of the circle.
- * @param {number} y The y location of the center of the circle.
- * @param {number} radius The radius of the circle.
- */
-org.apache.flex.core.graphics.Circle.prototype.drawCircle = function(x, y, radius) {
-    var style = this.getStyleStr();
-    var circle = document.createElementNS('http://www.w3.org/2000/svg', 'ellipse');
-    circle.flexjs_wrapper = this;
-    circle.setAttribute('style', style);
-    if (this.stroke)
-    {
-      circle.setAttribute('cx', String(radius + this.stroke.weight));
-      circle.setAttribute('cy', String(radius + this.stroke.weight));
-      this.setPosition(x - radius, y - radius, this.stroke.weight, this.stroke.weight);
-    }
-    else
-    {
-      circle.setAttribute('cx', String(radius));
-      circle.setAttribute('cy', String(radius));
-      this.setPosition(x - radius, y - radius, 0, 0);
-    }
-
-    circle.setAttribute('rx', String(radius));
-    circle.setAttribute('ry', String(radius));
-    this.element.appendChild(circle);
-
-    this.resize(x, y, circle.getBBox());
-  };
-
-
-/**
- * @override
- */
-org.apache.flex.core.graphics.Circle.prototype.draw = function() {
-    this.drawCircle(this.x, this.y, this.radius);
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Ellipse.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Ellipse.js b/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Ellipse.js
deleted file mode 100644
index e2337a2..0000000
--- a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/Ellipse.js
+++ /dev/null
@@ -1,80 +0,0 @@
-/**
- * Licensed 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.
- */
-
-goog.provide('org.apache.flex.core.graphics.Ellipse');
-
-goog.require('org.apache.flex.core.graphics.GraphicShape');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.graphics.GraphicShape}
- */
-org.apache.flex.core.graphics.Ellipse = function() {
-  org.apache.flex.core.graphics.Ellipse.base(this, 'constructor');
-
-};
-goog.inherits(org.apache.flex.core.graphics.Ellipse,
-    org.apache.flex.core.graphics.GraphicShape);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.graphics.Ellipse.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'Ellipse',
-                qName: 'org.apache.flex.core.graphics.Ellipse' }] };
-
-
-/**
- * @export
- * @param {number} x The x position of the top-left corner of the bounding box of the ellipse.
- * @param {number} y The y position of the top-left corner of the bounding box of the ellipse.
- * @param {number} width The width of the ellipse.
- * @param {number} height The height of the ellipse.
- */
-org.apache.flex.core.graphics.Ellipse.prototype.drawEllipse = function(x, y, width, height) {
-    var style = this.getStyleStr();
-    var ellipse = document.createElementNS('http://www.w3.org/2000/svg', 'ellipse');
-    ellipse.flexjs_wrapper = this;
-    ellipse.setAttribute('style', style);
-    if (this.stroke)
-    {
-      ellipse.setAttribute('cx', String(width / 2 + this.stroke.weight));
-      ellipse.setAttribute('cy', String(height / 2 + this.stroke.weight));
-      this.setPosition(x, y, this.stroke.weight * 2, this.stroke.weight * 2);
-    }
-    else
-    {
-      ellipse.setAttribute('cx', String(width / 2));
-      ellipse.setAttribute('cy', String(height / 2));
-      this.setPosition(x, y, 0, 0);
-    }
-    ellipse.setAttribute('rx', String(width / 2));
-    ellipse.setAttribute('ry', String(height / 2));
-    this.element.appendChild(ellipse);
-
-    this.resize(x, y, ellipse.getBBox());
-  };
-
-
-/**
- * @override
-*/
-org.apache.flex.core.graphics.Ellipse.prototype.draw = function() {
-    this.drawEllipse(this.x, this.y, this.width, this.height);
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GradientBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GradientBase.js b/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GradientBase.js
deleted file mode 100644
index 12383e6..0000000
--- a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GradientBase.js
+++ /dev/null
@@ -1,141 +0,0 @@
-/**
- * Licensed 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.
- */
-
-/**
- * org.apache.flex.core.graphics.GradientBase
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.graphics.GradientBase');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.core.graphics.GradientBase = function() {
-};
-
-
-/**
- * @protected
- * @type {Array}
- */
-org.apache.flex.core.graphics.GradientBase.prototype.colors = [];
-
-
-/**
- * @protected
- * @type {Array}
- */
-org.apache.flex.core.graphics.GradientBase.prototype.ratios = [];
-
-
-/**
- * @protected
- * @type {Array}
- */
-org.apache.flex.core.graphics.GradientBase.prototype.alphas = [];
-
-
-/**
- * @type {Array}
- */
-org.apache.flex.core.graphics.GradientBase.prototype._entries = [];
-
-
-/**
- * @type {number}
- */
-org.apache.flex.core.graphics.GradientBase.prototype._rotation = 0.0;
-
-
-Object.defineProperties(org.apache.flex.core.graphics.GradientBase.prototype, {
-    /** @export */
-    entries: {
-        /** @this {org.apache.flex.core.graphics.GradientBase} */
-        get: function() {
-            return this._entries;
-        },
-        /** @this {org.apache.flex.core.graphics.GradientBase} */
-        set: function(value) {
-            this._entries = value;
-        }
-    },
-    /** @export */
-    rotation: {
-        /** @this {org.apache.flex.core.graphics.GradientBase} */
-        get: function() {
-            return this._rotation;
-        },
-        /** @this {org.apache.flex.core.graphics.GradientBase} */
-        set: function(value) {
-            this._rotation = value;
-        }
-    },
-    /** @export */
-    x: {
-        /** @this {org.apache.flex.core.graphics.GradientBase} */
-        get: function() {
-            return this._x;
-        },
-        /** @this {org.apache.flex.core.graphics.GradientBase} */
-        set: function(value) {
-            this._x = value;
-        }
-    },
-    /** @export */
-    y: {
-        /** @this {org.apache.flex.core.graphics.GradientBase} */
-        set: function(value) {
-            this._y = value;
-        },
-        /** @this {org.apache.flex.core.graphics.GradientBase} */
-        get: function() {
-            return this._y;
-        }
-    },
-    /** @export */
-    newId: {
-        /** @this {org.apache.flex.core.graphics.GradientBase} */
-        get: function() {
-            return 'gradient' + String(Math.floor((Math.random() * 100000) + 1));
-        }
-    }
-});
-
-
-/**
- * @type {number}
- */
-org.apache.flex.core.graphics.GradientBase.prototype._x = 0;
-
-
-/**
- * @type {number}
- */
-org.apache.flex.core.graphics.GradientBase.prototype._y = 0;
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.graphics.GradientBase.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'GradientBase', qName: 'org.apache.flex.core.graphics.GradientBase'}]
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GradientEntry.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GradientEntry.js b/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GradientEntry.js
deleted file mode 100644
index 6b68af2..0000000
--- a/frameworks/projects/Graphics/js/src/org/apache/flex/core/graphics/GradientEntry.js
+++ /dev/null
@@ -1,126 +0,0 @@
-/**
- * Licensed 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.
- */
-
-/**
- * org.apache.flex.core.graphics.GradientEntry
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.core.graphics.GradientEntry');
-
-
-
-/**
- * @constructor
- * @param {number} alpha
- * @param {number} color
- * @param {number} ratio
- */
-org.apache.flex.core.graphics.GradientEntry = function(alpha, color, ratio) {
-  this._alpha = alpha;
-  this._color = color;
-  this._ratio = ratio;
-};
-
-
-/**
- * @type {number}
- */
-org.apache.flex.core.graphics.GradientEntry.prototype._alpha = 1.0;
-
-
-/**
- * @type {number}
- */
-org.apache.flex.core.graphics.GradientEntry.prototype._color = 0x000000;
-
-
-/**
- * @type {number}
- */
-org.apache.flex.core.graphics.GradientEntry.prototype._ratio = 0x000000;
-
-
-Object.defineProperties(org.apache.flex.core.graphics.GradientEntry.prototype, {
-    /** @export */
-    alpha: {
-        /** @this {org.apache.flex.core.graphics.GradientEntry} */
-        get: function() {
-            return this._alpha;
-        },
-        /** @this {org.apache.flex.core.graphics.GradientEntry} */
-        set: function(value) {
-            var /** @type {number} */ oldValue = this._alpha;
-            if (value != oldValue) {
-                this._alpha = value;
-            }
-        }
-    },
-    /** @export */
-    color: {
-        /** @this {org.apache.flex.core.graphics.GradientEntry} */
-        get: function() {
-            return this._color;
-        },
-        /** @this {org.apache.flex.core.graphics.GradientEntry} */
-        set: function(value) {
-            var /** @type {number} */ oldValue = this._color;
-            if (value != oldValue) {
-              this._color = value;
-            }
-        }
-    },
-    /** @export */
-    ratio: {
-        /** @this {org.apache.flex.core.graphics.GradientEntry} */
-        get: function() {
-            return this._ratio;
-        },
-        /** @this {org.apache.flex.core.graphics.GradientEntry} */
-        set: function(value) {
-            this._ratio = value;
-        }
-    }
-});
-
-
-/**
- * @export
- * @param {org.apache.flex.core.graphics.GraphicShape} s
- */
-org.apache.flex.core.graphics.GradientEntry.prototype.begin = function(s) {
-  s.graphics.beginFill(this.color, this.alpha);
-};
-
-
-/**
- * @export
- * @param {org.apache.flex.core.graphics.GraphicShape} s
- */
-org.apache.flex.core.graphics.GradientEntry.prototype.end = function(s) {
-  s.graphics.endFill();
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.core.graphics.GradientEntry.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'GradientEntry', qName: 'org.apache.flex.core.graphics.GradientEntry'}]
-  };