make flame(s)


                  
Creates the bitmap data that will be used to draw the flames.

  
  
                  private function makeFlame():void {
                          // flame image is same size as stage, fully transparent
                          _flame = new BitmapData(
                                  stage.stageWidth,
                                  stage.stageHeight,
                                  true,
                                  0x00000000
                          );
                          addChild(new Bitmap(_flame));
                  }
  
                  
Creates two textfields, one with a gradient glow for flame, and the other black.

  
                  private function makeFields():void {
                          var field:TextField = createField();
                          field.filters = [
                                  new GradientGlowFilter(
                                          0,
                                          45,
                                          [0xFF0000, 0xFFFF00],
                                          [1, 1],
                                          [50, 255],
                                          15,
                                          15
                                  )
                          ];
                          _blackField = createField();
                  }