text field


                  
Creates a textfield that will be used as basis of flames.
returns: The textfield created.

  
                  private function createField():TextField {
                          var field:TextField = new TextField();
                          field.autoSize = TextFieldAutoSize.LEFT;
                          field.selectable = false;
                          // make sure you ahve Impact installed
                          //field.defaultTextFormat = new TextFormat("Impact", 80);
                          field.defaultTextFormat = new TextFormat("Impact", 60);
                          field.text = "multimedia authoring";
                          field.x = (stage.stageWidth - field.width)/2;
                          field.y = stage.stageHeight - field.height;
                          addChild(field);
                          return field;
                  }