Constructor. This creates textfields and sets up the flame and noise properties that will be used in the flame animation. Finally, the handler for the animation is set up.
Creates the bitmap data that will be used to draw the flames.
Creates two textfields, one with a gradient glow for flame, and the other black.
Creates a textfield that will be used as basis of flames.
returns: The textfield created.
Initializes Perlin noise properties that will be used in flame animation.
Applies the Perlin noise to the bitmap data, offsetting the octave displacement by the FLICKER_RATE each time this method is called.
Updates the flame bitmap data each frame, creating the animation.
Handler for ENTER_FRAME event. Redraws flame.
parameter: event Event dispatched by this sprite.