flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject [1/2] git commit: [flex-asjs] [refs/heads/develop] - Removing FlexJSTest as it is no longer relevant.
Date Thu, 07 Nov 2013 17:02:26 GMT
Updated Branches:
  refs/heads/develop b4fe6ab21 -> 4b17f61ce


Removing FlexJSTest as it is no longer relevant.


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

Branch: refs/heads/develop
Commit: f368228abcb08f49ba750ff51c29e131568a0d1d
Parents: b4fe6ab
Author: Peter Ent <pent@apache.org>
Authored: Thu Nov 7 11:32:37 2013 -0500
Committer: Peter Ent <pent@apache.org>
Committed: Thu Nov 7 11:32:37 2013 -0500

----------------------------------------------------------------------
 examples/FlexJSTest/FlexJSTest.as               |   21 -
 examples/FlexJSTest/FlexJSTest.js               |   97 --
 examples/FlexJSTest/MyController.js             |  116 --
 examples/FlexJSTest/MyInitialView.as            |   51 -
 examples/FlexJSTest/MyInitialView.js            |  116 --
 examples/FlexJSTest/MyModel.js                  |  117 --
 examples/FlexJSTest/MySimpleValuesImpl.as       |   24 -
 examples/FlexJSTest/MySimpleValuesImpl.js       |   78 --
 examples/FlexJSTest/controllers/MyController.as |   25 -
 examples/FlexJSTest/index.html                  |   20 -
 examples/FlexJSTest/js/adobe.js                 |  103 --
 examples/FlexJSTest/js/framework.js             | 1030 ------------------
 examples/FlexJSTest/models/MyModel.as           |   28 -
 13 files changed, 1826 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f368228a/examples/FlexJSTest/FlexJSTest.as
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest/FlexJSTest.as b/examples/FlexJSTest/FlexJSTest.as
deleted file mode 100644
index 2dbec73..0000000
--- a/examples/FlexJSTest/FlexJSTest.as
+++ /dev/null
@@ -1,21 +0,0 @@
-package
-{
-	import org.apache.flex.core.Application;
-	import models.MyModel;
-	import controllers.MyController;
-	
-	public class FlexJSTest extends Application
-	{
-		public function FlexJSTest()
-		{
-			valuesImplClass = MySimpleValuesImpl;
-			initialViewClass = MyInitialView;
-			model = new MyModel();
-			model.labelText = "Hello World!";
-			controller = new MyController(this);
-		}
-		
-		private var controller:MyController;
-		public var model:MyModel;
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f368228a/examples/FlexJSTest/FlexJSTest.js
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest/FlexJSTest.js b/examples/FlexJSTest/FlexJSTest.js
deleted file mode 100644
index 641a63c..0000000
--- a/examples/FlexJSTest/FlexJSTest.js
+++ /dev/null
@@ -1,97 +0,0 @@
-/** @preserve CROSS-COMPILED BY MXMLJSC (329449.1) ON 2012-11-19 11:52:57
- */
-/**
- * CROSS-COMPILED BY MXMLJSC (329449.1) ON 2012-11-19 11:52:56
- *
- * Class: FlexJSTest
- * @constructor
- * @extends org.apache.flex.core.Application
- */
-FlexJSTest = adobe.extend( "FlexJSTest", org.apache.flex.core.Application, {
-
-	// Constructor
-	
-
-	/**
-	 * Constructor: FlexJSTest()
-	 * @constructor
-	 */
-	init : function()
-	{
-		/** @type {FlexJSTest} */
-		var self = this;
-		
-		self._super(); /* Call to super() was missing in ctor! */
-		self.valuesImplClass = MySimpleValuesImpl;
-		self.initialViewClass = MyInitialView;
-		self.model = adobe.newObject(models.MyModel, []);
-		self.model.set_labelText("Hello World!");
-		self.controller = adobe.newObject(controllers.MyController, [self]);
-		return self;
-	}
-,
-
-	/**
-	 * Member: FlexJSTest.controller
-	 * @private
-	 * @type {controllers.MyController}
-	 */
-	controller /* : MyController */ : undefined,
-
-	/**
-	 * Member: FlexJSTest.model
-	 * @type {models.MyModel}
-	 */
-	model /* : MyModel */ : undefined
-});
-
-
-/**
- * Member: FlexJSTest.prototype._CLASS
- * @const
- * @type {FlexJSTest}
- */
-FlexJSTest.prototype._CLASS = FlexJSTest;
-
-
-/**
- * Member: FlexJSTest._PACKAGE
- * @const
- * @type {FlexJSTest}
- */
-FlexJSTest._PACKAGE = adobe.globals;
-
-
-/**
- * Member: FlexJSTest._NAME
- * @const
- * @type {string}
- */
-FlexJSTest._NAME = "FlexJSTest";
-
-/**
- * Member: FlexJSTest._FULLNAME
- * @const
- * @type {string}
- */
-FlexJSTest._FULLNAME = "FlexJSTest";
-
-/**
- * Member: FlexJSTest._SUPER
- * @const
- * @type {org.apache.flex.core.Application}
- */
-FlexJSTest._SUPER = org.apache.flex.core.Application;
-
-/**
- * Member: FlexJSTest._NAMESPACES
- * @const
- * @type {Object}
- */
-FlexJSTest._NAMESPACES = {
-	"controller::7:FlexJSTest" : true,
-	"model::2" : true
-}
-
-adobe.classes["FlexJSTest"]  = FlexJSTest;
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f368228a/examples/FlexJSTest/MyController.js
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest/MyController.js b/examples/FlexJSTest/MyController.js
deleted file mode 100644
index 0d0e913..0000000
--- a/examples/FlexJSTest/MyController.js
+++ /dev/null
@@ -1,116 +0,0 @@
-/** @preserve CROSS-COMPILED BY MXMLJSC (329449.1) ON 2012-11-19 11:53:06
- */
-/**
- * CROSS-COMPILED BY MXMLJSC (329449.1) ON 2012-11-19 11:52:56
- *
- * Class: controllers.MyController
- */
-controllers.MyController = adobe.extend( "MyController", Object, {
-
-	// Constructor
-	
-
-	/**
-	 * Constructor: controllers.MyController()
-	 * @constructor
-	 * @this {controllers}
-	 * @param {FlexJSTest} app
-	 */
-	init : function(app /* : FlexJSTest */)
-	{
-		/** @type {controllers.MyController} */
-		var self = this;
-		
-		self.app = app;
-		app.addEventListener("viewChanged", adobe.createProxy(self, self.viewChangeHandler));
-		return self;
-	}
-,
-
-	/**
-	 * Member: controllers.MyController.app
-	 * @private
-	 * @type {FlexJSTest}
-	 */
-	app /* : FlexJSTest */ : undefined,
-	
-
-	/**
-	 * Method: controllers.MyController.viewChangeHandler()
-	 * @this {controllers.MyController}
-	 * @private
-	 * @param {flash.events.Event} event
-	 */
-	viewChangeHandler : function(event /* : Event */) /* : void */
-	{
-		/** @type {controllers.MyController} */
-		var self = this;
-		self.app.initialView.addEventListener("buttonClicked", adobe.createProxy(self, self.buttonClickHandler));
-	},
-	
-
-	/**
-	 * Method: controllers.MyController.buttonClickHandler()
-	 * @this {controllers.MyController}
-	 * @private
-	 * @param {flash.events.Event} event
-	 */
-	buttonClickHandler : function(event /* : Event */) /* : void */
-	{
-		/** @type {controllers.MyController} */
-		var self = this;
-		self.app.model.set_labelText("Hello Universe");
-	}
-});
-
-
-/**
- * Member: controllers.MyController.prototype._CLASS
- * @const
- * @type {controllers.MyController}
- */
-controllers.MyController.prototype._CLASS = controllers.MyController;
-
-
-/**
- * Member: controllers.MyController._PACKAGE
- * @const
- * @type {controllers}
- */
-controllers.MyController._PACKAGE = controllers;
-
-
-/**
- * Member: controllers.MyController._NAME
- * @const
- * @type {string}
- */
-controllers.MyController._NAME = "MyController";
-
-/**
- * Member: controllers.MyController._FULLNAME
- * @const
- * @type {string}
- */
-controllers.MyController._FULLNAME = "controllers.MyController";
-
-/**
- * Member: controllers.MyController._SUPER
- * @const
- * @type {Object}
- */
-controllers.MyController._SUPER = Object;
-
-/**
- * Member: controllers.MyController._NAMESPACES
- * @const
- * @type {Object}
- */
-controllers.MyController._NAMESPACES = {
-	"app::7:controllers.MyController" : true,
-	"viewChangeHandler::7:controllers.MyController" : true,
-	"buttonClickHandler::7:controllers.MyController" : true
-}
-
-adobe.classes["controllers.MyController"]  = controllers.MyController;
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f368228a/examples/FlexJSTest/MyInitialView.as
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest/MyInitialView.as b/examples/FlexJSTest/MyInitialView.as
deleted file mode 100644
index 6e7d535..0000000
--- a/examples/FlexJSTest/MyInitialView.as
+++ /dev/null
@@ -1,51 +0,0 @@
-package 
-{
-	import flash.events.Event;
-	
-	import org.apache.flex.core.ViewBase;
-	import org.apache.flex.html.staticControls.TextButton;
-	import org.apache.flex.html.staticControls.Label;
-	import org.apache.flex.html.staticControls.beads.models.TextModel;
-	
-	public class MyInitialView extends ViewBase
-	{
-		public function MyInitialView()
-		{
-			super();
-		}
-		
-		override public function get uiDescriptors():Array
-		{
-			return [
-				Label,
-				null,
-				"lbl",
-				2,
-				"x", 100,
-				"y", 25,
-				0,
-				0,
-				1, 
-				"text", 0, "model", "labelText", "labelTextChanged",
-				TextButton,
-				null,
-				null,
-				3,
-				"text", "OK",
-				"x", 100,
-				"y", 75,
-				0,
-				1,
-				"click", clickHandler,
-				0
-				];
-		}
-		
-		public var lbl:Label;
-		
-		private function clickHandler(event:Event):void
-		{
-			dispatchEvent(new Event("buttonClicked"));
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f368228a/examples/FlexJSTest/MyInitialView.js
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest/MyInitialView.js b/examples/FlexJSTest/MyInitialView.js
deleted file mode 100644
index 7f3e6b9..0000000
--- a/examples/FlexJSTest/MyInitialView.js
+++ /dev/null
@@ -1,116 +0,0 @@
-/** @preserve CROSS-COMPILED BY MXMLJSC (329449.1) ON 2012-11-19 11:53:00
- */
-/**
- * CROSS-COMPILED BY MXMLJSC (329449.1) ON 2012-11-19 11:52:57
- *
- * Class: MyInitialView
- * @constructor
- * @extends org.apache.flex.core.ViewBase
- */
-// protected: ProtectedNs:"MyInitialView"
-MyInitialView = adobe.extend( "MyInitialView", org.apache.flex.core.ViewBase, {
-
-	// Constructor
-	
-
-	/**
-	 * Constructor: MyInitialView()
-	 * @constructor
-	 */
-	init : function()
-	{
-		/** @type {MyInitialView} */
-		var self = this;
-		
-		self._super(); /* Call to super() was missing in ctor! */
-		self._super();
-		return self;
-	}
-,
-
-	/**
-	 * Member: MyInitialView.lbl
-	 * @type {org.apache.flex.html.staticControls.Label}
-	 */
-	lbl /* : Label */ : undefined,
-	
-
-	/**
-	 * Method: MyInitialView.get_uiDescriptors()
-	 * @this {MyInitialView}
-	 * @override
-	 * @return {Array}
-	 */
-	get_uiDescriptors : function() /* : Array */
-	{
-		/** @type {MyInitialView} */
-		var self = this;
-		return [org.apache.flex.html.staticControls.Label, null, "lbl", 2, "x", 100, "y", 25, 0, 0, 1, "text", 0, "model", "labelText", "labelTextChanged", org.apache.flex.html.staticControls.TextButton, null, null, 3, "text", "OK", "x", 100, "y", 75, 0, 1, "click", self.clickHandler, 0];
-	},
-	
-
-	/**
-	 * Method: MyInitialView.clickHandler()
-	 * @this {MyInitialView}
-	 * @private
-	 * @param {flash.events.Event} event
-	 */
-	clickHandler : function(event /* : Event */) /* : void */
-	{
-		/** @type {MyInitialView} */
-		var self = this;
-		self.dispatchEvent(adobe.newObject(flash.events.Event, ["buttonClicked"]));
-	}
-});
-
-
-/**
- * Member: MyInitialView.prototype._CLASS
- * @const
- * @type {MyInitialView}
- */
-MyInitialView.prototype._CLASS = MyInitialView;
-
-
-/**
- * Member: MyInitialView._PACKAGE
- * @const
- * @type {MyInitialView}
- */
-MyInitialView._PACKAGE = adobe.globals;
-
-
-/**
- * Member: MyInitialView._NAME
- * @const
- * @type {string}
- */
-MyInitialView._NAME = "MyInitialView";
-
-/**
- * Member: MyInitialView._FULLNAME
- * @const
- * @type {string}
- */
-MyInitialView._FULLNAME = "MyInitialView";
-
-/**
- * Member: MyInitialView._SUPER
- * @const
- * @type {org.apache.flex.core.ViewBase}
- */
-MyInitialView._SUPER = org.apache.flex.core.ViewBase;
-
-/**
- * Member: MyInitialView._NAMESPACES
- * @const
- * @type {Object}
- */
-MyInitialView._NAMESPACES = {
-	"uiDescriptors::2" : true,
-	"lbl::2" : true,
-	"clickHandler::7:MyInitialView" : true
-}
-
-adobe.classes["MyInitialView"]  = MyInitialView;
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f368228a/examples/FlexJSTest/MyModel.js
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest/MyModel.js b/examples/FlexJSTest/MyModel.js
deleted file mode 100644
index a1f5b9b..0000000
--- a/examples/FlexJSTest/MyModel.js
+++ /dev/null
@@ -1,117 +0,0 @@
-/** @preserve CROSS-COMPILED BY MXMLJSC (329449.1) ON 2012-11-19 11:53:04
- */
-/**
- * CROSS-COMPILED BY MXMLJSC (329449.1) ON 2012-11-19 11:52:56
- *
- * Class: models.MyModel
- * @constructor
- * @extends flash.events.EventDispatcher
- */
-models.MyModel = adobe.extend( "MyModel", flash.events.EventDispatcher, {
-
-	// Constructor
-	
-
-	/**
-	 * Constructor: models.MyModel()
-	 * @constructor
-	 * @this {models}
-	 */
-	init : function()
-	{
-	var self = this;
-		
-		self._super(); /* Call to super() was missing in ctor! */
-		return self;
-	}
-,
-
-	/**
-	 * Member: models.MyModel._labelText
-	 * @private
-	 * @type {string}
-	 */
-	_labelText /* : String */ : undefined,
-	
-
-	/**
-	 * Method: models.MyModel.get_labelText()
-	 * @this {models.MyModel}
-	 * @return {string}
-	 */
-	get_labelText : function() /* : String */
-	{
-		/** @type {models.MyModel} */
-		var self = this;
-		return self._labelText;
-	},
-	
-
-	/**
-	 * Method: models.MyModel.set_labelText()
-	 * @this {models.MyModel}
-	 * @param {string} value
-	 */
-	set_labelText : function(value /* : String */) /* : void */
-	{
-		/** @type {models.MyModel} */
-		var self = this;
-		if((value != self._labelText))
-		{
-			self._labelText = value;
-			self.dispatchEvent(adobe.newObject(flash.events.Event, ["labelTextChanged"]));
-		}
-	}
-});
-
-
-/**
- * Member: models.MyModel.prototype._CLASS
- * @const
- * @type {models.MyModel}
- */
-models.MyModel.prototype._CLASS = models.MyModel;
-
-
-/**
- * Member: models.MyModel._PACKAGE
- * @const
- * @type {models}
- */
-models.MyModel._PACKAGE = models;
-
-
-/**
- * Member: models.MyModel._NAME
- * @const
- * @type {string}
- */
-models.MyModel._NAME = "MyModel";
-
-/**
- * Member: models.MyModel._FULLNAME
- * @const
- * @type {string}
- */
-models.MyModel._FULLNAME = "models.MyModel";
-
-/**
- * Member: models.MyModel._SUPER
- * @const
- * @type {flash.events.EventDispatcher}
- */
-models.MyModel._SUPER = flash.events.EventDispatcher;
-
-/**
- * Member: models.MyModel._NAMESPACES
- * @const
- * @type {Object}
- */
-models.MyModel._NAMESPACES = {
-	"_labelText::7:models.MyModel" : true,
-	"labelText::2" : true,
-	"labelText::2" : true
-}
-
-adobe.classes["models.MyModel"]  = models.MyModel;
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f368228a/examples/FlexJSTest/MySimpleValuesImpl.as
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest/MySimpleValuesImpl.as b/examples/FlexJSTest/MySimpleValuesImpl.as
deleted file mode 100644
index 8dc3b72..0000000
--- a/examples/FlexJSTest/MySimpleValuesImpl.as
+++ /dev/null
@@ -1,24 +0,0 @@
-package 
-{
-	import flash.events.IEventDispatcher;
-	
-	import org.apache.flex.core.SimpleValuesImpl;
-	import org.apache.flex.html.staticControls.beads.TextButtonBead;
-	import org.apache.flex.html.staticControls.beads.TextFieldBead;
-	import org.apache.flex.html.staticControls.beads.models.TextModel;
-	
-	public class MySimpleValuesImpl extends SimpleValuesImpl
-	{
-		public function MySimpleValuesImpl()
-		{
-			super();
-			values = { 
-				ITextButtonBead: TextButtonBead,
-				ITextBead: TextFieldBead,
-				ITextModel: TextModel				
-			}
-		}
-		
-		
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f368228a/examples/FlexJSTest/MySimpleValuesImpl.js
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest/MySimpleValuesImpl.js b/examples/FlexJSTest/MySimpleValuesImpl.js
deleted file mode 100644
index fab9183..0000000
--- a/examples/FlexJSTest/MySimpleValuesImpl.js
+++ /dev/null
@@ -1,78 +0,0 @@
-/** @preserve CROSS-COMPILED BY MXMLJSC (329449.1) ON 2012-11-19 11:53:02
- */
-/**
- * CROSS-COMPILED BY MXMLJSC (329449.1) ON 2012-11-19 11:52:57
- *
- * Class: MySimpleValuesImpl
- * @constructor
- * @extends org.apache.flex.core.SimpleValuesImpl
- */
-MySimpleValuesImpl = adobe.extend( "MySimpleValuesImpl", org.apache.flex.core.SimpleValuesImpl, {
-
-	// Constructor
-	
-
-	/**
-	 * Constructor: MySimpleValuesImpl()
-	 * @constructor
-	 */
-	init : function()
-	{
-		/** @type {MySimpleValuesImpl} */
-		var self = this;
-		
-		self._super(); /* Call to super() was missing in ctor! */
-		self._super();
-		self.values = {ITextButtonBead : org.apache.flex.html.staticControls.beads.TextButtonBead, ITextBead : org.apache.flex.html.staticControls.beads.TextFieldBead, ITextModel : org.apache.flex.html.staticControls.beads.models.TextModel};
-		return self;
-	}
-
-});
-
-
-/**
- * Member: MySimpleValuesImpl.prototype._CLASS
- * @const
- * @type {MySimpleValuesImpl}
- */
-MySimpleValuesImpl.prototype._CLASS = MySimpleValuesImpl;
-
-
-/**
- * Member: MySimpleValuesImpl._PACKAGE
- * @const
- * @type {MySimpleValuesImpl}
- */
-MySimpleValuesImpl._PACKAGE = adobe.globals;
-
-
-/**
- * Member: MySimpleValuesImpl._NAME
- * @const
- * @type {string}
- */
-MySimpleValuesImpl._NAME = "MySimpleValuesImpl";
-
-/**
- * Member: MySimpleValuesImpl._FULLNAME
- * @const
- * @type {string}
- */
-MySimpleValuesImpl._FULLNAME = "MySimpleValuesImpl";
-
-/**
- * Member: MySimpleValuesImpl._SUPER
- * @const
- * @type {org.apache.flex.core.SimpleValuesImpl}
- */
-MySimpleValuesImpl._SUPER = org.apache.flex.core.SimpleValuesImpl;
-
-/**
- * Member: MySimpleValuesImpl._NAMESPACES
- * @const
- * @type {Object}
- */
-MySimpleValuesImpl._NAMESPACES = {};
-
-adobe.classes["MySimpleValuesImpl"]  = MySimpleValuesImpl;
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f368228a/examples/FlexJSTest/controllers/MyController.as
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest/controllers/MyController.as b/examples/FlexJSTest/controllers/MyController.as
deleted file mode 100644
index d15a400..0000000
--- a/examples/FlexJSTest/controllers/MyController.as
+++ /dev/null
@@ -1,25 +0,0 @@
-package controllers
-{
-	import flash.events.Event;
-
-	public class MyController
-	{
-		public function MyController(app:FlexJSTest)
-		{
-			this.app = app;
-			app.addEventListener("viewChanged", viewChangeHandler);
-		}
-		
-		private var app:FlexJSTest;
-		
-		private function viewChangeHandler(event:Event):void
-		{
-			app.initialView.addEventListener("buttonClicked", buttonClickHandler);
-		}
-		
-		private function buttonClickHandler(event:Event):void
-		{
-			app.model.labelText = "Hello Universe";
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f368228a/examples/FlexJSTest/index.html
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest/index.html b/examples/FlexJSTest/index.html
deleted file mode 100644
index f2eb15c..0000000
--- a/examples/FlexJSTest/index.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<script type="text/javascript" src="js/adobe.js"></script>
-<script type="text/javascript" src="js/framework.js"></script>
-<script type="text/javascript" src="MySimpleValuesImpl.js"></script>
-<script type="text/javascript" src="MyInitialView.js"></script>
-<script type="text/javascript" src="MyController.js"></script>
-<script type="text/javascript" src="MyModel.js"></script>
-<script type="text/javascript" src="FlexJSTest.js"></script>
-<script type="text/javascript">
-	var app = new FlexJSTest();
-</script>
-<title>FlexJSTest</title>
-</head>
-
-<body onload="app.start()">
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f368228a/examples/FlexJSTest/js/adobe.js
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest/js/adobe.js b/examples/FlexJSTest/js/adobe.js
deleted file mode 100644
index 2b41e78..0000000
--- a/examples/FlexJSTest/js/adobe.js
+++ /dev/null
@@ -1,103 +0,0 @@
-// JavaScript Document
-/* Simple JavaScript Inheritance
- * By John Resig http://ejohn.org/
- * MIT Licensed.
- */
-// Inspired by base2 and Prototype
-
-// Modifications from original:
-// - "Class" replaced by "adobe"
-// - Refactored as a singleton class factory.  You call adobe.extend for all classes
-// instead of calling the class's extend method as shown in the blog aritcle
-// - createProxy added
-// - newObject added
-// - eventMap added
-(function(){
-  var initializing = false, fnTest = /xyz/.test(function(){xyz;}) ? /\b_super\b/ : /.*/;
-  // The base Class implementation (does nothing)
-  this.adobe = function(){};
-  
-  adobe.eventMap = {
-  	click: "onClick"
-  }
-  
-  adobe.classes = {
-  }
-  
-  adobe.createProxy = function(context, method)
-  {
-	  var self = context;
-	  return function(e) { method.apply(self, [e]) };
-  }
-  
-  adobe.newObject = function(ctor, ctorArgs)
-  {
-	  if (ctor === flash.events.Event && ctorArgs.length == 1)
-	  {
-		  var evt = document.createEvent('Event');
-		  evt.initEvent(ctorArgs[0], false, false);
-		  return evt;
-	  }
-	  
-	  if (ctorArgs.length == 1)
-		return new ctor(ctorArgs[0]);
-	  if (ctorArgs.length == 0)
-	  	return new ctor();
-  }
-  
-  adobe.prototype.init = function () {};
-  
-  // Create a new Class that inherits from this class
-  adobe.extend = function(className, superClass, prop) {
-    var _super = superClass.prototype;
-    
-    // Instantiate a base class (but only create the instance,
-    // don't run the init constructor)
-    initializing = true;
-    var prototype = new superClass();
-    initializing = false;
-    
-    // Copy the properties over onto the new prototype
-    for (var name in prop) {
-      // Check if we're overwriting an existing function
-      prototype[name] = typeof prop[name] == "function" && 
-        typeof _super[name] == "function" && fnTest.test(prop[name]) ?
-        (function(name, fn){
-          return function() {
-            var tmp = this._super;
-            
-            // Add a new ._super() method that is the same method
-            // but on the super-class
-            this._super = _super[name];
-            
-            // The method only need to be bound temporarily, so we
-            // remove it when we're done executing
-            var ret = fn.apply(this, arguments);        
-            this._super = tmp;
-            
-            return ret;
-          };
-        })(name, prop[name]) :
-        prop[name];
-    }
-    
-    // The dummy class constructor
-    function adobe() {
-      // All construction is actually done in the init method
-      if ( !initializing && this.init )
-        this.init.apply(this, arguments);
-    }
-    
-	// Populate our constructed prototype object
-    adobe.prototype = prototype;
-    
-    // Enforce the constructor to be what we expect
-    adobe.prototype.constructor = adobe;
-
-	// AJH remove this for now
-    // And make this class extendable
-    // adobe.extend = arguments.callee;
-    
-    return adobe;
-  };
-})();
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f368228a/examples/FlexJSTest/js/framework.js
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest/js/framework.js b/examples/FlexJSTest/js/framework.js
deleted file mode 100644
index 556bf41..0000000
--- a/examples/FlexJSTest/js/framework.js
+++ /dev/null
@@ -1,1030 +0,0 @@
-// JavaScript Document
-if (!("models" in window))
-	window.models = {};
-	
-if (!("controllers" in window))
-	window.controllers = {};
-	
-if (!("flash" in window))
-	window.flash = {};
-	
-if (!("events" in flash))
-	flash.events = {};
-	
-if (!("org" in window))
-	window.org = {};
-
-if (!("apache" in org))
-	org.apache = {};
-	
-if (!("flex" in org.apache))
-	org.apache.flex = {};
-
-if (!("core" in org.apache.flex))
-	org.apache.flex.core = {};
-	
-if (!("html" in org.apache.flex))
-	org.apache.flex.html = {};
-
-if (!("binding" in org.apache.flex))
-	org.apache.flex.binding = {};
-
-if (!("static" in org.apache.flex.html))
-	org.apache.flex.html.staticControls = {};
-
-if (!("beads" in org.apache.flex.html.staticControls))
-	org.apache.flex.html.staticControls.beads = {};
-
-if (!("static" in org.apache.flex.html.staticControls.beads))
-	org.apache.flex.html.staticControls.beads.models = {};
-
-/*******************************
-*
-* Application
-*
-********************************/
-
-org.apache.flex.core.Application = adobe.extend("org.apache.flex.core.Application", adobe, {
-
-	// Constructor
-	
-
-	/**
-	 * Constructor: org.apache.flex.core.Application()
-	 * @constructor
-	 */
-	init : function()
-	{
-		/** @type {org.apache.flex.core.Application} */
-		var self = this;
-		
-		self._super(); /* Call to super() was missing in ctor! */
-        
-		return self;
-	},
-    
-    queuedListeners : undefined,
-    
-    addEventListener : function(type, handler)
-    {
-        // at contructor time, the element may not be available yet
-        if (typeof this.element == "undefined")
-        {
-            if (typeof this.queuedListeners == "undefined")
-                this.queuedListeners = [];
-            this.queuedListeners.push ({ type: type, handler: handler});
-            return;
-        }
-        
-        if (typeof this.element.attachEvent == "function")
-            this.element.attachEvent(adobe.eventMap[type], handler);
-        else if (typeof this.element.addEventListener == "function")
-        {
-            this.element.addEventListener(type, handler);
-        }
-    },
-    
-    start : function()
-    {
-		/** @type {org.apache.flex.core.Application} */
-		var self = this;
-
-        this.element = document.getElementsByTagName('body')[0];
-        
-        if (typeof this.queuedListeners != "undefined")
-        {
-            var n = this.queuedListeners.length;
-            for (var i = 0; i < n; i++)
-            {
-                var q = this.queuedListeners[i];
-                this.addEventListener(q.type, q.handler);
-            }
-        }
-
-        self.valuesImpl = new self.valuesImplClass;
-        org.apache.flex.core.ValuesManager.valuesImpl = self.valuesImpl;
-			
-        self.initialView = new self.initialViewClass;
-        self.initialView.addToParent(this.element);
-        self.initialView.initUI(self);
-        // create the event
-        var evt = document.createEvent('Event');
-        // define that the event name is `build`
-        evt.initEvent('viewChanged', true, true);
-
-        // elem is any element
-        this.element.dispatchEvent(evt);
-
-    }
-    
-});
-
-
-/**
- * Member: org.apache.flex.core.Application.prototype._CLASS
- * @const
- * @type {org.apache.flex.core.Application}
- */
-org.apache.flex.core.Application.prototype._CLASS = org.apache.flex.core.Application;
-
-
-/**
- * Member: org.apache.flex.core.Application._PACKAGE
- * @const
- * @type {org.apache.flex.core.Application}
- */
-org.apache.flex.core.Application._PACKAGE = org.apache.flex.core;
-
-
-/**
- * Member: org.apache.flex.core.Application._NAME
- * @const
- * @type {string}
- */
-org.apache.flex.core.Application._NAME = "org.apache.flex.core.Application";
-
-/**
- * Member: org.apache.flex.core.Application._FULLNAME
- * @const
- * @type {string}
- */
-org.apache.flex.core.Application._FULLNAME = "org.apache.flex.core.Application";
-
-/**
- * Member: org.apache.flex.core.Application._SUPER
- * @const
- * @type {Object}
- */
-org.apache.flex.core.Application._SUPER = Object;
-
-/**
- * Member: org.apache.flex.core.Application._NAMESPACES
- * @const
- * @type {Object}
- */
-org.apache.flex.core.Application._NAMESPACES = {};
-
-adobe.classes["org.apache.flex.core.Application"]  = org.apache.flex.core.Application;
-
-/*******************************
-*
-* UIBase
-*
-********************************/
-
-org.apache.flex.core.UIBase = adobe.extend("org.apache.flex.core.UIBase", adobe, {
-
-	// Constructor
-	
-
-	/**
-	 * Constructor: org.apache.flex.core.UIBase()
-	 * @constructor
-	 */
-	init : function()
-	{
-		/** @type {org.apache.flex.core.UIBase} */
-		var self = this;
-		
-		self._super(); /* Call to super() was missing in ctor! */
-        
-		return self;
-	},
-    
-    addEventListener : function(type, handler)
-    {
-        if (typeof this.element.attachEvent == "function")
-            this.element.attachEvent(adobe.eventMap[type], handler);
-        else if (typeof this.element.addEventListener == "function")
-            this.element.addEventListener(type, handler);
-    },
-    
-    dispatchEvent : function(evt)
-    {
-		/** @type {org.apache.flex.core.UIBase} */
-		var self = this;
-
-        // elem is any element
-        this.element.dispatchEvent(evt);
-    },
-    
-    set_x : function(n)
-    {
-        this.positioner.style.position = "absolute";
-        this.positioner.style.left = n.toString() + "px";
-    },
-
-    set_y : function(n)
-    {
-        this.positioner.style.position = "absolute";
-        this.positioner.style.top = n.toString() + "px";
-    }
-    
-});
-
-
-/**
- * Member: org.apache.flex.core.UIBase.prototype._CLASS
- * @const
- * @type {org.apache.flex.core.UIBase}
- */
-org.apache.flex.core.UIBase.prototype._CLASS = org.apache.flex.core.UIBase;
-
-
-/**
- * Member: org.apache.flex.core.UIBase._PACKAGE
- * @const
- * @type {org.apache.flex.core.UIBase}
- */
-org.apache.flex.core.UIBase._PACKAGE = org.apache.flex.core;
-
-
-/**
- * Member: org.apache.flex.core.UIBase._NAME
- * @const
- * @type {string}
- */
-org.apache.flex.core.UIBase._NAME = "org.apache.flex.core.UIBase";
-
-/**
- * Member: org.apache.flex.core.UIBase._FULLNAME
- * @const
- * @type {string}
- */
-org.apache.flex.core.UIBase._FULLNAME = "org.apache.flex.core.UIBase";
-
-/**
- * Member: org.apache.flex.core.UIBase._SUPER
- * @const
- * @type {Object}
- */
-org.apache.flex.core.UIBase._SUPER = Object;
-
-/**
- * Member: org.apache.flex.core.UIBase._NAMESPACES
- * @const
- * @type {Object}
- */
-org.apache.flex.core.UIBase._NAMESPACES = {};
-
-adobe.classes["org.apache.flex.core.UIBase"]  = org.apache.flex.core.UIBase;
-
-/*******************************
-*
-* ViewBase
-*
-********************************/
-
-org.apache.flex.core.ViewBase = adobe.extend("org.apache.flex.core.ViewBase", org.apache.flex.core.UIBase, {
-
-	// Constructor
-	
-
-	/**
-	 * Constructor: org.apache.flex.core.ViewBase()
-	 * @constructor
-	 */
-	init : function()
-	{
-		/** @type {org.apache.flex.core.ViewBase} */
-		var self = this;
-		
-		self._super(); /* Call to super() was missing in ctor! */
-        
-		return self;
-	},
-    
-    addToParent : function(p)
-    {
-        this.element = document.createElement("div");
-        p.appendChild(this.element);
-    },
-
-    initUI: function(app)
-    {
-		/** @type {org.apache.flex.core.ViewBase} */
-		var self = this;
-
-        // cache this for speed
-        var descriptors = self.get_uiDescriptors();
-			
-        var n = descriptors.length;
-        var i = 0;
-        
-        var value;
-        var valueName;
-        
-        while (i < n)
-        {
-            var c = descriptors[i++];					// class
-            var o = new c();
-            o.addToParent(this.element);
-            c = descriptors[i++];							// model
-            if (c)
-            {
-                value = new c();
-                o.addBead(value);
-            }
-            if (typeof o.initModel == "function")
-                o.initModel();
-            var j;
-            var m;
-            valueName = descriptors[i++];					// id
-            if (valueName)
-                this[valueName] = o;
-
-            m = descriptors[i++];							// num props
-            for (j = 0; j < m; j++)
-            {
-                valueName = descriptors[i++];
-                value = descriptors[i++];
-                o["set_" + valueName](value);
-            }
-            m = descriptors[i++];							// num beads
-            for (j = 0; j < m; j++)
-            {
-                c = descriptors[i++];
-                value = new c();
-                o.addBead(value);
-            }
-            if (typeof o.initSkin == "function")
-                o.initSkin();
-            m = descriptors[i++];							// num events
-            for (j = 0; j < m; j++)
-            {
-                valueName = descriptors[i++];
-                value = descriptors[i++];
-                o.addEventListener(valueName, adobe.createProxy(this, value));
-            }
-            m = descriptors[i++];							// num bindings
-            for (j = 0; j < m; j++)
-            {
-                valueName = descriptors[i++];
-                var bindingType = descriptors[i++];
-                switch (bindingType)
-                {
-                    case 0: 
-                        var sb = new org.apache.flex.binding.SimpleBinding();
-                        sb.destination = o;
-                        sb.destinationPropertyName = valueName;
-                        sb.source = app[descriptors[i++]];
-                        sb.sourcePropertyName = descriptors[i++];
-                        sb.eventName = descriptors[i++];
-                        sb.initialize();
-                }
-            }
-        }
-    }
-
-});
-
-
-/**
- * Member: org.apache.flex.core.ViewBase.prototype._CLASS
- * @const
- * @type {org.apache.flex.core.ViewBase}
- */
-org.apache.flex.core.ViewBase.prototype._CLASS = org.apache.flex.core.ViewBase;
-
-
-/**
- * Member: org.apache.flex.core.ViewBase._PACKAGE
- * @const
- * @type {org.apache.flex.core.ViewBase}
- */
-org.apache.flex.core.ViewBase._PACKAGE = org.apache.flex.core;
-
-
-/**
- * Member: org.apache.flex.core.ViewBase._NAME
- * @const
- * @type {string}
- */
-org.apache.flex.core.ViewBase._NAME = "org.apache.flex.core.ViewBase";
-
-/**
- * Member: org.apache.flex.core.ViewBase._FULLNAME
- * @const
- * @type {string}
- */
-org.apache.flex.core.ViewBase._FULLNAME = "org.apache.flex.core.ViewBase";
-
-/**
- * Member: org.apache.flex.core.ViewBase._SUPER
- * @const
- * @type {Object}
- */
-org.apache.flex.core.ViewBase._SUPER = Object;
-
-/**
- * Member: org.apache.flex.core.ViewBase._NAMESPACES
- * @const
- * @type {Object}
- */
-org.apache.flex.core.ViewBase._NAMESPACES = {};
-
-adobe.classes["org.apache.flex.core.ViewBase"]  = org.apache.flex.core.ViewBase;
-
-/*******************************
-*
-* Label
-*
-********************************/
-
-org.apache.flex.html.staticControls.Label = adobe.extend("org.apache.flex.html.staticControls.Label", org.apache.flex.core.UIBase, {
-
-	// Constructor
-	
-
-	/**
-	 * Constructor: org.apache.flex.html.staticControls.Label()
-	 * @constructor
-	 */
-	init : function()
-	{
-		/** @type {org.apache.flex.html.staticControls.Label} */
-		var self = this;
-		
-		self._super(); /* Call to super() was missing in ctor! */
-        
-		return self;
-	},
-    
-    addToParent : function(p)
-    {
-        this.element = document.createElement("div");
-        this.positioner = this.element;
-        p.appendChild(this.element);
-    },
-    
-    get_text : function()
-    {
-        return this.element.innerHTML;
-    },
-    
-    set_text : function(s)
-    {
-        this.element.innerHTML = s; 
-    }
-
-});
-
-
-/**
- * Member: org.apache.flex.html.staticControls.Label.prototype._CLASS
- * @const
- * @type {org.apache.flex.html.staticControls.Label}
- */
-org.apache.flex.html.staticControls.Label.prototype._CLASS = org.apache.flex.html.staticControls.Label;
-
-
-/**
- * Member: org.apache.flex.html.staticControls.Label._PACKAGE
- * @const
- * @type {org.apache.flex.html.staticControls.Label}
- */
-org.apache.flex.html.staticControls.Label._PACKAGE = org.apache.flex.html.staticControls;
-
-
-/**
- * Member: org.apache.flex.html.staticControls.Label._NAME
- * @const
- * @type {string}
- */
-org.apache.flex.html.staticControls.Label._NAME = "org.apache.flex.html.staticControls.Label";
-
-/**
- * Member: org.apache.flex.html.staticControls.Label._FULLNAME
- * @const
- * @type {string}
- */
-org.apache.flex.html.staticControls.Label._FULLNAME = "org.apache.flex.html.staticControls.Label";
-
-/**
- * Member: org.apache.flex.html.staticControls.Label._SUPER
- * @const
- * @type {Object}
- */
-org.apache.flex.html.staticControls.Label._SUPER = Object;
-
-/**
- * Member: org.apache.flex.html.staticControls.Label._NAMESPACES
- * @const
- * @type {Object}
- */
-org.apache.flex.html.staticControls.Label._NAMESPACES = {};
-
-adobe.classes["org.apache.flex.html.staticControls.Label"]  = org.apache.flex.html.staticControls.Label;
-
-/*******************************
-*
-* TextButton
-*
-********************************/
-org.apache.flex.html.staticControls.TextButton = adobe.extend("org.apache.flex.html.staticControls.TextButton", org.apache.flex.core.UIBase, {
-
-	// Constructor
-	
-
-	/**
-	 * Constructor: org.apache.flex.html.staticControls.TextButton()
-	 * @constructor
-	 */
-	init : function()
-	{
-		/** @type {org.apache.flex.html.staticControls.TextButton} */
-		var self = this;
-		
-		self._super(); /* Call to super() was missing in ctor! */
-        
-		return self;
-	},
-    
-    addToParent : function(p)
-    {
-        this.positioner = document.createElement("input");
-        this.element = this.positioner;
-        this.element.setAttribute("type", "button");
-        p.appendChild(this.positioner);
-    },
-    
-    get_text : function()
-    {
-        return this.element.getAttribute("value");
-    },
-    
-    set_text : function(s)
-    {
-        this.element.setAttribute("value", s); 
-    }
-    
-});
-
-
-/**
- * Member: org.apache.flex.html.staticControls.TextButton.prototype._CLASS
- * @const
- * @type {org.apache.flex.html.staticControls.TextButton}
- */
-org.apache.flex.html.staticControls.TextButton.prototype._CLASS = org.apache.flex.html.staticControls.TextButton;
-
-
-/**
- * Member: org.apache.flex.html.staticControls.TextButton._PACKAGE
- * @const
- * @type {org.apache.flex.html.staticControls.TextButton}
- */
-org.apache.flex.html.staticControls.TextButton._PACKAGE = org.apache.flex.html.staticControls;
-
-
-/**
- * Member: org.apache.flex.html.staticControls.TextButton._NAME
- * @const
- * @type {string}
- */
-org.apache.flex.html.staticControls.TextButton._NAME = "org.apache.flex.html.staticControls.TextButton";
-
-/**
- * Member: org.apache.flex.html.staticControls.TextButton._FULLNAME
- * @const
- * @type {string}
- */
-org.apache.flex.html.staticControls.TextButton._FULLNAME = "org.apache.flex.html.staticControls.TextButton";
-
-/**
- * Member: org.apache.flex.html.staticControls.TextButton._SUPER
- * @const
- * @type {Object}
- */
-org.apache.flex.html.staticControls.TextButton._SUPER = Object;
-
-/**
- * Member: org.apache.flex.html.staticControls.TextButton._NAMESPACES
- * @const
- * @type {Object}
- */
-org.apache.flex.html.staticControls.TextButton._NAMESPACES = {};
-
-adobe.classes["org.apache.flex.html.staticControls.TextButton"]  = org.apache.flex.html.staticControls.TextButton;
-
-/*******************************
-*
-* SimpleValuesImpl
-*
-********************************/
-
-org.apache.flex.core.SimpleValuesImpl = adobe.extend("org.apache.flex.core.SimpleValuesImpl", adobe, {
-
-	// Constructor
-	
-
-	/**
-	 * Constructor: org.apache.flex.core.SimpleValuesImpl()
-	 * @constructor
-	 */
-	init : function()
-	{
-		/** @type {org.apache.flex.core.SimpleValuesImpl} */
-		var self = this;
-		
-		self._super(); /* Call to super() was missing in ctor! */
-        
-		return self;
-	},
-        
-});
-
-
-/**
- * Member: org.apache.flex.core.SimpleValuesImpl.prototype._CLASS
- * @const
- * @type {org.apache.flex.core.SimpleValuesImpl}
- */
-org.apache.flex.core.SimpleValuesImpl.prototype._CLASS = org.apache.flex.core.SimpleValuesImpl;
-
-
-/**
- * Member: org.apache.flex.core.SimpleValuesImpl._PACKAGE
- * @const
- * @type {org.apache.flex.core.SimpleValuesImpl}
- */
-org.apache.flex.core.SimpleValuesImpl._PACKAGE = org.apache.flex.core;
-
-
-/**
- * Member: org.apache.flex.core.SimpleValuesImpl._NAME
- * @const
- * @type {string}
- */
-org.apache.flex.core.SimpleValuesImpl._NAME = "org.apache.flex.core.SimpleValuesImpl";
-
-/**
- * Member: org.apache.flex.core.SimpleValuesImpl._FULLNAME
- * @const
- * @type {string}
- */
-org.apache.flex.core.SimpleValuesImpl._FULLNAME = "org.apache.flex.core.SimpleValuesImpl";
-
-/**
- * Member: org.apache.flex.core.SimpleValuesImpl._SUPER
- * @const
- * @type {Object}
- */
-org.apache.flex.core.SimpleValuesImpl._SUPER = Object;
-
-/**
- * Member: org.apache.flex.core.SimpleValuesImpl._NAMESPACES
- * @const
- * @type {Object}
- */
-org.apache.flex.core.SimpleValuesImpl._NAMESPACES = {};
-
-adobe.classes["org.apache.flex.core.SimpleValuesImpl"]  = org.apache.flex.core.SimpleValuesImpl;
-
-/*******************************
-*
-* ValuesManager
-*
-********************************/
-
-org.apache.flex.core.ValuesManager = adobe.extend("org.apache.flex.core.ValuesManager", adobe, {
-
-	// Constructor
-	
-
-	/**
-	 * Constructor: org.apache.flex.core.ValuesManager()
-	 * @constructor
-	 */
-	init : function()
-	{
-		/** @type {org.apache.flex.core.ValuesManager} */
-		var self = this;
-		
-		self._super(); /* Call to super() was missing in ctor! */
-        
-		return self;
-	},
-        
-});
-
-
-/**
- * Member: org.apache.flex.core.ValuesManager.prototype._CLASS
- * @const
- * @type {org.apache.flex.core.ValuesManager}
- */
-org.apache.flex.core.ValuesManager.prototype._CLASS = org.apache.flex.core.ValuesManager;
-
-
-/**
- * Member: org.apache.flex.core.ValuesManager._PACKAGE
- * @const
- * @type {org.apache.flex.core.ValuesManager}
- */
-org.apache.flex.core.ValuesManager._PACKAGE = org.apache.flex.core;
-
-
-/**
- * Member: org.apache.flex.core.ValuesManager._NAME
- * @const
- * @type {string}
- */
-org.apache.flex.core.ValuesManager._NAME = "org.apache.flex.core.ValuesManager";
-
-/**
- * Member: org.apache.flex.core.ValuesManager._FULLNAME
- * @const
- * @type {string}
- */
-org.apache.flex.core.ValuesManager._FULLNAME = "org.apache.flex.core.ValuesManager";
-
-/**
- * Member: org.apache.flex.core.ValuesManager._SUPER
- * @const
- * @type {Object}
- */
-org.apache.flex.core.ValuesManager._SUPER = Object;
-
-/**
- * Member: org.apache.flex.core.ValuesManager._NAMESPACES
- * @const
- * @type {Object}
- */
-org.apache.flex.core.ValuesManager._NAMESPACES = {};
-
-adobe.classes["org.apache.flex.core.ValuesManager"]  = org.apache.flex.core.ValuesManagerValuesManager;
-
-/*******************************
-*
-* SimpleBinding
-*
-********************************/
-
-org.apache.flex.binding.SimpleBinding = adobe.extend("org.apache.flex.binding.SimpleBinding", adobe, {
-
-	// Constructor
-	
-
-	/**
-	 * Constructor: org.apache.flex.binding.SimpleBinding()
-	 * @constructor
-	 */
-	init : function()
-	{
-		/** @type {org.apache.flex.binding.SimpleBinding} */
-		var self = this;
-		
-		self._super(); /* Call to super() was missing in ctor! */
-        
-		return self;
-	},
-    
-    source: null,
-    sourcePropertyName: null,
-    eventName: null,
-    destination: null,
-    destinationPropertyName: null,
-    
-    changeHandler : function()
-    {
-		/** @type {org.apache.flex.binding.SimpleBinding} */
-		var self = this;
-
-        self.destination["set_" + self.destinationPropertyName](self.source["get_" + self.sourcePropertyName]());
-    },
-    
-    initialize : function()
-    {
-		/** @type {org.apache.flex.binding.SimpleBinding} */
-		var self = this;
-
-        self.source.addEventListener(self.eventName, adobe.createProxy(self, self.changeHandler));
-        self.destination["set_" + self.destinationPropertyName](self.source["get_" + self.sourcePropertyName]());
-    }
-    
-    
-    
-});
-
-
-/**
- * Member: org.apache.flex.binding.SimpleBinding.prototype._CLASS
- * @const
- * @type {org.apache.flex.binding.SimpleBinding}
- */
-org.apache.flex.binding.SimpleBinding.prototype._CLASS = org.apache.flex.binding.SimpleBinding;
-
-
-/**
- * Member: org.apache.flex.binding.SimpleBinding._PACKAGE
- * @const
- * @type {org.apache.flex.binding.SimpleBinding}
- */
-org.apache.flex.binding.SimpleBinding._PACKAGE = org.apache.flex.binding;
-
-
-/**
- * Member: org.apache.flex.binding.SimpleBinding._NAME
- * @const
- * @type {string}
- */
-org.apache.flex.binding.SimpleBinding._NAME = "org.apache.flex.binding.SimpleBinding";
-
-/**
- * Member: org.apache.flex.binding.SimpleBinding._FULLNAME
- * @const
- * @type {string}
- */
-org.apache.flex.binding.SimpleBinding._FULLNAME = "org.apache.flex.binding.SimpleBinding";
-
-/**
- * Member: org.apache.flex.binding.SimpleBinding._SUPER
- * @const
- * @type {Object}
- */
-org.apache.flex.binding.SimpleBinding._SUPER = Object;
-
-/**
- * Member: org.apache.flex.binding.SimpleBinding._NAMESPACES
- * @const
- * @type {Object}
- */
-org.apache.flex.binding.SimpleBinding._NAMESPACES = {};
-
-adobe.classes["org.apache.flex.binding.SimpleBinding"]  = org.apache.flex.binding.SimpleBinding;
-
-/*******************************
-*
-* EventDispatcher
-*
-********************************/
-
-flash.events.EventDispatcher = adobe.extend("flash.events.EventDispatcher", adobe, {
-
-	// Constructor
-	
-
-	/**
-	 * Constructor: flash.events.EventDispatcher()
-	 * @constructor
-	 */
-	init : function()
-	{
-		/** @type {flash.events.EventDispatcher} */
-		var self = this;
-		
-		self._super(); /* Call to super() was missing in ctor! */
-        
-		return self;
-	},
-
-    listeners : {},
-    
-    addEventListener : function(type, handler)
-    {
-        if (typeof this.listeners.type === "undefined")
-            this.listeners[type] = [];
-            
-        this.listeners[type].push(handler);
-    },
-    
-    dispatchEvent : function(event)
-    {
-        var self = this;
-        var type = event.type;
-        if (typeof this.listeners[type] !== "undefined")
-        {
-            var arr = this.listeners[type];
-            var n = arr.length;
-            for (var i = 0; i < n; i++)
-                arr[i](event);
-        }
-    }    
-    
-});
-
-
-/**
- * Member: flash.events.EventDispatcher.prototype._CLASS
- * @const
- * @type {flash.events.EventDispatcher}
- */
-flash.events.EventDispatcher.prototype._CLASS = flash.events.EventDispatcher;
-
-
-/**
- * Member: flash.events.EventDispatcher._PACKAGE
- * @const
- * @type {flash.events.EventDispatcher}
- */
-flash.events.EventDispatcher._PACKAGE = flash.events;
-
-
-/**
- * Member: flash.events.EventDispatcher._NAME
- * @const
- * @type {string}
- */
-flash.events.EventDispatcher._NAME = "flash.events.EventDispatcher";
-
-/**
- * Member: flash.events.EventDispatcher._FULLNAME
- * @const
- * @type {string}
- */
-flash.events.EventDispatcher._FULLNAME = "flash.events.EventDispatcher";
-
-/**
- * Member: flash.events.EventDispatcher._SUPER
- * @const
- * @type {Object}
- */
-flash.events.EventDispatcher._SUPER = Object;
-
-/**
- * Member: flash.events.EventDispatcher._NAMESPACES
- * @const
- * @type {Object}
- */
-flash.events.EventDispatcher._NAMESPACES = {};
-
-adobe.classes["flash.events.EventDispatcher"]  = flash.events.EventDispatcher;
-
-/*******************************
-*
-* Event
-*
-********************************/
-
-flash.events.Event = adobe.extend("flash.events.Event", adobe, {
-
-	// Constructor
-	
-
-	/**
-	 * Constructor: flash.events.Event()
-	 * @constructor
-	 */
-	init : function(type)
-	{
-		/** @type {flash.events.Event} */
-		var self = this;
-		
-		self._super(); /* Call to super() was missing in ctor! */
-        
-        self.type = type;
-		return self;
-	},
-
-    type : undefined
-        
-});
-
-
-/**
- * Member: flash.events.Event.prototype._CLASS
- * @const
- * @type {flash.events.Event}
- */
-flash.events.Event.prototype._CLASS = flash.events.Event;
-
-
-/**
- * Member: flash.events.Event._PACKAGE
- * @const
- * @type {flash.events.Event}
- */
-flash.events.Event._PACKAGE = flash.events;
-
-
-/**
- * Member: flash.events.Event._NAME
- * @const
- * @type {string}
- */
-flash.events.Event._NAME = "flash.events.Event";
-
-/**
- * Member: flash.events.Event._FULLNAME
- * @const
- * @type {string}
- */
-flash.events.Event._FULLNAME = "flash.events.Event";
-
-/**
- * Member: flash.events.Event._SUPER
- * @const
- * @type {Object}
- */
-flash.events.Event._SUPER = Object;
-
-/**
- * Member: flash.events.Event._NAMESPACES
- * @const
- * @type {Object}
- */
-flash.events.Event._NAMESPACES = {};
-
-adobe.classes["flash.events.Event"]  = flash.events.Event;
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f368228a/examples/FlexJSTest/models/MyModel.as
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest/models/MyModel.as b/examples/FlexJSTest/models/MyModel.as
deleted file mode 100644
index 98eba2a..0000000
--- a/examples/FlexJSTest/models/MyModel.as
+++ /dev/null
@@ -1,28 +0,0 @@
-package models
-{
-	import flash.events.EventDispatcher;
-	import flash.events.Event;
-	
-	public class MyModel extends EventDispatcher
-	{
-		public function MyModel()
-		{
-		}
-		
-		private var _labelText:String;
-		
-		public function get labelText():String
-		{
-			return _labelText;
-		}
-		
-		public function set labelText(value:String):void
-		{
-			if (value != _labelText)
-			{
-				_labelText = value;
-				dispatchEvent(new Event("labelTextChanged"));
-			}
-		}
-	}
-}
\ No newline at end of file


Mime
View raw message