29 Premium Themes

Included with purchase — and more features on the way!

Get access — $12 once

Version 2 is coming soon. The price goes up when it arrives.
Pay once today and every update after that is free.

One Dark Pro
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Andromeda
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Ayu Dark
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Ayu Mirage
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Ayu Light
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Cobalt2
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Night Owl
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Night Owl Light
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Noctis
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Noctis Azureus
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Noctis Bordo
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Noctis Hibernus
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Noctis Lilac
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Noctis Lux
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Noctis Minimus
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Noctis Obscuro
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Noctis Sereno
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Noctis Uva
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Noctis Viola
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Palenight
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Pico 8
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Shades of Purple
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Shades of Purple SD
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Synthwave '84
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Tokyo Night
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Tokyo Night Storm
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Tokyo Night Light
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Winter is Coming
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Winter is Coming Light
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295
Winter is Coming Dark
private function createParticles( count ):void{
    var anchorPoint = 0;
    for(var i:uint = 0; i < count; i++){
     
        var particle:Object;
        if( inactiveFireParticles.length > 0 ){ 
            particle = inactiveFireParticles.shift();
        }else {
            particle = new Object(); 
            fireParticles.push( particle );                 
        }               
         
        particle.x = uint( Math.random() * frame.width * 0.1 ) + anchors[anchorPoint];
        particle.y = frame.bottom;
        particle.life = 70 + uint( Math.random() * 30 ); 
        particle.size = 5 + uint( Math.random() * 10 );
         
        if(particle.size > 12){
            particle.size = 10;
        }
        particle.anchor = anchors[anchorPoint] + uint( Math.random() * 5 );
         
        anchorPoint = (anchorPoint == 9)? 0 : anchorPoint + 1;
    }       
}

// From https://code.tutsplus.com/tutorials/actionscript-30-optimization-a-practical-example--active-11295