http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/text/FontStyle.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/text/FontStyle.as 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/FontStyle.as
new file mode 100644
index 0000000..a082322
--- /dev/null
+++ b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/FontStyle.as
@@ -0,0 +1,37 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.text
+{
+   public final class FontStyle extends Object
+   {
+      
+      public static const REGULAR:String = "regular";
+      
+      public static const BOLD:String = "bold";
+      
+      public static const ITALIC:String = "italic";
+      
+      public static const BOLD_ITALIC:String = "boldItalic";
+       
+      public function FontStyle()
+      {
+         super();
+      }
+   }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/text/FontType.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/text/FontType.as 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/FontType.as
new file mode 100644
index 0000000..bab664d
--- /dev/null
+++ b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/FontType.as
@@ -0,0 +1,35 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.text
+{
+   public final class FontType extends Object
+   {
+      
+      public static const EMBEDDED:String = "embedded";
+      
+      public static const EMBEDDED_CFF:String = "embeddedCFF";
+      
+      public static const DEVICE:String = "device";
+       
+      public function FontType()
+      {
+         super();
+      }
+   }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/text/GridFitType.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/text/GridFitType.as 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/GridFitType.as
new file mode 100644
index 0000000..b970763
--- /dev/null
+++ b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/GridFitType.as
@@ -0,0 +1,35 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.text
+{
+   public final class GridFitType extends Object
+   {
+      
+      public static const NONE:String = "none";
+      
+      public static const PIXEL:String = "pixel";
+      
+      public static const SUBPIXEL:String = "subpixel";
+       
+      public function GridFitType()
+      {
+         super();
+      }
+   }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/text/StaticText.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/text/StaticText.as 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/StaticText.as
new file mode 100644
index 0000000..bda7a7b
--- /dev/null
+++ b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/StaticText.as
@@ -0,0 +1,36 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.text
+{
+   import flash.display.DisplayObject;
+   
+   public final class StaticText extends DisplayObject
+   {
+       
+      public function StaticText()
+      {
+         super();
+      }
+      
+       public function get text() : String{
+                  
+                  return null;
+          }
+   }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/text/StyleSheet.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/text/StyleSheet.as 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/StyleSheet.as
new file mode 100644
index 0000000..c6b6dee
--- /dev/null
+++ b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/StyleSheet.as
@@ -0,0 +1,223 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.text
+{
+   import flash.events.EventDispatcher;
+   
+   public dynamic class StyleSheet extends EventDispatcher
+   {
+       
+      private var _css:Object;
+      
+      public function StyleSheet()
+      {
+         this._css = {};
+         super();
+         this._styles = {};
+      }
+      
+      public function getStyle(styleName:String) : Object
+      {
+         return this._copy(this._css[styleName.toLowerCase()]);
+      }
+      
+      public function setStyle(styleName:String, styleObject:Object) : void
+      {
+         var lowerStr:String = styleName.toLowerCase();
+         this._css[lowerStr] = this._copy(styleObject);
+         this.doTransform(lowerStr);
+         this._update();
+      }
+      
+      public function clear() : void
+      {
+         this._css = {};
+         this._styles = {};
+         this._update();
+      }
+      
+      public function get styleNames() : Array
+      {
+         var n:Object = null;
+         var a:Array = [];
+         for(n in this._css)
+         {
+            a.push(n);
+         }
+         return a;
+      }
+      
+      public function transform(formatObject:Object) : TextFormat
+      {
+         if(formatObject == null)
+         {
+            return null;
+         }
+         var f:TextFormat = new TextFormat();
+         var v:* = formatObject.textAlign;
+         if(v)
+         {
+            f.align = v;
+         }
+         v = formatObject.fontSize;
+         if(v)
+         {
+            v = parseInt(v,10);
+            if(v > 0)
+            {
+               f.size = v;
+            }
+         }
+         v = formatObject.textDecoration;
+         if(v == "none")
+         {
+            f.underline = false;
+         }
+         else if(v == "underline")
+         {
+            f.underline = true;
+         }
+         v = formatObject.marginLeft;
+         if(v)
+         {
+            f.leftMargin = parseInt(v,10);
+         }
+         v = formatObject.marginRight;
+         if(v)
+         {
+            f.rightMargin = parseInt(v,10);
+         }
+         v = formatObject.leading;
+         if(v)
+         {
+            f.leading = parseInt(v,10);
+         }
+         v = formatObject.kerning;
+         if(v == "true")
+         {
+            f.kerning = 1;
+         }
+         else if(v == "false")
+         {
+            f.kerning = 0;
+         }
+         else
+         {
+            f.kerning = parseInt(v,10);
+         }
+         v = formatObject.letterSpacing;
+         if(v)
+         {
+            f.letterSpacing = parseFloat(v);
+         }
+         v = formatObject.fontFamily;
+         if(v)
+         {
+            f.font = this._parseCSSFontFamily(v);
+         }
+         v = formatObject.display;
+         if(v)
+         {
+            f.display = v;
+         }
+         v = formatObject.fontWeight;
+         if(v == "bold")
+         {
+            f.bold = true;
+         }
+         else if(v == "normal")
+         {
+            f.bold = false;
+         }
+         v = formatObject.fontStyle;
+         if(v == "italic")
+         {
+            f.italic = true;
+         }
+         else if(v == "normal")
+         {
+            f.italic = false;
+         }
+         v = formatObject.textIndent;
+         if(v)
+         {
+            f.indent = parseInt(v,10);
+         }
+         v = formatObject.color;
+         if(v)
+         {
+            v = this._parseColor(v);
+            if(v != null)
+            {
+               f.color = v;
+            }
+         }
+         return f;
+      }
+      
+      public function parseCSS(CSSText:String) : void
+      {
+         var n:String = null;
+         var r:Object = this._parseCSSInternal(CSSText);
+         if(typeof r == "null")
+         {
+            return;
+         }
+         for(n in r)
+         {
+            this._css[n] = this._copy(r[n]);
+            this.doTransform(n);
+         }
+         this._update();
+      }
+      
+       private function get _styles() : Object{return null}
+      
+       private function set _styles(param1:Object) : void{/**/}
+      
+      private function doTransform(n:String) : void
+      {
+         var f:TextFormat = this.transform(this._css[n]);
+         this._styles[n] = f;
+      }
+      
+      private function _copy(o:Object) : Object
+      {
+         var n:Object = null;
+         if(typeof o != "object")
+         {
+            return null;
+         }
+         var r:Object = {};
+         for(n in o)
+         {
+            r[n] = o[n];
+         }
+         return r;
+      }
+      
+       private function _update() : void{/**/}
+      
+       private function _parseCSSInternal(param1:String) : Object{return null}
+      
+       private function _parseCSSFontFamily(param1:String) : String{return 
null}
+      
+       private function _parseColor(param1:String) : uint{return 0;}
+   }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextColorType.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextColorType.as 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextColorType.as
new file mode 100644
index 0000000..941424f
--- /dev/null
+++ b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextColorType.as
@@ -0,0 +1,33 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.text
+{
+   public final class TextColorType extends Object
+   {
+      
+      public static const DARK_COLOR:String = "dark";
+      
+      public static const LIGHT_COLOR:String = "light";
+       
+      public function TextColorType()
+      {
+         super();
+      }
+   }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextDisplayMode.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextDisplayMode.as 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextDisplayMode.as
new file mode 100644
index 0000000..32a6179
--- /dev/null
+++ 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextDisplayMode.as
@@ -0,0 +1,35 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.text
+{
+   public final class TextDisplayMode extends Object
+   {
+      
+      public static const LCD:String = "lcd";
+      
+      public static const CRT:String = "crt";
+      
+      public static const DEFAULT:String = "default";
+       
+      public function TextDisplayMode()
+      {
+         super();
+      }
+   }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextExtent.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextExtent.as 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextExtent.as
new file mode 100644
index 0000000..b67deef
--- /dev/null
+++ b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextExtent.as
@@ -0,0 +1,47 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.text
+{
+   public class TextExtent extends Object
+   {
+       
+      public var width:Number;
+      
+      public var height:Number;
+      
+      public var textFieldWidth:Number;
+      
+      public var textFieldHeight:Number;
+      
+      public var ascent:Number;
+      
+      public var descent:Number;
+      
+      public function TextExtent(width:Number, height:Number, 
textFieldWidth:Number, textFieldHeight:Number, ascent:Number, descent:Number)
+      {
+         super();
+         this.width = width;
+         this.height = height;
+         this.textFieldWidth = textFieldWidth;
+         this.textFieldHeight = textFieldHeight;
+         this.ascent = ascent;
+         this.descent = descent;
+      }
+   }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextField.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextField.as 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextField.as
new file mode 100644
index 0000000..49ecb49
--- /dev/null
+++ b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextField.as
@@ -0,0 +1,528 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.text
+{
+       import flash.display.BlendMode;
+       import flash.display.Graphics;
+       import flash.display.InteractiveObject;
+       import flash.events.Event;
+       import flash.geom.Matrix;
+       import flash.geom.Rectangle;
+       import flash.display.DisplayObject;
+       
+       public class TextField extends InteractiveObject
+       {
+               private var input:HTMLInputElement;
+               private var _type:String = TextFieldType.DYNAMIC;
+               private var graphics:Graphics = new Graphics;
+               private var graphicsDirty:Boolean = true;
+               private static var richTextFields:Array = ["font", "size", 
"color", "bold", "italic", "underline", "url", "target", "align", "leftMargin", 
"rightMargin", "indent", "leading", "blockIndent", "kerning", "letterSpacing", 
"display"];
+               private var _text:String="";
+               private var lines:Array = [];
+               private var _textFormat:TextFormat=new TextFormat;
+               private var _width:Number = 100;
+               private var _height:Number = 100;
+               private var _autoSize:String;
+               private var _background:Boolean = false;
+               private var _backgroundColor:uint = 0;
+               private var _border:Boolean = false;
+               private var _borderColor:uint = 0;
+               private var boundHelpRect:Rectangle = new Rectangle;
+               public function TextField()
+               {
+                       textColor = 0;
+                       addEventListener(Event.REMOVED_FROM_STAGE, 
removedFromStage);
+               }
+               
+               private function removedFromStage(e:Event):void 
+               {
+                       if (input&&input.parentElement){
+                               input.parentElement.removeChild(input);
+                       }
+               }
+               
+               public static function isFontCompatible(param1:String, 
param2:String):Boolean  { return false; }
+               
+               public function get alwaysShowSelection():Boolean  { return 
false; }
+               
+               public function set alwaysShowSelection(param1:Boolean):void  
{/**/ }
+               
+               public function get antiAliasType():String  { return null; }
+               
+               public function set antiAliasType(param1:String):void  {/**/ }
+               
+               public function get autoSize():String  { return _autoSize; }
+               
+               public function set autoSize(param1:String):void  {
+                       _autoSize = param1; 
+                       graphicsDirty = true;
+                       SpriteFlexjs.dirtyGraphics = true;
+               }
+               
+               public function get background():Boolean  { return _background; 
}
+               
+               public function set background(param1:Boolean):void  {
+                       _background = param1;
+                       graphicsDirty = true;
+                       SpriteFlexjs.dirtyGraphics = true;
+               }
+               
+               public function get backgroundColor():uint  { return 
_backgroundColor; }
+               
+               public function set backgroundColor(param1:uint):void  {
+                       _backgroundColor=param1 
+                       graphicsDirty = true;
+                       SpriteFlexjs.dirtyGraphics = true;
+               }
+               
+               public function get border():Boolean  { return _border; }
+               
+               public function set border(param1:Boolean):void  {
+                       _border = param1;
+                       graphicsDirty = true;
+                       SpriteFlexjs.dirtyGraphics = true;
+               }
+               
+               public function get borderColor():uint  { return _borderColor; }
+               
+               public function set borderColor(param1:uint):void  {
+                       _borderColor = param1 ;
+                       graphicsDirty = true;
+                       SpriteFlexjs.dirtyGraphics = true;
+               }
+               
+               public function get bottomScrollV():int  { return 0; }
+               
+               public function get caretIndex():int  { return 0; }
+               
+               public function get condenseWhite():Boolean  { return false; }
+               
+               public function set condenseWhite(param1:Boolean):void  {/**/ }
+               
+               public function get defaultTextFormat():TextFormat  { return 
_textFormat; }
+               
+               public function set defaultTextFormat(param1:TextFormat):void  {
+                       _textFormat = param1; 
+                       graphicsDirty = true;
+                       SpriteFlexjs.dirtyGraphics = true;
+               }
+               
+               public function get embedFonts():Boolean  { return false; }
+               
+               public function set embedFonts(param1:Boolean):void  {/**/ }
+               
+               public function get gridFitType():String  { return null; }
+               
+               public function set gridFitType(param1:String):void  {/**/ }
+               
+               public function get htmlText():String  { return null; }
+               
+               public function set htmlText(param1:String):void  {/**/ }
+               
+               public function get length():int  { return 0; }
+               
+               public function get textInteractionMode():String  { return 
null; }
+               
+               public function get maxChars():int  { return 0; }
+               
+               public function set maxChars(param1:int):void  {/**/ }
+               
+               public function get maxScrollH():int  { return 0; }
+               
+               public function get maxScrollV():int  { return 0; }
+               
+               public function get mouseWheelEnabled():Boolean  { return 
false; }
+               
+               public function set mouseWheelEnabled(param1:Boolean):void  
{/**/ }
+               
+               public function get multiline():Boolean  { return false; }
+               
+               public function set multiline(param1:Boolean):void  {/**/ }
+               
+               public function get numLines():int  { return 0; }
+               
+               public function get displayAsPassword():Boolean  { return 
false; }
+               
+               public function set displayAsPassword(param1:Boolean):void  
{/**/ }
+               
+               public function get restrict():String  { return null; }
+               
+               public function set restrict(param1:String):void  {/**/ }
+               
+               public function get scrollH():int  { return 0; }
+               
+               public function set scrollH(param1:int):void  {/**/ }
+               
+               public function get scrollV():int  { return 0; }
+               
+               public function set scrollV(param1:int):void  {/**/ }
+               
+               public function get selectable():Boolean  { return false; }
+               
+               public function set selectable(param1:Boolean):void  {/**/ }
+               
+               public function get selectedText():String
+               {
+                       return this.text.substring(this.selectionBeginIndex, 
this.selectionEndIndex);
+               }
+               
+               public function get selectionBeginIndex():int  { return 0; }
+               
+               public function get selectionEndIndex():int  { return 0; }
+               
+               public function get sharpness():Number  { return 0; }
+               
+               public function set sharpness(param1:Number):void  {/**/ }
+               
+               public function get styleSheet():StyleSheet  { return null; }
+               
+               public function set styleSheet(param1:StyleSheet):void  {/**/ }
+               
+               public function get text():String  { return _text; }
+               
+               public function set text(txt:String):void  {
+                       _text = txt; 
+                       lines = txt.split("\n");
+                       SpriteFlexjs.dirtyGraphics = true;
+                       graphicsDirty = true;
+               }
+               
+               public function get textColor():uint  { return 
int(_textFormat.color); }
+               
+               public function set textColor(color:uint):void
+               {
+                       _textFormat.color = color;
+                       graphicsDirty = true;
+                       SpriteFlexjs.dirtyGraphics = true;
+               }
+               
+               public function get textHeight():Number  { 
+                       return lines?int(defaultTextFormat.size) * lines.length 
: 0; 
+               }
+               
+               public function get textWidth():Number  { 
+                       if (stage && lines)
+                       {
+                               var ctx:CanvasRenderingContext2D = stage.ctx2d;
+                               ctx.font = defaultTextFormat.css;
+                               var w:int = 0;
+                               for (var i:int = 0; i < lines.length;i++ ){
+                                       var w2:int = 
ctx.measureText(lines[i]).width;
+                                       if (w2>w){
+                                               w = w2;
+                                       }
+                               }
+                               return w;
+                       }
+                       return 0; 
+               }
+               
+               public function get thickness():Number  { return 0; }
+               
+               public function set thickness(param1:Number):void  {/**/ }
+               
+               public function get type():String  { return _type; }
+               
+               public function set type(param1:String):void  {
+                       _type = param1;
+                       if (_type==TextFieldType.INPUT){
+                               if (input==null){
+                                       input = document.createElement("input") 
as HTMLInputElement;
+                                       input.oninput = input_change;
+                                       input.style.position = "absolute";
+                                       input.style.backgroundColor = 
"transparent";
+                                       input.style.borderWidth = 0;
+                                       input.style.outline = "none";
+                               }
+                       }
+               }
+               
+               private function input_change(e:Event):void 
+               {
+                       text = input.value;
+               }
+               
+               public function get wordWrap():Boolean  { return false; }
+               
+               public function set wordWrap(param1:Boolean):void  {/**/ }
+               
+               public function appendText(newText:String):void
+               {
+                       this.replaceText(this.text.length, this.text.length, 
newText);
+               }
+               
+               override public function get width():Number 
+               {
+                       return 
autoSize==TextFieldAutoSize.LEFT?(textWidth+4):_width;
+               }
+               
+               override public function set width(value:Number):void 
+               {
+                       _width = value;
+               }
+               
+               override public function get height():Number 
+               {
+                       return 
autoSize==TextFieldAutoSize.LEFT?(textHeight+2):_height;
+               }
+               
+               override public function set height(value:Number):void 
+               {
+                       _height = value;
+               }
+               
+               /*private function copyRichText() : String
+                  {
+                  return 
this.getXMLText(this.selectionBeginIndex,this.selectionEndIndex);
+                  }*/
+               
+               public function getCharBoundaries(param1:int):Rectangle  { 
return null; }
+               
+               public function getCharIndexAtPoint(param1:Number, 
param2:Number):int  { return 0; }
+               
+               private function getCharIndexNearestPoint(param1:Number, 
param2:Number):int  { return 0; }
+               
+               public function getFirstCharInParagraph(param1:int):int  { 
return 0; }
+               
+               public function getLineIndexAtPoint(param1:Number, 
param2:Number):int  { return 0; }
+               
+               public function getLineIndexOfChar(param1:int):int  { return 0; 
}
+               
+               public function getLineLength(param1:int):int  { return 0; }
+               
+               public function getLineMetrics(param1:int):TextLineMetrics  { 
return null; }
+               
+               public function getLineOffset(param1:int):int  { return 0; }
+               
+               public function getLineText(param1:int):String  { return null; }
+               
+               public function getParagraphLength(param1:int):int  { return 0; 
}
+               
+               public function getTextFormat(param1:int = -1, param2:int = 
-1):TextFormat  { return _textFormat; }
+               
+               public function getTextRuns(param1:int = 0, param2:int = 
2147483647):Array  { return null; }
+               
+               public function getRawText():String  { return null; }
+               
+               /*public function getXMLText(beginIndex:int = 0, endIndex:int = 
2147483647) : String
+                  {
+                  var run:TextRun = null;
+                  var format:TextFormat = null;
+                  var text:String = null;
+                  var runXML:XML = null;
+                  var j:uint = 0;
+                  var name:String = null;
+                  var value:* = undefined;
+                  var runs:Array = this.getTextRuns(beginIndex,endIndex);
+                  var entireText:String = this.getRawText();
+                  var result:XML = <flashrichtext version="1"/>;
+                  for(var i:uint = 0; i < runs.length; i++)
+                  {
+                  run = runs[i];
+                  format = run.textFormat;
+                  text = entireText.substring(run.beginIndex,run.endIndex);
+                  text = "(" + text + ")";
+                  runXML = <textformat>{text}</textformat>;
+                  for(j = 0; j < richTextFields.length; j++)
+                  {
+                  name = richTextFields[j];
+                  value = format[name];
+                  if(value != null)
+                  {
+                  runXML["@" + name] = value;
+                  }
+                  }
+                  result.flashrichtext = result.flashrichtext + runXML;
+                  }
+                  return result.toXMLString();
+                  }
+               
+                  public function insertXMLText(beginIndex:int, endIndex:int, 
richText:String, pasting:Boolean = false) : void
+                  {
+                  var run:XML = null;
+                  var temp:* = 0;
+                  var attributes:XMLList = null;
+                  var format:TextFormat = null;
+                  var attribute:XML = null;
+                  var text:String = null;
+                  var name:String = null;
+                  var value:String = null;
+                  var spaceAvail:* = 0;
+                  var richTextXML:XML = XML(richText);
+                  if(richTextXML.@version != "1")
+                  {
+                  Error.throwError(Error,2138);
+                  }
+                  if(beginIndex > endIndex)
+                  {
+                  temp = beginIndex;
+                  beginIndex = endIndex;
+                  endIndex = temp;
+                  }
+                  var first:Boolean = true;
+                  for each(run in richTextXML..textformat)
+                  {
+                  attributes = run.attributes();
+                  format = new TextFormat();
+                  for each(attribute in attributes)
+                  {
+                  name = attribute.name().localName;
+                  value = String(attribute);
+                  if(name == "bold" || name == "italic" || name == "underline")
+                  {
+                  format[name] = value == "true";
+                  }
+                  else
+                  {
+                  format[name] = value;
+                  }
+                  }
+                  text = String(run.children());
+                  text = text.substring(1,text.length - 1);
+                  if(this.maxChars > 0 && pasting == true)
+                  {
+                  spaceAvail = this.maxChars - this.length + (endIndex - 
beginIndex);
+                  if(spaceAvail < text.length)
+                  {
+                  if(spaceAvail <= 0)
+                  {
+                  return;
+                  }
+                  text = text.substring(0,spaceAvail);
+                  }
+                  }
+                  this.replaceText(beginIndex,endIndex,text);
+                  this.setTextFormat(format,beginIndex,beginIndex + 
text.length);
+                  beginIndex = beginIndex + text.length;
+                  endIndex = beginIndex;
+                  if(pasting)
+                  {
+                  this.setSelection(beginIndex,endIndex);
+                  }
+                  first = false;
+                  }
+                  if(first)
+                  {
+                  this.replaceText(beginIndex,endIndex,"");
+                  }
+                  }
+               
+                  private function pasteRichText(richText:String) : Boolean
+                  {
+                  if(richText == null)
+                  {
+                  Error.throwError(TypeError,2007,"richText");
+                  }
+                  try
+                  {
+                  
this.insertXMLText(this.selectionBeginIndex,this.selectionEndIndex,richText,true);
+                  }
+                  catch(e:Error)
+                  {
+                  return false;
+                  }
+                  return true;
+                  }*/
+               
+               public function replaceSelectedText(param1:String):void  {/**/ }
+               
+               public function replaceText(beginIndex:int, endIndex:int, 
newText:String):void  {
+                       text = _text.substr(0, beginIndex) + newText + 
_text.substr(endIndex);
+               }
+               
+               public function setSelection(param1:int, param2:int):void  
{/**/ }
+               
+               public function setTextFormat(param1:TextFormat, param2:int = 
-1, param3:int = -1):void  { _textFormat = param1; }
+               
+               public function getImageReference(param1:String):DisplayObject  
{ return null; }
+               
+               public function get useRichTextClipboard():Boolean  { return 
false; }
+               
+               public function set useRichTextClipboard(param1:Boolean):void  
{/**/ }
+               
+               override public function 
__update(ctx:CanvasRenderingContext2D):void
+               {
+                       super.__update(ctx);
+                       if (/*stage &&*/ _text != null&&visible)
+                       {
+                               __draw(ctx,transform.concatenatedMatrix);
+                               SpriteFlexjs.drawCounter++;
+                       }
+               }
+               
+               public function __draw(ctx:CanvasRenderingContext2D, 
m:Matrix):void{
+                       if(border || background){
+                               if (graphicsDirty){
+                                       graphicsDirty = false;
+                                       graphics.clear();
+                                       if (border){
+                                               graphics.lineStyle(0, 
borderColor);
+                                       }
+                                       if (background){
+                                               
graphics.beginFill(backgroundColor);
+                                       }
+                                       graphics.drawRect( -2, -1, width, 
height);
+                               }
+                               SpriteFlexjs.renderer.renderGraphics(ctx, 
graphics, m, blendMode, transform.concatenatedColorTransform);
+                       }
+                       if(type==TextFieldType.DYNAMIC){
+                               for (var i:int = 0; i < lines.length; i++ ){
+                                       //if(m.ty>0){
+                                       //      
alert(m.toString()+","+transform.matrix.toString()+" "+y);
+                                       //}
+                                       SpriteFlexjs.renderer.renderText(ctx, 
lines[i], defaultTextFormat, m, blendMode, 
transform.concatenatedColorTransform, 0, i * int(defaultTextFormat.size));
+                               }
+                       }else{
+                               input.style.left = m.tx+"px";
+                               input.style.top = m.ty + "px";
+                               input.style.width = width + "px";
+                               input.style.height = height + "px";
+                               input.style.fontFamily = defaultTextFormat.font;
+                               input.style.fontSize = 
defaultTextFormat.size+"px";
+                               input.style.color = defaultTextFormat.csscolor;
+                               if(input.value!=text)
+                               input.value = text;
+                               //input.style.transform = 
"matrix("+m.a+","+m.b+","+m.c+","+m.d+","+m.tx+","+m.ty+")";
+                               if(input.parentElement==null){
+                                       stage.__htmlWrapper.appendChild(input);
+                               }
+                       }
+               }
+               
+               override protected function 
__doMouse(e:flash.events.MouseEvent):DisplayObject 
+               {
+                       if (/*stage &&*/ mouseEnabled&&visible) {
+                               if (hitTestPoint(stage.mouseX, stage.mouseY)) {
+                                       return this;
+                               }
+                       }
+                       return null;
+               }
+               
+               override public function __getRect():Rectangle 
+               {
+                       if (text && text != "") {
+                               boundHelpRect.width = width;
+                               boundHelpRect.height = height;
+                               return boundHelpRect;
+                       }
+                       return null;
+               }
+       }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextFieldAutoSize.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextFieldAutoSize.as
 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextFieldAutoSize.as
new file mode 100644
index 0000000..28e708d
--- /dev/null
+++ 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextFieldAutoSize.as
@@ -0,0 +1,37 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.text
+{
+   public final class TextFieldAutoSize extends Object
+   {
+      
+      public static const NONE:String = "none";
+      
+      public static const LEFT:String = "left";
+      
+      public static const CENTER:String = "center";
+      
+      public static const RIGHT:String = "right";
+       
+      public function TextFieldAutoSize()
+      {
+         super();
+      }
+   }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextFieldType.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextFieldType.as 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextFieldType.as
new file mode 100644
index 0000000..ea3d097
--- /dev/null
+++ b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextFieldType.as
@@ -0,0 +1,33 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.text
+{
+   public final class TextFieldType extends Object
+   {
+      
+      public static const INPUT:String = "input";
+      
+      public static const DYNAMIC:String = "dynamic";
+       
+      public function TextFieldType()
+      {
+         super();
+      }
+   }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextFormat.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextFormat.as 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextFormat.as
new file mode 100644
index 0000000..ba3f2f6
--- /dev/null
+++ b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextFormat.as
@@ -0,0 +1,172 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.text
+{
+       
+       public class TextFormat extends Object
+       {
+               private var _css:String;
+               private var dirty:Boolean = true;
+               private var _font:String;
+               private var _size:Object=12;
+               private var _color:Object;
+               public function TextFormat(font:String = null, size:Object = 
null, color:Object = null, bold:Object = null, italic:Object = null, 
underline:Object = null, url:String = null, target:String = null, align:String 
= null, leftMargin:Object = null, rightMargin:Object = null, indent:Object = 
null, leading:Object = null)
+               {
+                       super();
+                       if (font != null)
+                       {
+                               this.font = font;
+                       }
+                       if (size != null)
+                       {
+                               this.size = size;
+                       }
+                       if (color != null)
+                       {
+                               this.color = color;
+                       }
+                       if (bold != null)
+                       {
+                               this.bold = bold;
+                       }
+                       if (italic != null)
+                       {
+                               this.italic = italic;
+                       }
+                       if (underline != null)
+                       {
+                               this.underline = underline;
+                       }
+                       if (url != null)
+                       {
+                               this.url = url;
+                       }
+                       if (target != null)
+                       {
+                               this.target = target;
+                       }
+                       if (align != null)
+                       {
+                               this.align = align;
+                       }
+                       if (leftMargin != null)
+                       {
+                               this.leftMargin = leftMargin;
+                       }
+                       if (rightMargin != null)
+                       {
+                               this.rightMargin = rightMargin;
+                       }
+                       if (indent != null)
+                       {
+                               this.indent = indent;
+                       }
+                       if (leading != null)
+                       {
+                               this.leading = leading;
+                       }
+               }
+               
+               public function get align():String  { return null; }
+               
+               public function set align(param1:String):void  {/**/ }
+               
+               public function get blockIndent():Object  { return null; }
+               
+               public function set blockIndent(param1:Object):void  {/**/ }
+               
+               public function get bold():Object  { return null; }
+               
+               public function set bold(param1:Object):void  {/**/ }
+               
+               public function get bullet():Object  { return null; }
+               
+               public function set bullet(param1:Object):void  {/**/ }
+               
+               public function get color():Object  { return _color; }
+               
+               public function set color(param1:Object):void  { _color = 
param1; }
+               
+               public function get display():String  { return null; }
+               
+               public function set display(param1:String):void  {/**/ }
+               
+               public function get font():String  { return _font; }
+               
+               public function set font(param1:String):void  { _font = param1; 
}
+               
+               public function get indent():Object  { return null; }
+               
+               public function set indent(param1:Object):void  {/**/ }
+               
+               public function get italic():Object  { return null; }
+               
+               public function set italic(param1:Object):void  {/**/ }
+               
+               public function get kerning():Object  { return null; }
+               
+               public function set kerning(param1:Object):void  {/**/ }
+               
+               public function get leading():Object  { return null; }
+               
+               public function set leading(param1:Object):void  {/**/ }
+               
+               public function get leftMargin():Object  { return null; }
+               
+               public function set leftMargin(param1:Object):void  {/**/ }
+               
+               public function get letterSpacing():Object  { return null; }
+               
+               public function set letterSpacing(param1:Object):void  {/**/ }
+               
+               public function get rightMargin():Object  { return null; }
+               
+               public function set rightMargin(param1:Object):void  {/**/ }
+               
+               public function get size():Object  { return _size; }
+               
+               public function set size(param1:Object):void  { _size = param1; 
}
+               
+               public function get tabStops():Array  { return null; }
+               
+               public function set tabStops(param1:Array):void  {/**/ }
+               
+               public function get target():String  { return null; }
+               
+               public function set target(param1:String):void  {/**/ }
+               
+               public function get underline():Object  { return null; }
+               
+               public function set underline(param1:Object):void  {/**/ }
+               
+               public function get url():String  { return null; }
+               
+               public function set url(param1:String):void  {/**/ }
+               
+               public function get css():String
+               {
+                       _css = size+"px " +font;
+                       return _css;
+               }
+               
+               public function get csscolor():String {
+                       return "rgb(" + (int(color) >> 16 & 0xff) + "," + 
(int(color) >> 8 & 0xff) + "," + (int(color) & 0xff) + ")";
+               }
+       }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextFormatAlign.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextFormatAlign.as 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextFormatAlign.as
new file mode 100644
index 0000000..8387ef9
--- /dev/null
+++ 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextFormatAlign.as
@@ -0,0 +1,41 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.text
+{
+   public final class TextFormatAlign extends Object
+   {
+      
+      public static const LEFT:String = "left";
+      
+      public static const CENTER:String = "center";
+      
+      public static const RIGHT:String = "right";
+      
+      public static const JUSTIFY:String = "justify";
+      
+      public static const START:String = "start";
+      
+      public static const END:String = "end";
+       
+      public function TextFormatAlign()
+      {
+         super();
+      }
+   }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextFormatDisplay.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextFormatDisplay.as
 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextFormatDisplay.as
new file mode 100644
index 0000000..8a9604a
--- /dev/null
+++ 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextFormatDisplay.as
@@ -0,0 +1,34 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.text
+{
+   [ExcludeClass]
+   public final class TextFormatDisplay extends Object
+   {
+      
+      public static const INLINE:String = "inline";
+      
+      public static const BLOCK:String = "block";
+       
+      public function TextFormatDisplay()
+      {
+         super();
+      }
+   }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextInteractionMode.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextInteractionMode.as
 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextInteractionMode.as
new file mode 100644
index 0000000..e4ab28a
--- /dev/null
+++ 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextInteractionMode.as
@@ -0,0 +1,33 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.text
+{
+   public final class TextInteractionMode extends Object
+   {
+      
+      public static const NORMAL:String = "normal";
+      
+      public static const SELECTION:String = "selection";
+       
+      public function TextInteractionMode()
+      {
+         super();
+      }
+   }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextLineMetrics.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextLineMetrics.as 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextLineMetrics.as
new file mode 100644
index 0000000..af5a25f
--- /dev/null
+++ 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextLineMetrics.as
@@ -0,0 +1,47 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.text
+{
+   public class TextLineMetrics extends Object
+   {
+       
+      public var x:Number;
+      
+      public var width:Number;
+      
+      public var height:Number;
+      
+      public var ascent:Number;
+      
+      public var descent:Number;
+      
+      public var leading:Number;
+      
+      public function TextLineMetrics(x:Number, width:Number, height:Number, 
ascent:Number, descent:Number, leading:Number)
+      {
+         super();
+         this.x = x;
+         this.width = width;
+         this.height = height;
+         this.ascent = ascent;
+         this.descent = descent;
+         this.leading = leading;
+      }
+   }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextRenderer.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextRenderer.as 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextRenderer.as
new file mode 100644
index 0000000..8c79d09
--- /dev/null
+++ b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextRenderer.as
@@ -0,0 +1,55 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.text
+{
+   public final class TextRenderer extends Object
+   {
+       
+      public function TextRenderer()
+      {
+         super();
+      }
+      
+       public static function get antiAliasType() : String{
+                  return null;
+          }
+      
+       public static function set antiAliasType(param1:String) : void{
+          }
+      
+       public static function setAdvancedAntiAliasingTable(param1:String, 
param2:String, param3:String, param4:Array) : void{
+          }
+      
+       public static function get maxLevel() : int{
+                  return 0;
+          }
+      
+       public static function set maxLevel(param1:int) : void{
+                  
+          }
+      
+       public static function get displayMode() : String{
+                  return null;
+          }
+      
+       public static function set displayMode(param1:String) : void{
+                  
+          }
+   }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextRun.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextRun.as 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextRun.as
new file mode 100644
index 0000000..6b571ae
--- /dev/null
+++ b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextRun.as
@@ -0,0 +1,39 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.text
+{
+   [ExcludeClass]
+   public class TextRun extends Object
+   {
+       
+      public var beginIndex:int;
+      
+      public var endIndex:int;
+      
+      public var textFormat:TextFormat;
+      
+      public function TextRun(beginIndex:int, endIndex:int, 
textFormat:TextFormat)
+      {
+         super();
+         this.beginIndex = beginIndex;
+         this.endIndex = endIndex;
+         this.textFormat = textFormat;
+      }
+   }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextSnapshot.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextSnapshot.as 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextSnapshot.as
new file mode 100644
index 0000000..91c019f
--- /dev/null
+++ b/frameworks/projects/spriteflexjs/src/main/flex/flash/text/TextSnapshot.as
@@ -0,0 +1,65 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.text
+{
+   public class TextSnapshot extends Object
+   {
+       
+      public function TextSnapshot()
+      {
+         super();
+      }
+      
+       public function findText(param1:int, param2:String, param3:Boolean) : 
int{
+                  return 0;
+          }
+      
+       public function get charCount() : int{
+                  return 0;
+          }
+      
+       public function getSelected(param1:int, param2:int) : Boolean{
+                  return true;
+          }
+      
+       public function getSelectedText(param1:Boolean = false) : String{
+                  return null;
+          }
+      
+       public function getText(param1:int, param2:int, param3:Boolean = false) 
: String{
+                  return null;
+          }
+      
+       public function getTextRunInfo(param1:int, param2:int) : Array{
+                  return null;
+          }
+      
+       public function hitTestTextNearPos(param1:Number, param2:Number, 
param3:Number = 0) : Number{
+                  return 0;
+          }
+      
+       public function setSelectColor(param1:uint = 16776960) : void{
+                  
+          }
+      
+       public function setSelected(param1:int, param2:int, param3:Boolean) : 
void{
+                  
+          }
+   }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/KeyLocation.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/KeyLocation.as 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/KeyLocation.as
new file mode 100644
index 0000000..5d9651d
--- /dev/null
+++ b/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/KeyLocation.as
@@ -0,0 +1,40 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.ui
+{
+       
+       public final class KeyLocation extends Object
+       {
+               
+               public static const STANDARD:uint = 0;
+               
+               public static const LEFT:uint = 1;
+               
+               public static const RIGHT:uint = 2;
+               
+               public static const NUM_PAD:uint = 3;
+               
+               public static const D_PAD:uint = 4;
+               
+               public function KeyLocation()
+               {
+                       super();
+               }
+       }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/Keyboard.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/Keyboard.as 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/Keyboard.as
new file mode 100644
index 0000000..4faaa5f
--- /dev/null
+++ b/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/Keyboard.as
@@ -0,0 +1,607 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.ui
+{
+       
+       public final class Keyboard extends Object
+       {
+               
+               public static const KEYNAME_UPARROW:String = "Up";
+               
+               public static const KEYNAME_DOWNARROW:String = "Down";
+               
+               public static const KEYNAME_LEFTARROW:String = "Left";
+               
+               public static const KEYNAME_RIGHTARROW:String = "Right";
+               
+               public static const KEYNAME_F1:String = "F1";
+               
+               public static const KEYNAME_F2:String = "F2";
+               
+               public static const KEYNAME_F3:String = "F3";
+               
+               public static const KEYNAME_F4:String = "F4";
+               
+               public static const KEYNAME_F5:String = "F5";
+               
+               public static const KEYNAME_F6:String = "F6";
+               
+               public static const KEYNAME_F7:String = "F7";
+               
+               public static const KEYNAME_F8:String = "F8";
+               
+               public static const KEYNAME_F9:String = "F9";
+               
+               public static const KEYNAME_F10:String = "F10";
+               
+               public static const KEYNAME_F11:String = "F11";
+               
+               public static const KEYNAME_F12:String = "F12";
+               
+               public static const KEYNAME_F13:String = "F13";
+               
+               public static const KEYNAME_F14:String = "F14";
+               
+               public static const KEYNAME_F15:String = "F15";
+               
+               public static const KEYNAME_F16:String = "F16";
+               
+               public static const KEYNAME_F17:String = "F17";
+               
+               public static const KEYNAME_F18:String = "F18";
+               
+               public static const KEYNAME_F19:String = "F19";
+               
+               public static const KEYNAME_F20:String = "F20";
+               
+               public static const KEYNAME_F21:String = "F21";
+               
+               public static const KEYNAME_F22:String = "F22";
+               
+               public static const KEYNAME_F23:String = "F23";
+               
+               public static const KEYNAME_F24:String = "F24";
+               
+               public static const KEYNAME_F25:String = "F25";
+               
+               public static const KEYNAME_F26:String = "F26";
+               
+               public static const KEYNAME_F27:String = "F27";
+               
+               public static const KEYNAME_F28:String = "F28";
+               
+               public static const KEYNAME_F29:String = "F29";
+               
+               public static const KEYNAME_F30:String = "F30";
+               
+               public static const KEYNAME_F31:String = "F31";
+               
+               public static const KEYNAME_F32:String = "F32";
+               
+               public static const KEYNAME_F33:String = "F33";
+               
+               public static const KEYNAME_F34:String = "F34";
+               
+               public static const KEYNAME_F35:String = "F35";
+               
+               public static const KEYNAME_INSERT:String = "Insert";
+               
+               public static const KEYNAME_DELETE:String = "Delete";
+               
+               public static const KEYNAME_HOME:String = "Home";
+               
+               public static const KEYNAME_BEGIN:String = "Begin";
+               
+               public static const KEYNAME_END:String = "End";
+               
+               public static const KEYNAME_PAGEUP:String = "PgUp";
+               
+               public static const KEYNAME_PAGEDOWN:String = "PgDn";
+               
+               public static const KEYNAME_PRINTSCREEN:String = "PrntScrn";
+               
+               public static const KEYNAME_SCROLLLOCK:String = "ScrlLck";
+               
+               public static const KEYNAME_PAUSE:String = "Pause";
+               
+               public static const KEYNAME_SYSREQ:String = "SysReq";
+               
+               public static const KEYNAME_BREAK:String = "Break";
+               
+               public static const KEYNAME_RESET:String = "Reset";
+               
+               public static const KEYNAME_STOP:String = "Stop";
+               
+               public static const KEYNAME_MENU:String = "Menu";
+               
+               public static const KEYNAME_USER:String = "User";
+               
+               public static const KEYNAME_SYSTEM:String = "Sys";
+               
+               public static const KEYNAME_PRINT:String = "Print";
+               
+               public static const KEYNAME_CLEARLINE:String = "ClrLn";
+               
+               public static const KEYNAME_CLEARDISPLAY:String = "ClrDsp";
+               
+               public static const KEYNAME_INSERTLINE:String = "InsLn";
+               
+               public static const KEYNAME_DELETELINE:String = "DelLn";
+               
+               public static const KEYNAME_INSERTCHAR:String = "InsChr";
+               
+               public static const KEYNAME_DELETECHAR:String = "DelChr";
+               
+               public static const KEYNAME_PREV:String = "Prev";
+               
+               public static const KEYNAME_NEXT:String = "Next";
+               
+               public static const KEYNAME_SELECT:String = "Select";
+               
+               public static const KEYNAME_EXECUTE:String = "Exec";
+               
+               public static const KEYNAME_UNDO:String = "Undo";
+               
+               public static const KEYNAME_REDO:String = "Redo";
+               
+               public static const KEYNAME_FIND:String = "Find";
+               
+               public static const KEYNAME_HELP:String = "Help";
+               
+               public static const KEYNAME_MODESWITCH:String = "ModeSw";
+               
+               public static const STRING_UPARROW:String = "";
+               
+               public static const STRING_DOWNARROW:String = "";
+               
+               public static const STRING_LEFTARROW:String = "";
+               
+               public static const STRING_RIGHTARROW:String = "";
+               
+               public static const STRING_F1:String = "";
+               
+               public static const STRING_F2:String = "";
+               
+               public static const STRING_F3:String = "";
+               
+               public static const STRING_F4:String = "";
+               
+               public static const STRING_F5:String = "";
+               
+               public static const STRING_F6:String = "";
+               
+               public static const STRING_F7:String = "";
+               
+               public static const STRING_F8:String = "";
+               
+               public static const STRING_F9:String = "";
+               
+               public static const STRING_F10:String = "";
+               
+               public static const STRING_F11:String = "";
+               
+               public static const STRING_F12:String = "";
+               
+               public static const STRING_F13:String = "";
+               
+               public static const STRING_F14:String = "";
+               
+               public static const STRING_F15:String = "";
+               
+               public static const STRING_F16:String = "";
+               
+               public static const STRING_F17:String = "";
+               
+               public static const STRING_F18:String = "";
+               
+               public static const STRING_F19:String = "";
+               
+               public static const STRING_F20:String = "";
+               
+               public static const STRING_F21:String = "";
+               
+               public static const STRING_F22:String = "";
+               
+               public static const STRING_F23:String = "";
+               
+               public static const STRING_F24:String = "";
+               
+               public static const STRING_F25:String = "";
+               
+               public static const STRING_F26:String = "";
+               
+               public static const STRING_F27:String = "";
+               
+               public static const STRING_F28:String = "";
+               
+               public static const STRING_F29:String = "";
+               
+               public static const STRING_F30:String = "";
+               
+               public static const STRING_F31:String = "";
+               
+               public static const STRING_F32:String = "";
+               
+               public static const STRING_F33:String = "";
+               
+               public static const STRING_F34:String = "";
+               
+               public static const STRING_F35:String = "";
+               
+               public static const STRING_INSERT:String = "";
+               
+               public static const STRING_DELETE:String = "";
+               
+               public static const STRING_HOME:String = "";
+               
+               public static const STRING_BEGIN:String = "";
+               
+               public static const STRING_END:String = "";
+               
+               public static const STRING_PAGEUP:String = "";
+               
+               public static const STRING_PAGEDOWN:String = "";
+               
+               public static const STRING_PRINTSCREEN:String = "";
+               
+               public static const STRING_SCROLLLOCK:String = "";
+               
+               public static const STRING_PAUSE:String = "";
+               
+               public static const STRING_SYSREQ:String = "";
+               
+               public static const STRING_BREAK:String = "";
+               
+               public static const STRING_RESET:String = "";
+               
+               public static const STRING_STOP:String = "";
+               
+               public static const STRING_MENU:String = "";
+               
+               public static const STRING_USER:String = "";
+               
+               public static const STRING_SYSTEM:String = "";
+               
+               public static const STRING_PRINT:String = "";
+               
+               public static const STRING_CLEARLINE:String = "";
+               
+               public static const STRING_CLEARDISPLAY:String = "";
+               
+               public static const STRING_INSERTLINE:String = "";
+               
+               public static const STRING_DELETELINE:String = "";
+               
+               public static const STRING_INSERTCHAR:String = "";
+               
+               public static const STRING_DELETECHAR:String = "";
+               
+               public static const STRING_PREV:String = "";
+               
+               public static const STRING_NEXT:String = "";
+               
+               public static const STRING_SELECT:String = "";
+               
+               public static const STRING_EXECUTE:String = "";
+               
+               public static const STRING_UNDO:String = "";
+               
+               public static const STRING_REDO:String = "";
+               
+               public static const STRING_FIND:String = "";
+               
+               public static const STRING_HELP:String = "";
+               
+               public static const STRING_MODESWITCH:String = "";
+               
+               public static const CharCodeStrings:Array = [KEYNAME_UPARROW, 
KEYNAME_DOWNARROW, KEYNAME_LEFTARROW, KEYNAME_RIGHTARROW, KEYNAME_F1, 
KEYNAME_F2, KEYNAME_F3, KEYNAME_F4, KEYNAME_F5, KEYNAME_F6, KEYNAME_F7, 
KEYNAME_F8, KEYNAME_F9, KEYNAME_F10, KEYNAME_F11, KEYNAME_F12, KEYNAME_F13, 
KEYNAME_F14, KEYNAME_F15, KEYNAME_F16, KEYNAME_F17, KEYNAME_F18, KEYNAME_F19, 
KEYNAME_F20, KEYNAME_F21, KEYNAME_F22, KEYNAME_F23, KEYNAME_F24, KEYNAME_F25, 
KEYNAME_F26, KEYNAME_F27, KEYNAME_F28, KEYNAME_F29, KEYNAME_F30, KEYNAME_F31, 
KEYNAME_F32, KEYNAME_F33, KEYNAME_F34, KEYNAME_F35, KEYNAME_INSERT, 
KEYNAME_DELETE, KEYNAME_HOME, KEYNAME_BEGIN, KEYNAME_END, KEYNAME_PAGEUP, 
KEYNAME_PAGEDOWN, KEYNAME_PRINTSCREEN, KEYNAME_SCROLLLOCK, KEYNAME_PAUSE, 
KEYNAME_SYSREQ, KEYNAME_BREAK, KEYNAME_RESET, KEYNAME_STOP, KEYNAME_MENU, 
KEYNAME_USER, KEYNAME_SYSTEM, KEYNAME_PRINT, KEYNAME_CLEARLINE, 
KEYNAME_CLEARDISPLAY, KEYNAME_INSERTLINE, KEYNAME_DELETELINE, 
KEYNAME_INSERTCHAR, KEYNAME_DELETECHAR, KEYNAME_PREV, KEYNAME_NEX
 T, KEYNAME_SELECT, KEYNAME_EXECUTE, KEYNAME_UNDO, KEYNAME_REDO, KEYNAME_FIND, 
KEYNAME_HELP, KEYNAME_MODESWITCH];
+               
+               public static const NUMBER_0:uint = 48;
+               
+               public static const NUMBER_1:uint = 49;
+               
+               public static const NUMBER_2:uint = 50;
+               
+               public static const NUMBER_3:uint = 51;
+               
+               public static const NUMBER_4:uint = 52;
+               
+               public static const NUMBER_5:uint = 53;
+               
+               public static const NUMBER_6:uint = 54;
+               
+               public static const NUMBER_7:uint = 55;
+               
+               public static const NUMBER_8:uint = 56;
+               
+               public static const NUMBER_9:uint = 57;
+               
+               public static const A:uint = 65;
+               
+               public static const B:uint = 66;
+               
+               public static const C:uint = 67;
+               
+               public static const D:uint = 68;
+               
+               public static const E:uint = 69;
+               
+               public static const F:uint = 70;
+               
+               public static const G:uint = 71;
+               
+               public static const H:uint = 72;
+               
+               public static const I:uint = 73;
+               
+               public static const J:uint = 74;
+               
+               public static const K:uint = 75;
+               
+               public static const L:uint = 76;
+               
+               public static const M:uint = 77;
+               
+               public static const N:uint = 78;
+               
+               public static const O:uint = 79;
+               
+               public static const P:uint = 80;
+               
+               public static const Q:uint = 81;
+               
+               public static const R:uint = 82;
+               
+               public static const S:uint = 83;
+               
+               public static const T:uint = 84;
+               
+               public static const U:uint = 85;
+               
+               public static const V:uint = 86;
+               
+               public static const W:uint = 87;
+               
+               public static const X:uint = 88;
+               
+               public static const Y:uint = 89;
+               
+               public static const Z:uint = 90;
+               
+               public static const SEMICOLON:uint = 186;
+               
+               public static const EQUAL:uint = 187;
+               
+               public static const COMMA:uint = 188;
+               
+               public static const MINUS:uint = 189;
+               
+               public static const PERIOD:uint = 190;
+               
+               public static const SLASH:uint = 191;
+               
+               public static const BACKQUOTE:uint = 192;
+               
+               public static const LEFTBRACKET:uint = 219;
+               
+               public static const BACKSLASH:uint = 220;
+               
+               public static const RIGHTBRACKET:uint = 221;
+               
+               public static const QUOTE:uint = 222;
+               
+               public static const ALTERNATE:uint = 18;
+               
+               public static const BACKSPACE:uint = 8;
+               
+               public static const CAPS_LOCK:uint = 20;
+               
+               public static const COMMAND:uint = 15;
+               
+               public static const CONTROL:uint = 17;
+               
+               public static const DELETE:uint = 46;
+               
+               public static const DOWN:uint = 40;
+               
+               public static const END:uint = 35;
+               
+               public static const ENTER:uint = 13;
+               
+               public static const ESCAPE:uint = 27;
+               
+               public static const F1:uint = 112;
+               
+               public static const F2:uint = 113;
+               
+               public static const F3:uint = 114;
+               
+               public static const F4:uint = 115;
+               
+               public static const F5:uint = 116;
+               
+               public static const F6:uint = 117;
+               
+               public static const F7:uint = 118;
+               
+               public static const F8:uint = 119;
+               
+               public static const F9:uint = 120;
+               
+               public static const F10:uint = 121;
+               
+               public static const F11:uint = 122;
+               
+               public static const F12:uint = 123;
+               
+               public static const F13:uint = 124;
+               
+               public static const F14:uint = 125;
+               
+               public static const F15:uint = 126;
+               
+               public static const HOME:uint = 36;
+               
+               public static const INSERT:uint = 45;
+               
+               public static const LEFT:uint = 37;
+               
+               public static const NUMPAD:uint = 21;
+               
+               public static const NUMPAD_0:uint = 96;
+               
+               public static const NUMPAD_1:uint = 97;
+               
+               public static const NUMPAD_2:uint = 98;
+               
+               public static const NUMPAD_3:uint = 99;
+               
+               public static const NUMPAD_4:uint = 100;
+               
+               public static const NUMPAD_5:uint = 101;
+               
+               public static const NUMPAD_6:uint = 102;
+               
+               public static const NUMPAD_7:uint = 103;
+               
+               public static const NUMPAD_8:uint = 104;
+               
+               public static const NUMPAD_9:uint = 105;
+               
+               public static const NUMPAD_ADD:uint = 107;
+               
+               public static const NUMPAD_DECIMAL:uint = 110;
+               
+               public static const NUMPAD_DIVIDE:uint = 111;
+               
+               public static const NUMPAD_ENTER:uint = 108;
+               
+               public static const NUMPAD_MULTIPLY:uint = 106;
+               
+               public static const NUMPAD_SUBTRACT:uint = 109;
+               
+               public static const PAGE_DOWN:uint = 34;
+               
+               public static const PAGE_UP:uint = 33;
+               
+               public static const RIGHT:uint = 39;
+               
+               public static const SHIFT:uint = 16;
+               
+               public static const SPACE:uint = 32;
+               
+               public static const TAB:uint = 9;
+               
+               public static const UP:uint = 38;
+               
+               public static const RED:uint = 16777216;
+               
+               public static const GREEN:uint = 16777217;
+               
+               public static const YELLOW:uint = 16777218;
+               
+               public static const BLUE:uint = 16777219;
+               
+               public static const CHANNEL_UP:uint = 16777220;
+               
+               public static const CHANNEL_DOWN:uint = 16777221;
+               
+               public static const RECORD:uint = 16777222;
+               
+               public static const PLAY:uint = 16777223;
+               
+               public static const PAUSE:uint = 16777224;
+               
+               public static const STOP:uint = 16777225;
+               
+               public static const FAST_FORWARD:uint = 16777226;
+               
+               public static const REWIND:uint = 16777227;
+               
+               public static const SKIP_FORWARD:uint = 16777228;
+               
+               public static const SKIP_BACKWARD:uint = 16777229;
+               
+               public static const NEXT:uint = 16777230;
+               
+               public static const PREVIOUS:uint = 16777231;
+               
+               public static const LIVE:uint = 16777232;
+               
+               public static const LAST:uint = 16777233;
+               
+               public static const MENU:uint = 16777234;
+               
+               public static const INFO:uint = 16777235;
+               
+               public static const GUIDE:uint = 16777236;
+               
+               public static const EXIT:uint = 16777237;
+               
+               public static const BACK:uint = 16777238;
+               
+               public static const AUDIO:uint = 16777239;
+               
+               public static const SUBTITLE:uint = 16777240;
+               
+               public static const DVR:uint = 16777241;
+               
+               public static const VOD:uint = 16777242;
+               
+               public static const INPUT:uint = 16777243;
+               
+               public static const SETUP:uint = 16777244;
+               
+               public static const HELP:uint = 16777245;
+               
+               public static const MASTER_SHELL:uint = 16777246;
+               
+               public static const SEARCH:uint = 16777247;
+               
+               public function Keyboard()
+               {
+                       super();
+               }
+               
+               public static function get capsLock():Boolean
+               {
+                       return false;
+               }
+               
+               public static function get numLock():Boolean
+               {
+                       return false;
+               }
+               
+               public static function isAccessible():Boolean
+               {
+                       return false;
+               }
+               
+               public static function get hasVirtualKeyboard():Boolean
+               {
+                       return false;
+               }
+               
+               public static function get physicalKeyboardType():String
+               {
+                       return null;
+               }
+       }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/KeyboardType.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/KeyboardType.as 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/KeyboardType.as
new file mode 100644
index 0000000..091af92
--- /dev/null
+++ b/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/KeyboardType.as
@@ -0,0 +1,36 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.ui
+{
+       
+       public final class KeyboardType extends Object
+       {
+               
+               public static const ALPHANUMERIC:String = "alphanumeric";
+               
+               public static const KEYPAD:String = "keypad";
+               
+               public static const NONE:String = "none";
+               
+               public function KeyboardType()
+               {
+                       super();
+               }
+       }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/Mouse.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/Mouse.as 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/Mouse.as
new file mode 100644
index 0000000..9e4ed02
--- /dev/null
+++ b/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/Mouse.as
@@ -0,0 +1,65 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.ui
+{
+       
+       public final class Mouse extends Object
+       {
+               
+               public function Mouse()
+               {
+                       super();
+               }
+               
+               public static function hide():void
+               {
+               
+               }
+               
+               public static function show():void
+               {
+               
+               }
+               
+               public static function get supportsCursor():Boolean
+               {
+                       return false;
+               }
+               
+               public static function get cursor():String
+               {
+                       return null;
+               }
+               
+               public static function set cursor(param1:String):void
+               {
+               
+               }
+               
+               public static function registerCursor(param1:String, 
param2:Object):void
+               {
+               
+               }
+               
+               public static function unregisterCursor(param1:String):void
+               {
+               
+               }
+       }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/MouseCursor.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/MouseCursor.as 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/MouseCursor.as
new file mode 100644
index 0000000..76ecd7b
--- /dev/null
+++ b/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/MouseCursor.as
@@ -0,0 +1,40 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.ui
+{
+       
+       public final class MouseCursor extends Object
+       {
+               
+               public static const AUTO:String = "auto";
+               
+               public static const ARROW:String = "arrow";
+               
+               public static const BUTTON:String = "button";
+               
+               public static const HAND:String = "hand";
+               
+               public static const IBEAM:String = "ibeam";
+               
+               public function MouseCursor()
+               {
+                       super();
+               }
+       }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2b7a1d9f/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/Multitouch.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/Multitouch.as 
b/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/Multitouch.as
new file mode 100644
index 0000000..0ae24cf
--- /dev/null
+++ b/frameworks/projects/spriteflexjs/src/main/flex/flash/ui/Multitouch.as
@@ -0,0 +1,70 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package flash.ui
+{
+       
+       public final class Multitouch extends Object
+       {
+               
+               public function Multitouch()
+               {
+                       super();
+               }
+               
+               public static function get inputMode():String
+               {
+                       return null;
+               }
+               
+               public static function set inputMode(param1:String):void
+               {
+               
+               }
+               
+               public static function get supportsTouchEvents():Boolean
+               {
+                       return false;
+               }
+               
+               public static function get supportsGestureEvents():Boolean
+               {
+                       return false;
+               }
+               
+               public static function get supportedGestures():Vector.<String>
+               {
+                       return null;
+               }
+               
+               public static function get maxTouchPoints():int
+               {
+                       return 0;
+               }
+               
+               public static function get mapTouchToMouse():Boolean
+               {
+                       return false;
+               }
+               
+               public static function set mapTouchToMouse(param1:Boolean):void
+               {
+               
+               }
+       }
+}

Reply via email to