Section 1
//Bonus_50 (CursorFx_fla.Bonus_50)
package CursorFx_fla {
import flash.display.*;
public dynamic class Bonus_50 extends MovieClip {
public function Bonus_50(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
(parent as MovieClip).play();
}
}
}//package CursorFx_fla
Section 2
//CarreInvisible_53 (CursorFx_fla.CarreInvisible_53)
package CursorFx_fla {
import flash.display.*;
public dynamic class CarreInvisible_53 extends MovieClip {
public function CarreInvisible_53(){
addFrameScript(0, frame1);
}
function frame1(){
alpha = 0;
}
}
}//package CursorFx_fla
Section 3
//ChargeurCoup_10 (CursorFx_fla.ChargeurCoup_10)
package CursorFx_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class ChargeurCoup_10 extends MovieClip {
public function ChargeurCoup_10(){
addFrameScript(0, frame1, 20, frame21, 30, frame31, 71, frame72, 115, frame116);
}
function frame72(){
(parent as MovieClip).play();
(parent.parent as MovieClip).Echo.JoueSon("Son", "Chaire");
}
function frame1(){
(parent.parent as MovieClip).Echo.JoueSon("Son", "Razoir1");
}
function frame21(){
(parent.parent as MovieClip).Echo.JoueSon("Son", "Razoir2");
}
function frame116(){
stop();
(parent as MovieClip).play();
}
function frame31(){
(parent.parent as MovieClip).Echo.JoueSon("Son", "Razoir3");
}
}
}//package CursorFx_fla
Section 4
//ChargeurCoup_9 (CursorFx_fla.ChargeurCoup_9)
package CursorFx_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class ChargeurCoup_9 extends MovieClip {
public function ChargeurCoup_9(){
addFrameScript(0, frame1, 9, frame10, 48, frame49);
}
function frame10(){
stop();
}
function frame1(){
stop();
}
function frame49(){
stop();
(parent as MovieClip).Razoir.play();
}
}
}//package CursorFx_fla
Section 5
//Fin_43 (CursorFx_fla.Fin_43)
package CursorFx_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class Fin_43 extends MovieClip {
public var Heure:int;
public var leTemps:MovieClip;
public var Minutes:int;
public var Temps:int;
public function Fin_43(){
addFrameScript(0, frame1, 139, frame140);
}
public function Souris(_arg1:MouseEvent){
stage.removeEventListener(MouseEvent.CLICK, Souris);
(parent as MovieClip).gotoAndStop("Jeu");
}
function frame1(){
Temps = (parent as MovieClip).Temps;
Heure = Math.floor((Temps / 60));
Minutes = (Temps - (Heure * 60));
leTemps.Texte.text = String((((("Time Playing :\r" + "Hours : ") + Heure) + "\rMinutes : ") + Minutes));
}
function frame140(){
stop();
stage.addEventListener(MouseEvent.CLICK, Souris);
(parent as MovieClip).play();
}
}
}//package CursorFx_fla
Section 6
//Fin_Time_45 (CursorFx_fla.Fin_Time_45)
package CursorFx_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Fin_Time_45 extends MovieClip {
public var Texte:TextField;
}
}//package CursorFx_fla
Section 7
//FonduDebut_41 (CursorFx_fla.FonduDebut_41)
package CursorFx_fla {
import flash.display.*;
public dynamic class FonduDebut_41 extends MovieClip {
public var Freeze:MovieClip;
public function FonduDebut_41(){
addFrameScript(50, frame51);
}
function frame51(){
stop();
}
}
}//package CursorFx_fla
Section 8
//FonduFin_42 (CursorFx_fla.FonduFin_42)
package CursorFx_fla {
import flash.display.*;
public dynamic class FonduFin_42 extends MovieClip {
public var Freeze:MovieClip;
public function FonduFin_42(){
addFrameScript(49, frame50);
}
function frame50(){
stop();
}
}
}//package CursorFx_fla
Section 9
//Introduction_24 (CursorFx_fla.Introduction_24)
package CursorFx_fla {
import flash.display.*;
public dynamic class Introduction_24 extends MovieClip {
public function Introduction_24(){
addFrameScript(554, frame555, 819, frame820);
}
function frame555(){
(parent as MovieClip).gotoAndStop("Jeu");
}
function frame820(){
stop();
}
}
}//package CursorFx_fla
Section 10
//Logo_5 (CursorFx_fla.Logo_5)
package CursorFx_fla {
import flash.display.*;
public dynamic class Logo_5 extends MovieClip {
public function Logo_5(){
addFrameScript(0, frame1, 171, frame172);
}
function frame172(){
(parent as MovieClip).gotoAndStop("Intro");
}
function frame1(){
stop();
}
}
}//package CursorFx_fla
Section 11
//MainTimeline (CursorFx_fla.MainTimeline)
package CursorFx_fla {
import flash.display.*;
public dynamic class MainTimeline extends MovieClip {
public var theScene:MovieClip;
}
}//package CursorFx_fla
Section 12
//RondInvisible_39 (CursorFx_fla.RondInvisible_39)
package CursorFx_fla {
import flash.display.*;
public dynamic class RondInvisible_39 extends MovieClip {
public function RondInvisible_39(){
addFrameScript(0, frame1);
}
function frame1(){
alpha = 0;
}
}
}//package CursorFx_fla
Section 13
//Scene_1 (CursorFx_fla.Scene_1)
package CursorFx_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import drOIde.Sound.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class Scene_1 extends MovieClip {
public var C_Bonus:MovieClip;
public var theParticle:MovieClip;
public var Cible:MovieClip;
public var TexteNom:TextField;
public var Echo:EchoProcess;
public var ScoreAp:Number;
public var PalierBonus:Number;
public var Conteneur:MovieClip;
public var Clavier:KeyboardPort;
public var Score:Number;
public var Curseur:MovieClip;
public var Conteneur1:MovieClip;
public var Freeze:MovieClip;
public var TexteScore:TextField;
public var Conteneur2:MovieClip;
public var Pause:Boolean;
public var MoteurApparition:Number;
public var FreinBonus:Number;
public var Interval:uint;
public var Razoir:MovieClip;
public var Temps:int;
public function Scene_1(){
addFrameScript(1, frame2, 9, frame10, 18, frame19, 29, frame30);
}
public function ClickMouse(_arg1:MouseEvent){
if (theParticle.currentFrame != theParticle.totalFrames){
theParticle.gotoAndStop((theParticle.currentFrame + 1));
} else {
theParticle.gotoAndStop(1);
};
theParticle.Next();
}
public function CheckCible(_arg1:String){
if (_arg1 == "Cible"){
Conteneur = Conteneur1;
Cible.x = Conteneur2.x;
Cible.y = Conteneur2.y;
} else {
Conteneur = Conteneur2;
Cible.x = 0;
Cible.y = 0;
};
}
function frame10(){
Echo.JoueSon("Musique", "Primavera");
}
function frame19(){
stop();
theParticle.stop();
Conteneur = Conteneur1;
Pause = false;
Mouse.hide();
stage.addEventListener(MouseEvent.MOUSE_MOVE, CheckMouse);
Cible.x = 400;
Cible.y = 350;
Clavier.nouveauEvénement("Pause", "TogglePause", "SPACE", 1, this, {});
stage.addEventListener(MouseEvent.MOUSE_DOWN, ClickMouse);
Score = 0;
ScoreAp = 0;
PalierBonus = 30;
MoteurApparition = 20;
FreinBonus = 50;
addEventListener(Event.ENTER_FRAME, Boucle);
Temps = 0;
Interval = setInterval(Compte, 60000);
}
public function Boucle(_arg1:Event){
var ScoreAffiche:Array;
var ScoreDonne:String;
var L:int;
var i:int;
var event = _arg1;
if (!Pause){
Freeze.alpha = ((Freeze.alpha)>0.005) ? (Freeze.alpha + (-(Freeze.alpha) / 5)) : 0;
try {
if (theParticle.currentFrame != (Math.round((Score / 1000)) + 2)){
theParticle.gotoAndStop((Math.round((Score / 1000)) + 2));
try {
theParticle.Next();
} catch(e) {
};
};
if ((Math.round((Score / 1000)) + 2) > 201){
clearInterval(Interval);
removeEventListener(Event.ENTER_FRAME, Boucle);
stage.removeEventListener(MouseEvent.MOUSE_DOWN, ClickMouse);
stage.removeEventListener(MouseEvent.MOUSE_MOVE, CheckMouse);
Clavier.supressionEvénement("Pause");
gotoAndStop("Fin");
};
Score = ((Score)>=0) ? Score : 0;
MoteurApparition = (30 - ((Score / 1000) / 5));
FreinBonus = (50 + ((Score / 1000) / 5));
if (PalierBonus <= 0){
CreationBonus(null);
PalierBonus = ((Math.random() * 30) + 10);
} else {
PalierBonus--;
};
ScoreAp = (ScoreAp + Math.ceil(((Score - ScoreAp) / 5)));
ScoreAffiche = String(ScoreAp).split("").reverse();
ScoreDonne = "";
L = 0;
i = 0;
while (i < ScoreAffiche.length) {
ScoreDonne = (ScoreAffiche[i] + ScoreDonne);
L = (L + 1);
if (L == 3){
if (i != (ScoreAffiche.length - 1)){
ScoreDonne = ("." + ScoreDonne);
};
L = 0;
};
i = (i + 1);
};
TexteScore.text = String(ScoreDonne);
TexteNom.text = theParticle.Nom.split("_").join(" ");
} catch(e) {
};
} else {
Freeze.alpha = ((Freeze.alpha)<0.895) ? (Freeze.alpha + ((0.895 - Freeze.alpha) / 5)) : 0.9;
};
}
function frame2(){
stop();
Clavier = new KeyboardPort(stage);
Echo = new EchoProcess();
Echo.NouveauGroupe("Musique");
Echo.NouveauGroupe("Son");
Echo.NouveauSon("Musique", "Primavera", Primavera, {Loop:1000});
Echo.NouveauSon("Son", "FlashMalus", FlashMalus, {Volume:30});
Echo.NouveauSon("Son", "FlashBonus", FlashBonus, {Volume:50});
Echo.NouveauSon("Son", "Razoir1", Razoir1);
Echo.NouveauSon("Son", "Razoir2", Razoir2);
Echo.NouveauSon("Son", "Razoir3", Razoir3);
Echo.NouveauSon("Son", "Chaire", Chaire);
}
public function CreationBonus(_arg1){
var leBonusMalus:BonusMalus;
var e = _arg1;
if (!Pause){
leBonusMalus = new BonusMalus();
C_Bonus.addChild(leBonusMalus);
leBonusMalus.x = ((Math.random() * (stage.stageWidth - leBonusMalus.width)) + (leBonusMalus.width / 2));
leBonusMalus.y = ((Math.random() * (stage.stageHeight - leBonusMalus.height)) + (leBonusMalus.height / 2));
leBonusMalus.Score = (3 + Math.round(((300000 - Score) / 100000)));
leBonusMalus.Palier = (30 + (Math.random() * 30));
leBonusMalus.VitesseX = 0;
leBonusMalus.VitesseY = 0;
leBonusMalus.Frein = (FreinBonus / 100);
if ((Math.random() * 10) > 5){
leBonusMalus.gotoAndPlay("Vert");
leBonusMalus.Etat = "Bonus";
} else {
leBonusMalus.gotoAndPlay("Rouge");
leBonusMalus.Etat = "Malus";
};
leBonusMalus.Demarre = function (){
this.addEventListener(Event.ENTER_FRAME, BoucleBonusMalus);
};
};
}
public function CheckMouse(_arg1){
Conteneur2.x = (Curseur.x = _arg1.stageX);
Conteneur2.y = (Curseur.y = _arg1.stageY);
if (theParticle.Moving == "Cible"){
Conteneur = Conteneur1;
Cible.x = _arg1.stageX;
Cible.y = _arg1.stageY;
} else {
Conteneur = Conteneur2;
Cible.x = 0;
Cible.y = 0;
};
_arg1.updateAfterEvent();
}
public function BoucleBonusMalus(_arg1){
var _local2:*;
_local2 = _arg1.target;
if (!Pause){
_local2.Palier--;
if (_local2.Palier <= 0){
_local2.gotoAndPlay(("Disparait" + _local2.Etat));
_local2.removeEventListener(Event.ENTER_FRAME, BoucleBonusMalus);
};
if (_local2.Etat == "Bonus"){
_local2.VitesseX = (_local2.VitesseX + ((_local2.x - Curseur.x) / Math.abs((_local2.x - Curseur.x))));
_local2.VitesseY = (_local2.VitesseY + ((_local2.y - Curseur.y) / Math.abs((_local2.y - Curseur.y))));
} else {
_local2.VitesseX = (_local2.VitesseX - ((_local2.x - Curseur.x) / Math.abs((_local2.x - Curseur.x))));
_local2.VitesseY = (_local2.VitesseY - ((_local2.y - Curseur.y) / Math.abs((_local2.y - Curseur.y))));
};
_local2.VitesseX = (_local2.VitesseX * _local2.Frein);
_local2.VitesseY = (_local2.VitesseY * _local2.Frein);
_local2.x = (_local2.x + _local2.VitesseX);
_local2.y = (_local2.y + _local2.VitesseY);
if (Conteneur.hitTestPoint(_local2.x, _local2.y)){
_local2.gotoAndPlay(("Plop" + _local2.Etat));
_local2.removeEventListener(Event.ENTER_FRAME, BoucleBonusMalus);
Echo.JoueSon("Son", ("Flash" + _local2.Etat));
if (_local2.Etat == "Bonus"){
Score = (Score + (_local2.Score * 100));
} else {
Score = (Score - (_local2.Score * 50));
};
};
};
}
function frame30(){
stop();
}
public function Compte(){
Temps++;
}
public function TogglePause(_arg1){
Pause = !(Pause);
}
}
}//package CursorFx_fla
Section 14
//theParticle_37 (CursorFx_fla.theParticle_37)
package CursorFx_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class theParticle_37 extends MovieClip {
public var Target_Cross;
public var ParticuleCadence_Prog_and_Design:Number;
public var Target_Reggae;
public var ParticuleCadence_Blue:Number;
public var Conteiner_Sun_Shine;
public var ParticuleCadence_Blup:Number;
public var Conteiner_Space_Ship;
public var Conteiner_Hard_Death;
public var Target_Blowing_Washer;
public var ParticuleCadence_Sun_Burn:Number;
public var Conteiner_Ectoplasme;
public var Target_Redding;
public var Target_Circus;
public var Target_Just_lol;
public var Conteiner_Beetle;
public var Conteiner_IcePulsar;
public var Target_Salvation;
public var ParticuleCadence_Sewn:Number;
public var ParticuleCadence_Carnival:Number;
public var Conteiner_Smile;
public var Conteiner_Konoha_Attak;
public var ParticuleCadence_Rotative:Number;
public var Conteiner_Diablo_Uppercut;
public var Target_Prog_and_Design;
public var Target_Jazz;
public var ParticuleCadence_Zip_Code:Number;
public var Target_Pixel_Point;
public var ParticuleCadence_Chain:Number;
public var Target_Smiley;
public var Target_Cholesterol;
public var Conteiner_Chaos_Text;
public var Conteiner_Canabis;
public var Conteiner_Reggae;
public var ParticuleCadence_Zen:Number;
public var Conteiner_Washing;
public var Target_Fog_Moon;
public var ParticuleCadence_Flower_Cube:Number;
public var Conteiner_Hand_Chain;
public var Target_Snake;
public var ParticuleCadence_Chaos_Triangle:Number;
public var ParticuleCadence_HardStyle:Number;
public var ParticuleCadence_Direction:Number;
public var Conteiner_Love;
public var Conteiner_Circus;
public var Conteiner_Chaos_Triangle;
public var ParticuleCadence_Pink:Number;
public var ParticuleCadence_Sith_Sword:Number;
public var Target_Smoke;
public var ParticuleCadence_Turtle:Number;
public var Conteiner_Chaos_Glow;
public var ParticuleCadence_Snow:Number;
public var ParticuleCadence_Brush:Number;
public var ParticuleCadence_Deep_Impact:Number;
public var Conteiner_Music_by;
public var ParticuleCadence_Zip:Number;
public var ParticuleCadence_Pixel_Point_3:Number;
public var Target_Magic;
public var Target_Hard_Rad;
public var Target_Rain;
public var Target_Chaos_Hexa;
public var ParticuleCadence_Konoha_Attak:Number;
public var ParticuleCadence_Pixel_Point_2:Number;
public var ParticuleCadence_Wall:Number;
public var Conteiner_Smiley;
public var ParticuleCadence_Black_Hole:Number;
public var ParticuleCadence_Just_lol:Number;
public var ParticuleCadence_FirePulsar:Number;
public var ParticuleCadence_Pace:Number;
public var Conteiner_Direction;
public var Conteiner_HardStyle;
public var Target_Comptability;
public var Target_Aqua_Data;
public var ParticuleCadence_Chaos_Cube:Number;
public var Target_Pink_Agent;
public var ParticuleCadence_Cross:Number;
public var ParticuleCadence_Fog_Moon:Number;
public var ParticuleCadence_Never_Ending_Tunnel:Number;
public var Target_Ghost;
public var ParticuleCadence_Classic:Number;
public var ParticuleCadence_Clic_Bubble:Number;
public var ParticuleCadence_Space_Ship:Number;
public var ParticuleCadence_Hard_Death:Number;
public var ParticuleCadence_Tile:Number;
public var ParticuleCadence_Buzz:Number;
public var Conteiner_Golden_Diez;
public var Nom:String;
public var ParticuleCadence_Ectoplasme:Number;
public var Target_Column_Crisal;
public var ParticuleCadence_Wave:Number;
public var Target_Lyla_Windows;
public var Target_Tunnel;
public var Target_Metal;
public var Conteiner_Hard_Kanji;
public var ParticuleCadence_Hard_Rad:Number;
public var Conteiner_Polygon_Worm;
public var Target_Rainbow_Sphere;
public var Target_Honey;
public var Conteiner_Oil_Arcanoid;
public var ParticuleCadence_StormPulsar:Number;
public var ParticuleCadence_Star_Blow:Number;
public var Target_Rose_Rotative;
public var ParticuleCadence_Chaos_Text:Number;
public var ParticuleCadence_Snake:Number;
public var Conteiner_Red_Target;
public var ParticuleCadence_Hand_Chain:Number;
public var ParticuleCadence_Smoke:Number;
public var ParticuleCadence_Chaos_Glow:Number;
public var Target_Music_by;
public var Conteiner_Nenuphar;
public var Conteiner_Tunnel;
public var Conteiner_Warning;
public var Conteiner_Heart_Crying;
public var Target_Ice_Fountain;
public var ParticuleCadence_Magic:Number;
public var Target_Golden_Diez;
public var Target_Classic;
public var ParticuleCadence_Polygon_Worm:Number;
public var ParticuleCadence_Spinal:Number;
public var Conteiner_A_part_of_me;
public var Target_Combo_Hit;
public var Conteiner_Aqua_Snake;
public var ParticuleCadence_Radioactive:Number;
public var Target_Sith_Sword;
public var Target_Simple;
public var Conteiner_Star_Blow;
public var ParticuleCadence_Oil_Arcanoid:Number;
public var Target_Vinyl;
public var ParticuleCadence_Medusa:Number;
public var Conteiner_Chain;
public var ParticuleCadence_Medical:Number;
public var Target_Sun_Shine;
public var Moving:String;
public var Conteiner_Jazz;
public var Conteiner_Night_Star;
public var Conteiner_Column_Crisal;
public var ParticuleCadence_Shower:Number;
public var Conteiner_Hard_Ground;
public var Target_Tetris;
public var Target_Black_Hole;
public var Target_Shaker;
public var ParticuleCadence_Ghost:Number;
public var Conteiner_Rainbow_Box;
public var Conteiner_Tank_Bones;
public var Target_Pixel_Lombrik;
public var Target_Where;
public var Target_IcePulsar;
public var ParticuleCadence_Vortex:Number;
public var ParticuleCadence_Heart_Crying:Number;
public var Target_FirePulsar;
public var Conteiner_Brush;
public var ParticuleCadence_Hard_Mine:Number;
public var Conteiner_Rose_Rotative;
public var ParticuleCadence_Blowing_Washer:Number;
public var Conteiner_Simple;
public var ParticuleCadence_Cristal:Number;
public var Target_High_Demake_Up;
public var ParticuleCadence_Music_by:Number;
public var Target_Sub_Zero_Combo;
public var Conteiner_Never_Ending_Tunnel;
public var Conteiner_Blowing_Washer;
public var ParticuleCadence_Metal:Number;
public var ParticuleCadence_A_part_of_me:Number;
public var Target_Chaos_Cube;
public var ParticuleCadence_Hesitance:Number;
public var Target_Earth_Rotative;
public var ParticuleCadence_Hard_Kanji:Number;
public var ParticuleCadence_Beetle:Number;
public var ParticuleCadence_Chaos_Paper:Number;
public var Target_Techno;
public var Conteiner_Spinal_Worm;
public var ParticuleCadence_Honey:Number;
public var Conteiner_Rain;
public var Conteiner_Prog_and_Design;
public var Conteiner_Tetris;
public var ParticuleCadence_Inspired_by:Number;
public var Target_Rock;
public var Target_Space_Ship;
public var Conteiner_Shaker;
public var Conteiner_Rainbow_Hexa;
public var Target_Hard_Death;
public var Conteiner_IceCream;
public var Target_Seizure_Spiral;
public var Target_Crypted_Radio;
public var Target_Ectoplasme;
public var Conteiner_Hard_Sun;
public var Conteiner_Deep_Quadri;
public var ParticuleCadence_Trumpet:Number;
public var ParticuleCadence_Hard_Song:Number;
public var ParticuleCadence_Red_Target:Number;
public var ParticuleCadence_EarthPulsar:Number;
public var Conteiner_Cross;
public var Conteiner_Morning_Star;
public var ParticuleCadence_Reggae:Number;
public var Target_Hard_Ground;
public var Target_Nenuphar;
public var Target_Medical;
public var Conteiner_Chaos_Ring;
public var Conteiner_Hard_Mine;
public var ParticuleCadence_Ambivalence:Number;
public var Target_Music;
public var Target_Rainbow_Box;
public var Conteiner_Proteine;
public var ParticuleCadence_Chaos_Box:Number;
public var Target_Sonic;
public var Target_Afternoon_Star;
public var ParticuleCadence_Circus:Number;
public var ParticuleCadence_Fire:Number;
public var Target_Cloud;
public var Conteiner_Techno;
public var Conteiner_Hesitance;
public var Conteiner_Chaos_Bubble;
public var ParticuleCadence_Column_Crisal:Number;
public var Target_Chaos_Text;
public var ParticuleCadence_Wings_Bones:Number;
public var Target_Kawaii;
public var Target_Cartoon_Diez;
public var Target_Hand_Chain;
public var Conteiner_Hard_Number;
public var Target_Blue;
public var Target_Blup;
public var ParticuleCadence_Hard_Galaxy:Number;
public var Target_Direction;
public var Target_Cosmetic_Hypno;
public var ParticuleCadence_Dragon_Kick:Number;
public var Conteiner_Pixel_Lombrik;
public var ParticuleCadence_Aqua_Snake:Number;
public var Target_HardStyle;
public var ParticuleCadence_Rose_Rotative:Number;
public var Target_Cristal;
public var Target_Chaos_Glow;
public var Target_Chaos_Circle;
public var ParticuleCadence_Rainbow_Hexa:Number;
public var ParticuleCadence_Vinyl:Number;
public var ParticuleCadence_Smiley:Number;
public var Conteiner_Hard_Song;
public var Target_Sewn;
public var Target_Spinal_Worm;
public var ParticuleCadence_Canabis:Number;
public var ParticuleCadence_Washing:Number;
public var ParticuleCadence_Tournesol:Number;
public var Conteiner_Snake;
public var Conteiner_Sound_Cast;
public var ParticuleCadence_Night_Star:Number;
public var Target_Green;
public var Conteiner_Chaos_Plag;
public var Target_Yellow;
public var Target_Deep_Quadri;
public var ParticuleCadence_Morning_Star:Number;
public var Conteiner_Chaos_Box;
public var Conteiner_Smoke;
public var ParticuleCadence_AirPulsar:Number;
public var ParticuleCadence_Hard_Star:Number;
public var Target_Bubble;
public var ParticuleCadence_Where:Number;
public var Conteiner_Kawaii;
public var ParticuleCadence_Incal_Sun:Number;
public var ParticuleCadence_Tank_Bones:Number;
public var Target_Soul_Rotative;
public var ParticuleCadence_Chaos_Bubble:Number;
public var Target_Trumpet;
public var Conteiner_Crypted_Radio;
public var Conteiner_Magic;
public var Conteiner_Hard_Smoke;
public var ParticuleCadence_Nenuphar:Number;
public var ParticuleCadence_Love:Number;
public var Target_Pink;
public var Conteiner_Coquelicot;
public var Target_Snow;
public var Target_Rainbow_Point;
public var Target_Hard_Number;
public var Target_IceCream;
public var Conteiner_Yellow;
public var Target_Prisme;
public var ParticuleCadence_Rainbow_Sphere:Number;
public var Target_Pale_Rotative;
public var Conteiner_Tournesol;
public var Target_Wall;
public var Conteiner_Edelweis;
public var Conteiner_Bubble;
public var Conteiner_Hard_Star;
public var Target_Hard_Sun;
public var ParticuleCadence_Pixel_Point:Number;
public var Conteiner_Rainbow_Sphere;
public var Target_Optical_prisme;
public var ParticuleCadence_Cholesterol:Number;
public var Conteiner_AirPulsar;
public var ParticuleCadence_Hard_Love:Number;
public var ParticuleCadence_Pixel_Lombrik:Number;
public var Conteiner_Incal_Sun;
public var Target_Pace;
public var Target_Astro;
public var Conteiner_Ghost;
public var Target_Speed;
public var Target_Hard_Kanji;
public var Target_Canabis;
public var Target_Proteine;
public var Target_Washing;
public var ParticuleCadence_Music:Number;
public var ParticuleCadence_Sonic:Number;
public var Conteiner_Tic_Fish;
public var ParticuleCadence_Chaos_Ring:Number;
public var ParticuleCadence_Cloud:Number;
public var Target_Star_Blow;
public var ParticuleCadence_Tunnel:Number;
public var Conteiner_Prisme;
public var ParticuleCadence_Ocean_Box:Number;
public var Target_Red_Target;
public var Target_Money;
public var ParticuleCadence_Hard_Stop:Number;
public var Target_Orange;
public var Target_Tulipe;
public var Conteiner_Metal;
public var Target_Tile;
public var Conteiner_Shuriken;
public var ParticuleCadence_Crypted_Radio:Number;
public var Conteiner_Flower_Cube;
public var Conteiner_Soul_Rotative;
public var Conteiner_Honey;
public var Target_Buzz;
public var Conteiner_Super_Nova;
public var Conteiner_Triforce;
public var Target_Konoha_Attak;
public var Target_Wave;
public var Conteiner_Hard_Love;
public var Conteiner_Hard_Honey;
public var ParticuleCadence_IceCream:Number;
public var Target_Doppler_Effect;
public var ParticuleCadence_Green:Number;
public var Conteiner_Redding;
public var ParticuleCadence_Sound_Cast:Number;
public var Conteiner_Rock;
public var Conteiner_Deep_Impact;
public var ParticuleCadence_Hard_Sun:Number;
public var Conteiner_Rainbow_Point;
public var ParticuleCadence_Chaos_Plag:Number;
public var Target_Knife_Rotative;
public var Target_Final;
public var Target_Aqua_Snake;
public var ParticuleCadence_Buzz_Bble:Number;
public var Target_Paper;
public var Conteiner_Pale_Rotative;
public var Conteiner_Watching;
public var Conteiner_Orange;
public var Conteiner_Ocean_Box;
public var Target_Hard_Illusion;
public var Conteiner_Hard_Stop;
public var ParticuleCadence_Warning:Number;
public var Target_Grass;
public var ParticuleCadence_Bric_Broc:Number;
public var Conteiner_Tulipe;
public var ParticuleCadence_Proteine:Number;
public var ParticuleCadence_Hard_Smoke:Number;
public var Target_Wings;
public var ParticuleCadence_High_Demake_Up:Number;
public var Target_Pixel_Point_2b;
public var Target_Night_Star;
public var ParticuleCadence_Sub_Zero_Combo:Number;
public var Conteiner_Chaos_Pyra;
public var Target_No_Way;
public var ParticuleCadence_Simple:Number;
public var Target_Comet;
public var ParticuleCadence_Coquelicot:Number;
public var Conteiner_High_Demake_Up;
public var Conteiner_Sub_Zero_Combo;
public var ParticuleCadence_Earth_Rotative:Number;
public var Target_Tank_Bones;
public var Target_Edelweis;
public var Conteiner_Vinyl;
public var Conteiner_Earth_Rotative;
public var Conteiner_Comptability;
public var Target_Flower_Cube;
public var Conteiner_Blue;
public var Target_Pulsar_prisme;
public var Target_Hard_Mine;
public var ParticuleCadence_Seizure_Spiral:Number;
public var Conteiner_Blup;
public var ParticuleCadence_Tetris:Number;
public var Conteiner_Clic_Bubble;
public var Target_Matrix;
public var ParticuleCadence_Shaker:Number;
public var Conteiner_Seizure_Spiral;
public var Conteiner_Buzz_Bble;
public var ParticuleCadence_Astro:Number;
public var ParticuleCadence_Soul_Rotative:Number;
public var ParticuleCadence_Speed:Number;
public var Target_Never_Ending_Tunnel;
public var Conteiner_Sewn;
public var Target_Deep_Impact;
public var Conteiner_Where;
public var Target_Tic_Fish;
public var Target_Hesitance;
public var Conteiner_Bric_Broc;
public var ParticuleCadence_Jazz:Number;
public var ParticuleCadence_Vaporing_Circle:Number;
public var Conteiner_Lyla_Windows;
public var Conteiner_No_Way;
public var ParticuleCadence_Afternoon_Star:Number;
public var ParticuleCadence_Hypnotica:Number;
public var ParticuleCadence_Rainbow_Point:Number;
public var Conteiner_Afternoon_Star;
public var ParticuleCadence_Money:Number;
public var Conteiner_StormPulsar;
public var Target_Smile;
public var Target_Hard_Song;
public var ParticuleCadence_Golden_Diez:Number;
public var Target_Psycho_Tunnel;
public var ParticuleCadence_Techno:Number;
public var Target_Shuriken;
public var Target_Rainbow_Power;
public var ParticuleCadence_Pale_Rotative:Number;
public var Target_Zen;
public var Conteiner_Matrix;
public var Target_Warning;
public var Target_Polygon_Worm;
public var ParticuleCadence_Comptability:Number;
public var Target_Triforce;
public var Target_Vaporing_Circle;
public var ParticuleCadence_Cosmetic_Hypno:Number;
public var Conteiner_Hard_Illusion;
public var Target_Chaos_Ring;
public var ParticuleCadence_Super_Nova:Number;
public var Conteiner_Cosmetic_Hypno;
public var Conteiner_Pink;
public var ParticuleCadence_Salvation:Number;
public var Conteiner_Snow;
public var Target_Chaos_Box;
public var Target_Oil_Arcanoid;
public var ParticuleCadence_Edelweis:Number;
public var ParticuleCadence_Hard_Honey:Number;
public var ParticuleCadence_Rain:Number;
public var ParticuleCadence_Diablo_Uppercut:Number;
public var Target_Zip;
public var Target_Clic_Bubble;
public var Conteiner_Ice_Fountain;
public var Conteiner_Wall;
public var ParticuleCadence_Final:Number;
public var Conteiner_Hypnotica;
public var ParticuleCadence_Paper:Number;
public var Target_Watching;
public var Target_Constellation;
public var Target_Turtle;
public var Conteiner_Music;
public var Conteiner_Sonic;
public var ParticuleCadence_Lyla_Windows:Number;
public var Conteiner_Cloud;
public var Conteiner_Radioactive;
public var Conteiner_Pulsar_prisme;
public var ParticuleCadence_Grass:Number;
public var ParticuleCadence_Kawaii:Number;
public var Conteiner_Pace;
public var ParticuleCadence_Tic_Fish:Number;
public var ParticuleCadence_Wings:Number;
public var Target_Heart_Crying;
public var Target_Diablo_Uppercut;
public var Target_Tournesol;
public var Target_Sound_Cast;
public var ParticuleCadence_Comet:Number;
public var ParticuleCadence_Chaos_Pyra:Number;
public var Target_Chaos_Plag;
public var Target_StormPulsar;
public var Target_Hard_Star;
public var Conteiner_Salvation;
public var Target_Fire;
public var Target_AirPulsar;
public var Target_A_part_of_me;
public var ParticuleCadence_Shuriken:Number;
public var Conteiner_New_Year;
public var Target_Incal_Sun;
public var Conteiner_Chaos_Hexa;
public var Conteiner_Tile;
public var Target_Hard_Smoke;
public var ParticuleCadence_Triforce:Number;
public var Conteiner_Turtle;
public var ParticuleCadence_Yellow:Number;
public var Target_Chaos_Triangle;
public var Conteiner_Green;
public var Conteiner_Buzz;
public var ParticuleCadence_Ice_Fountain:Number;
public var Conteiner_Classic;
public var Conteiner_Psycho_Tunnel;
public var ParticuleCadence_Bubble:Number;
public var Target_Coquelicot;
public var Conteiner_Optical_prisme;
public var ParticuleCadence_Optical_prisme:Number;
public var Conteiner_Rainbow_Power;
public var ParticuleCadence_Hard_Illusion:Number;
public var Conteiner_Wave;
public var Conteiner_Sun_Burn;
public var ParticuleCadence_Hard_Ground:Number;
public var Conteiner_Carnival;
public var Conteiner_Inspired_by;
public var ParticuleCadence_Rainbow_Box:Number;
public var ParticuleCadence_Aqua_Data:Number;
public var ParticuleCadence_Watching:Number;
public var Conteiner_Rotative;
public var Conteiner_Chaos_Paper;
public var Target_Radioactive;
public var Conteiner_Pink_Agent;
public var ParticuleCadence_Smile:Number;
public var Conteiner_Zip_Code;
public var Target_Hard_Love;
public var ParticuleCadence_Prisme:Number;
public var ParticuleCadence_Pulsar_prisme:Number;
public var Target_Love;
public var Conteiner_EarthPulsar;
public var Conteiner_Constellation;
public var Target_Rainbow_Hexa;
public var Conteiner_Ambivalence;
public var ParticuleCadence_Spinal_Worm:Number;
public var Conteiner_Zen;
public var ParticuleCadence_Doppler_Effect:Number;
public var Target_Ocean_Box;
public var Conteiner_Astro;
public var Target_Hard_Stop;
public var Conteiner_Speed;
public var ParticuleCadence_Knife_Rotative:Number;
public var Conteiner_Doppler_Effect;
public var Conteiner_Wings_Bones;
public var ParticuleCadence_Deep_Quadri:Number;
public var Conteiner_Aqua_Data;
public var Target_Morning_Star;
public var Target_Super_Nova;
public var Conteiner_Knife_Rotative;
public var Conteiner_Cartoon_Diez;
public var Conteiner_Hard_Galaxy;
public var ParticuleCadence_Psycho_Tunnel:Number;
public var Conteiner_Dragon_Kick;
public var ParticuleCadence_Rainbow_Power:Number;
public var Conteiner_Zip;
public var Conteiner_Just_lol;
public var Target_Hard_Honey;
public var Target_Chaos_Bubble;
public var Target_Pixel_Point_2;
public var Target_Inspired_by;
public var ParticuleCadence_Orange:Number;
public var Conteiner_Money;
public var Conteiner_Chaos_Circle;
public var Target_Pixel_Point_3;
public var ParticuleCadence_Tulipe:Number;
public var ParticuleCadence_Pixel_Point_2b:Number;
public var Target_Chaos_Paper;
public var Target_Spinal;
public var Conteiner_Pixel_Point_2b;
public var Target_New_Year;
public var ParticuleCadence_Hard_Number:Number;
public var Conteiner_Medical;
public var Target_Chain;
public var Target_Buzz_Bble;
public var Target_Medusa;
public var Target_EarthPulsar;
public var ParticuleCadence_Chaos_Hexa:Number;
public var Conteiner_Fog_Moon;
public var Target_Bric_Broc;
public var ParticuleCadence_Combo_Hit:Number;
public var Target_Shower;
public var Conteiner_Sith_Sword;
public var ParticuleCadence_Constellation:Number;
public var Target_Chaos_Pyra;
public var ParticuleCadence_Redding:Number;
public var Target_Sun_Burn;
public var Target_Ambivalence;
public var Conteiner_Final;
public var Target_Brush;
public var Conteiner_Paper;
public var ParticuleCadence_Cartoon_Diez:Number;
public var Target_Vortex;
public var Target_Carnival;
public var Conteiner_Spinal;
public var ParticuleCadence_Sun_Shine:Number;
public var Target_Wings_Bones;
public var Conteiner_Cristal;
public var ParticuleCadence_Rock:Number;
public var Target_Rotative;
public var Conteiner_Grass;
public var Conteiner_Wings;
public var Target_Hard_Galaxy;
public var Conteiner_Black_Hole;
public var Conteiner_Hard_Rad;
public var ParticuleCadence_Chaos_Circle:Number;
public var ParticuleCadence_No_Way:Number;
public var Target_Zip_Code;
public var ParticuleCadence_Pink_Agent:Number;
public var Conteiner_Medusa;
public var Conteiner_Comet;
public var ParticuleCadence_IcePulsar:Number;
public var Target_Dragon_Kick;
public var Conteiner_Pixel_Point;
public var Conteiner_FirePulsar;
public var Conteiner_Cholesterol;
public var Target_Beetle;
public var Conteiner_Shower;
public var Conteiner_Vaporing_Circle;
public var Conteiner_Combo_Hit;
public var Conteiner_Trumpet;
public var ParticuleCadence_Matrix:Number;
public var Target_Hypnotica;
public var ParticuleCadence_New_Year:Number;
public var Conteiner_Chaos_Cube;
public var Conteiner_Fire;
public var Conteiner_Pixel_Point_3;
public var Conteiner_Vortex;
public var Conteiner_Pixel_Point_2;
public function theParticle_37(){
addFrameScript(1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 35, frame36, 36, frame37, 37, frame38, 38, frame39, 39, frame40, 40, frame41, 41, frame42, 42, frame43, 43, frame44, 44, frame45, 45, frame46, 46, frame47, 47, frame48, 48, frame49, 49, frame50, 50, frame51, 51, frame52, 52, frame53, 53, frame54, 54, frame55, 55, frame56, 56, frame57, 57, frame58, 58, frame59, 59, frame60, 60, frame61, 61, frame62, 62, frame63, 63, frame64, 64, frame65, 65, frame66, 66, frame67, 67, frame68, 68, frame69, 69, frame70, 70, frame71, 71, frame72, 72, frame73, 73, frame74, 74, frame75, 75, frame76, 76, frame77, 77, frame78, 78, frame79, 79, frame80, 80, frame81, 81, frame82, 82, frame83, 83, frame84, 84, frame85, 85, frame86, 86, frame87, 87, frame88, 88, frame89, 89, frame90, 90, frame91, 91, frame92, 92, frame93, 93, frame94, 94, frame95, 95, frame96, 96, frame97, 97, frame98, 98, frame99, 99, frame100, 100, frame101, 101, frame102, 102, frame103, 103, frame104, 104, frame105, 105, frame106, 106, frame107, 107, frame108, 108, frame109, 109, frame110, 110, frame111, 111, frame112, 112, frame113, 113, frame114, 114, frame115, 115, frame116, 116, frame117, 117, frame118, 118, frame119, 119, frame120, 120, frame121, 121, frame122, 122, frame123, 123, frame124, 124, frame125, 125, frame126, 126, frame127, 127, frame128, 128, frame129, 129, frame130, 130, frame131, 131, frame132, 132, frame133, 133, frame134, 134, frame135, 135, frame136, 136, frame137, 137, frame138, 138, frame139, 139, frame140, 140, frame141, 141, frame142, 142, frame143, 143, frame144, 144, frame145, 145, frame146, 146, frame147, 147, frame148, 148, frame149, 149, frame150, 150, frame151, 151, frame152, 152, frame153, 153, frame154, 154, frame155, 155, frame156, 156, frame157, 157, frame158, 158, frame159, 159, frame160, 160, frame161, 161, frame162, 162, frame163, 163, frame164, 164, frame165, 165, frame166, 166, frame167, 167, frame168, 168, frame169, 169, frame170, 170, frame171, 171, frame172, 172, frame173, 173, frame174, 174, frame175, 175, frame176, 176, frame177, 177, frame178, 178, frame179, 179, frame180, 180, frame181, 181, frame182, 182, frame183, 183, frame184, 184, frame185, 185, frame186, 186, frame187, 187, frame188, 188, frame189, 189, frame190, 190, frame191, 191, frame192, 192, frame193, 193, frame194, 194, frame195, 195, frame196, 196, frame197, 197, frame198, 198, frame199, 199, frame200, 200, frame201);
}
public function Interrupt_Rock(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Rock);
}
public function ParticuleGenerator_Reggae(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Reggae >= 0){
P = 0;
while (P <= ParticuleCadence_Reggae) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Reggae.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Reggae);
NewParticule.x = Target_Reggae.x;
NewParticule.y = Target_Reggae.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Reggae);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -0.2;
NewParticule.DestP = 50;
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.gotoAndStop(84);
Teinte = new ColorTransform();
DirectColors = ["00CC00", "FF0000", "FFFF00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Reggae = ((Math.random() * (-2.3 - -9.7)) + -9.7);
} else {
ParticuleCadence_Reggae++;
};
}
public function LoopParticule_Hard_Sun(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Soul_Rotative(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Soul_Rotative);
}
public function ParticuleGenerator_Salvation(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Salvation >= 0){
P = 0;
while (P <= ParticuleCadence_Salvation) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Salvation.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Salvation);
NewParticule.x = Target_Salvation.x;
NewParticule.y = Target_Salvation.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Salvation);
} catch(e) {
};
};
ModScale = ((Math.random() * (4.5 - 0)) + 0);
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (122.3 - 0)) + 0);
NewParticule.alpha = (((Math.random() * (100 - 0)) + 0) / 100);
NewParticule.DY = ((Math.random() * (10.1 - -7.8)) + -7.8);
NewParticule.VY = new Array(14, -14.9)[Math.round((Math.random() * 1))];
NewParticule.CVX = -1.3;
NewParticule.EvoR = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(17);
Teinte = new ColorTransform();
DirectColors = ["66CC33", "66CCFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Salvation = 0;
} else {
ParticuleCadence_Salvation++;
};
}
public function LoopParticule_Tunnel(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Astro(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Circus(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Circus >= 0){
P = 0;
while (P <= ParticuleCadence_Circus) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Circus.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Circus);
NewParticule.x = Target_Circus.x;
NewParticule.y = Target_Circus.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Circus);
} catch(e) {
};
};
ModScale = 10;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoW = 10;
NewParticule.EvoH = -10;
NewParticule.EvoR = -10;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(15);
Teinte = new ColorTransform();
DirectColors = ["FF0000", "FFFFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Circus = 1.9;
} else {
ParticuleCadence_Circus++;
};
}
public function LoopParticule_Speed(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Ice_Fountain(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Ice_Fountain >= 0){
P = 0;
while (P <= ParticuleCadence_Ice_Fountain) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Ice_Fountain.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Ice_Fountain);
NewParticule.x = Target_Ice_Fountain.x;
NewParticule.y = Target_Ice_Fountain.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Ice_Fountain);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["66CCFF", "3366FF", "3399FF", "0099FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
if (Conteiner_Ice_Fountain.UpDownScaleIceFoutain == null){
Conteiner_Ice_Fountain.UpDownScaleIceFoutain = 0;
Conteiner_Ice_Fountain.UpDownScaleIceFoutainValue = 0.29;
Conteiner_Ice_Fountain.UpDownScaleIceFoutainDirection = 1;
};
Conteiner_Ice_Fountain.UpDownScaleIceFoutain = (Conteiner_Ice_Fountain.UpDownScaleIceFoutain + (Conteiner_Ice_Fountain.UpDownScaleIceFoutainValue * Conteiner_Ice_Fountain.UpDownScaleIceFoutainDirection));
if ((((Conteiner_Ice_Fountain.UpDownScaleIceFoutain > 5.8)) && ((Conteiner_Ice_Fountain.UpDownScaleIceFoutainDirection == 1)))){
Conteiner_Ice_Fountain.UpDownScaleIceFoutainDirection = -1;
Conteiner_Ice_Fountain.UpDownScaleIceFoutain = 5.8;
};
if ((((Conteiner_Ice_Fountain.UpDownScaleIceFoutain < 0)) && ((Conteiner_Ice_Fountain.UpDownScaleIceFoutainDirection == -1)))){
Conteiner_Ice_Fountain.UpDownScaleIceFoutainDirection = 1;
Conteiner_Ice_Fountain.UpDownScaleIceFoutain = 0;
};
ModScale = Conteiner_Ice_Fountain.UpDownScaleIceFoutain;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.VY = ((Math.random() * (-28.1 - -7.1)) + -7.1);
NewParticule.CVY = 3.4;
NewParticule.CVX = ((Math.random() * (0.6 - -1.5)) + -1.5);
NewParticule.EvoR = ((Math.random() * (3 - -2.7)) + -2.7);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(99);
P = (P + 1);
};
ParticuleCadence_Ice_Fountain = 0;
} else {
ParticuleCadence_Ice_Fountain++;
};
}
public function ParticuleGenerator_Speed(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Speed >= 0){
P = 0;
while (P <= ParticuleCadence_Speed) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Speed.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Speed);
NewParticule.x = Target_Speed.x;
NewParticule.y = Target_Speed.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Speed);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FFFF00", "FFFF33", "FFFF66", "FFFF99"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 1.7;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.DX = -17.4;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(102);
P = (P + 1);
};
ParticuleCadence_Speed = 0;
} else {
ParticuleCadence_Speed++;
};
}
public function ParticuleGenerator_Astro(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Astro >= 0){
P = 0;
while (P <= ParticuleCadence_Astro) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Astro.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Astro);
NewParticule.x = Target_Astro.x;
NewParticule.y = Target_Astro.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Astro);
} catch(e) {
};
};
ModScale = 10;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = new Array(43.6, 0)[Math.round((Math.random() * 1))];
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = new Array(-10, 10)[Math.round((Math.random() * 1))];
NewParticule.EvoW = new Array(10, -10)[Math.round((Math.random() * 1))];
NewParticule.EvoH = new Array(10, -10)[Math.round((Math.random() * 1))];
NewParticule.EvoR = 3.8;
NewParticule.EvoA = -8.4;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(11);
Teinte = new ColorTransform();
DirectColors = ["0000FF", "6699FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Astro = 0;
} else {
ParticuleCadence_Astro++;
};
}
public function Interrupt_Ice_Fountain(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Ice_Fountain);
}
public function ParticuleGenerator_Hard_Kanji(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Hard_Kanji >= 0){
P = 0;
while (P <= ParticuleCadence_Hard_Kanji) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Hard_Kanji.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Kanji);
NewParticule.x = Target_Hard_Kanji.x;
NewParticule.y = Target_Hard_Kanji.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Kanji);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FF0000", "FF0033", "336600", "336633"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = ((Math.random() * (10 - 0)) + 0);
ModWidth = ((Math.random() * (10 - 0)) + 0);
ModHeight = ((Math.random() * (10 - 0)) + 0);
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (360 - 0)) + 0);
NewParticule.alpha = (((Math.random() * (100 - 0)) + 0) / 100);
NewParticule.EvoS = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoW = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoH = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoR = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoA = ((Math.random() * (-1.4 - -10)) + -10);
NewParticule.DestA = 0;
NewParticule.gotoAndStop(116);
P = (P + 1);
};
ParticuleCadence_Hard_Kanji = 0;
} else {
ParticuleCadence_Hard_Kanji++;
};
}
public function LoopParticule_Proteine(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
if (_local2.UpDownSpeedChaosVR == null){
_local2.UpDownSpeedChaosVR = _local2.ChaosVR[0];
_local2.UpDownSpeedChaosVRValue = (Math.abs((_local2.ChaosVR[0] - _local2.ChaosVR[1])) / 10);
_local2.UpDownSpeedChaosVRDirection = 1;
};
_local2.UpDownSpeedChaosVR = (_local2.UpDownSpeedChaosVR + (_local2.UpDownSpeedChaosVRValue * _local2.UpDownSpeedChaosVRDirection));
if ((((_local2.UpDownSpeedChaosVR > _local2.ChaosVR[1])) && ((_local2.UpDownSpeedChaosVRDirection == 1)))){
_local2.UpDownSpeedChaosVRDirection = -1;
_local2.UpDownSpeedChaosVR = _local2.ChaosVR[1];
};
if ((((_local2.UpDownSpeedChaosVR < _local2.ChaosVR[0])) && ((_local2.UpDownSpeedChaosVRDirection == -1)))){
_local2.UpDownSpeedChaosVRDirection = 1;
_local2.UpDownSpeedChaosVR = _local2.ChaosVR[0];
};
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + _local2.UpDownSpeedChaosVR);
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
public function LoopParticule_Comptability(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.x = (_local2.x + ((Math.random() * (_local2.ChaosDX[1] - _local2.ChaosDX[0])) + _local2.ChaosDX[0]));
_local2.y = (_local2.y + ((Math.random() * (_local2.ChaosDY[1] - _local2.ChaosDY[0])) + _local2.ChaosDY[0]));
}
public function Interrupt_Rainbow_Point(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Rainbow_Point);
}
public function ParticuleGenerator_Radioactive(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Radioactive >= 0){
P = 0;
while (P <= ParticuleCadence_Radioactive) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Radioactive.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Radioactive);
NewParticule.x = Target_Radioactive.x;
NewParticule.y = Target_Radioactive.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Radioactive);
} catch(e) {
};
};
if (Conteiner_Radioactive.UpDownScaleRadioactive == null){
Conteiner_Radioactive.UpDownScaleRadioactive = 0;
Conteiner_Radioactive.UpDownScaleRadioactiveValue = 0.5;
Conteiner_Radioactive.UpDownScaleRadioactiveDirection = 1;
};
Conteiner_Radioactive.UpDownScaleRadioactive = (Conteiner_Radioactive.UpDownScaleRadioactive + (Conteiner_Radioactive.UpDownScaleRadioactiveValue * Conteiner_Radioactive.UpDownScaleRadioactiveDirection));
if ((((Conteiner_Radioactive.UpDownScaleRadioactive > 10)) && ((Conteiner_Radioactive.UpDownScaleRadioactiveDirection == 1)))){
Conteiner_Radioactive.UpDownScaleRadioactiveDirection = -1;
Conteiner_Radioactive.UpDownScaleRadioactive = 10;
};
if ((((Conteiner_Radioactive.UpDownScaleRadioactive < 0)) && ((Conteiner_Radioactive.UpDownScaleRadioactiveDirection == -1)))){
Conteiner_Radioactive.UpDownScaleRadioactiveDirection = 1;
Conteiner_Radioactive.UpDownScaleRadioactive = 0;
};
ModScale = Conteiner_Radioactive.UpDownScaleRadioactive;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
if (Conteiner_Radioactive.UpDownVXRadioactive == null){
Conteiner_Radioactive.UpDownVXRadioactive = -6;
Conteiner_Radioactive.UpDownVXRadioactiveValue = 0.59;
Conteiner_Radioactive.UpDownVXRadioactiveDirection = 1;
};
Conteiner_Radioactive.UpDownVXRadioactive = (Conteiner_Radioactive.UpDownVXRadioactive + (Conteiner_Radioactive.UpDownVXRadioactiveValue * Conteiner_Radioactive.UpDownVXRadioactiveDirection));
if ((((Conteiner_Radioactive.UpDownVXRadioactive > 5.8)) && ((Conteiner_Radioactive.UpDownVXRadioactiveDirection == 1)))){
Conteiner_Radioactive.UpDownVXRadioactiveDirection = -1;
Conteiner_Radioactive.UpDownVXRadioactive = 5.8;
};
if ((((Conteiner_Radioactive.UpDownVXRadioactive < -6)) && ((Conteiner_Radioactive.UpDownVXRadioactiveDirection == -1)))){
Conteiner_Radioactive.UpDownVXRadioactiveDirection = 1;
Conteiner_Radioactive.UpDownVXRadioactive = -6;
};
NewParticule.VX = Conteiner_Radioactive.UpDownVXRadioactive;
if (Conteiner_Radioactive.UpDownVYRadioactive == null){
Conteiner_Radioactive.UpDownVYRadioactive = -6.1;
Conteiner_Radioactive.UpDownVYRadioactiveValue = 0.605;
Conteiner_Radioactive.UpDownVYRadioactiveDirection = 1;
};
Conteiner_Radioactive.UpDownVYRadioactive = (Conteiner_Radioactive.UpDownVYRadioactive + (Conteiner_Radioactive.UpDownVYRadioactiveValue * Conteiner_Radioactive.UpDownVYRadioactiveDirection));
if ((((Conteiner_Radioactive.UpDownVYRadioactive > 6)) && ((Conteiner_Radioactive.UpDownVYRadioactiveDirection == 1)))){
Conteiner_Radioactive.UpDownVYRadioactiveDirection = -1;
Conteiner_Radioactive.UpDownVYRadioactive = 6;
};
if ((((Conteiner_Radioactive.UpDownVYRadioactive < -6.1)) && ((Conteiner_Radioactive.UpDownVYRadioactiveDirection == -1)))){
Conteiner_Radioactive.UpDownVYRadioactiveDirection = 1;
Conteiner_Radioactive.UpDownVYRadioactive = -6.1;
};
NewParticule.VY = Conteiner_Radioactive.UpDownVYRadioactive;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(94);
Teinte = new ColorTransform();
DirectColors = ["66CC00", "33CC00", "00CC00", "00FF00", "33FF00", "66FF00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Radioactive = 0;
} else {
ParticuleCadence_Radioactive++;
};
}
public function ParticuleGenerator_Hard_Illusion(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Hard_Illusion >= 0){
P = 0;
while (P <= ParticuleCadence_Hard_Illusion) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Hard_Illusion.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Illusion);
NewParticule.x = Target_Hard_Illusion.x;
NewParticule.y = Target_Hard_Illusion.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Illusion);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FF0099", "FF0066", "660066", "660099"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = ((Math.random() * (10 - 0)) + 0);
ModWidth = ((Math.random() * (10 - 0)) + 0);
ModHeight = ((Math.random() * (10 - 0)) + 0);
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (360 - 0)) + 0);
NewParticule.alpha = (((Math.random() * (100 - 0)) + 0) / 100);
NewParticule.EvoS = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoW = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoH = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoR = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoA = ((Math.random() * (-1.4 - -10)) + -10);
NewParticule.DestA = 0;
NewParticule.gotoAndStop(79);
P = (P + 1);
};
ParticuleCadence_Hard_Illusion = 0;
} else {
ParticuleCadence_Hard_Illusion++;
};
}
public function Interrupt_Buzz_Bble(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Buzz_Bble);
}
public function ParticuleGenerator_Smiley(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Smiley >= 0){
P = 0;
while (P <= ParticuleCadence_Smiley) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Smiley.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Smiley);
NewParticule.x = Target_Smiley.x;
NewParticule.y = Target_Smiley.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Smiley);
} catch(e) {
};
};
ModScale = 2.6;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = -1.3;
NewParticule.EvoA = -1.4;
NewParticule.DestT = 10;
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.gotoAndStop(87);
Teinte = new ColorTransform();
DirectColors = ["FF6666", "FF9966", "66FF66"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Smiley = 0.4;
} else {
ParticuleCadence_Smiley++;
};
}
public function LoopParticule_Buzz_Bble(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.x = (_local2.x + ((Math.random() * (_local2.ChaosDX[1] - _local2.ChaosDX[0])) + _local2.ChaosDX[0]));
_local2.y = (_local2.y + ((Math.random() * (_local2.ChaosDY[1] - _local2.ChaosDY[0])) + _local2.ChaosDY[0]));
}
public function LoopParticule_Money(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VX = (_local2.VX + _local2.CVX);
_local2.VY = (_local2.VY + _local2.CVY);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Pale_Rotative(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Pale_Rotative);
}
public function ParticuleGenerator_Money(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Money >= 0){
P = 0;
while (P <= ParticuleCadence_Money) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Money.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Money);
NewParticule.x = Target_Money.x;
NewParticule.y = Target_Money.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Money);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FFFF33", "FF9900"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 0.6;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.VY = ((Math.random() * (-4.6 - -19.3)) + -19.3);
NewParticule.CVY = 1.5;
NewParticule.CVX = ((Math.random() * (0.4 - -0.3)) + -0.3);
NewParticule.EvoA = -0.1;
NewParticule.DestP = 25.7;
NewParticule.gotoAndStop(100);
P = (P + 1);
};
ParticuleCadence_Money = ((Math.random() * (9.3 - -8.7)) + -8.7);
} else {
ParticuleCadence_Money++;
};
}
public function Interrupt_Bric_Broc(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Bric_Broc);
}
public function LoopParticule_Pixel_Lombrik(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.ChaosInstantScale = (_local2.ChaosDS + ((Math.random() * 2) - 1));
_local2.width = (_local2.width + _local2.ChaosInstantScale);
_local2.height = (_local2.height + _local2.ChaosInstantScale);
_local2.rotation = _local3;
_local3 = _local2.rotation;
_local2.rotation = 0;
if (_local2.UpDownSpeedChaosVS == null){
_local2.UpDownSpeedChaosVS = _local2.ChaosVS[0];
_local2.UpDownSpeedChaosVSValue = 0;
_local2.UpDownSpeedChaosVSDirection = 1;
};
_local2.UpDownSpeedChaosVSValue = (_local2.UpDownSpeedChaosVSValue + _local2.UpDownSpeedChaosVSDirection);
_local2.UpDownSpeedChaosVSValue = (_local2.UpDownSpeedChaosVSValue * 0.8);
_local2.UpDownSpeedChaosVS = (_local2.UpDownSpeedChaosVS + _local2.UpDownSpeedChaosVSValue);
if ((((_local2.UpDownSpeedChaosVS > _local2.ChaosVS[1])) && ((_local2.UpDownSpeedChaosVSDirection == 1)))){
_local2.UpDownSpeedChaosVSDirection = -1;
_local2.UpDownSpeedChaosVS = _local2.ChaosVS[1];
};
if ((((_local2.UpDownSpeedChaosVS < _local2.ChaosVS[0])) && ((_local2.UpDownSpeedChaosVSDirection == -1)))){
_local2.UpDownSpeedChaosVSDirection = 1;
_local2.UpDownSpeedChaosVS = _local2.ChaosVS[0];
};
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + _local2.UpDownSpeedChaosVS);
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
}
public function ParticuleGenerator_Red_Target(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Red_Target >= 0){
P = 0;
while (P <= ParticuleCadence_Red_Target) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Red_Target.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Red_Target);
NewParticule.x = Target_Red_Target.x;
NewParticule.y = Target_Red_Target.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Red_Target);
} catch(e) {
};
};
ModScale = 0.5;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.DX = new Array(-7.8, 7.4)[Math.round((Math.random() * 1))];
NewParticule.DY = new Array(-14.5, 14.4)[Math.round((Math.random() * 1))];
NewParticule.DestP = 10.5;
NewParticule.gotoAndStop(5);
Teinte = new ColorTransform();
DirectColors = ["FF0000", "990000"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Red_Target = 7.5;
} else {
ParticuleCadence_Red_Target++;
};
}
public function Interrupt_No_Way(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_No_Way);
}
public function ParticuleGenerator_Rock(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Rock >= 0){
P = 0;
while (P <= ParticuleCadence_Rock) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Rock.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Rock);
NewParticule.x = Target_Rock.x;
NewParticule.y = Target_Rock.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Rock);
} catch(e) {
};
};
if (Conteiner_Rock.UpDownY == null){
Conteiner_Rock.UpDownY = -21.3;
Conteiner_Rock.UpDownYValue = 0;
Conteiner_Rock.UpDownYDirection = 1;
};
Conteiner_Rock.UpDownYValue = (Conteiner_Rock.UpDownYValue + Conteiner_Rock.UpDownYDirection);
Conteiner_Rock.UpDownYValue = (Conteiner_Rock.UpDownYValue * 0.8);
Conteiner_Rock.UpDownY = (Conteiner_Rock.UpDownY + Conteiner_Rock.UpDownYValue);
if ((((Conteiner_Rock.UpDownY > 14.8)) && ((Conteiner_Rock.UpDownYDirection == 1)))){
Conteiner_Rock.UpDownYDirection = -1;
};
if ((((Conteiner_Rock.UpDownY < -21.3)) && ((Conteiner_Rock.UpDownYDirection == -1)))){
Conteiner_Rock.UpDownYDirection = 1;
};
NewParticule.y = (NewParticule.y + Conteiner_Rock.UpDownY);
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
if (Conteiner_Rock.UpDownDX == null){
Conteiner_Rock.UpDownDX = -12.4;
Conteiner_Rock.UpDownDXValue = 0;
Conteiner_Rock.UpDownDXDirection = 1;
};
Conteiner_Rock.UpDownDXValue = (Conteiner_Rock.UpDownDXValue + Conteiner_Rock.UpDownDXDirection);
Conteiner_Rock.UpDownDXValue = (Conteiner_Rock.UpDownDXValue * 0.8);
Conteiner_Rock.UpDownDX = (Conteiner_Rock.UpDownDX + Conteiner_Rock.UpDownDXValue);
if ((((Conteiner_Rock.UpDownDX > 11.7)) && ((Conteiner_Rock.UpDownDXDirection == 1)))){
Conteiner_Rock.UpDownDXDirection = -1;
};
if ((((Conteiner_Rock.UpDownDX < -12.4)) && ((Conteiner_Rock.UpDownDXDirection == -1)))){
Conteiner_Rock.UpDownDXDirection = 1;
};
NewParticule.DX = Conteiner_Rock.UpDownDX;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = [-1.5, 1.2];
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = [-1.3, 1.3];
NewParticule.gotoAndStop(84);
Teinte = new ColorTransform();
DirectColors = ["CC9900", "FF9900", "990000", "FF0000"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Rock = 0;
} else {
ParticuleCadence_Rock++;
};
}
public function Interrupt_Blue(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Blue);
}
public function LoopParticule_Bric_Broc(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VY = (_local2.VY + _local2.CVY);
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Blup(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Blup);
}
public function Interrupt_Optical_prisme(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Optical_prisme);
}
public function Interrupt_Music(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Music);
}
public function Interrupt_Clic_Bubble(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Clic_Bubble);
}
public function Interrupt_Sonic(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Sonic);
}
public function LoopParticule_Classic(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
if (_local2.UpDownSpeedChaosVY == null){
_local2.UpDownSpeedChaosVY = _local2.ChaosVY[0];
_local2.UpDownSpeedChaosVYValue = 0;
_local2.UpDownSpeedChaosVYDirection = 1;
};
_local2.UpDownSpeedChaosVYValue = (_local2.UpDownSpeedChaosVYValue + _local2.UpDownSpeedChaosVYDirection);
_local2.UpDownSpeedChaosVYValue = (_local2.UpDownSpeedChaosVYValue * 0.8);
_local2.UpDownSpeedChaosVY = (_local2.UpDownSpeedChaosVY + _local2.UpDownSpeedChaosVYValue);
if ((((_local2.UpDownSpeedChaosVY > _local2.ChaosVY[1])) && ((_local2.UpDownSpeedChaosVYDirection == 1)))){
_local2.UpDownSpeedChaosVYDirection = -1;
_local2.UpDownSpeedChaosVY = _local2.ChaosVY[1];
};
if ((((_local2.UpDownSpeedChaosVY < _local2.ChaosVY[0])) && ((_local2.UpDownSpeedChaosVYDirection == -1)))){
_local2.UpDownSpeedChaosVYDirection = 1;
_local2.UpDownSpeedChaosVY = _local2.ChaosVY[0];
};
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + _local2.UpDownSpeedChaosVY);
_local2.y = (_local2.y + _local2.SpeedChaosVY);
}
public function Interrupt_Cloud(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Cloud);
}
public function LoopParticule_Lyla_Windows(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Optical_prisme(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Flower_Cube(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Sewn(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Sewn);
}
public function ParticuleGenerator_Blowing_Washer(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Blowing_Washer >= 0){
P = 0;
while (P <= ParticuleCadence_Blowing_Washer) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Blowing_Washer.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Blowing_Washer);
NewParticule.x = Target_Blowing_Washer.x;
NewParticule.y = Target_Blowing_Washer.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Blowing_Washer);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["6666CC", "6699CC", "669966", "66CC33", "66FF00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
NewParticule.x = (NewParticule.x + ((Math.random() * (23.9 - -29.3)) + -29.3));
NewParticule.y = (NewParticule.y + ((Math.random() * (27.6 - -33.6)) + -33.6));
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.DX = ((Math.random() * (31.6 - -32.2)) + -32.2);
NewParticule.DY = ((Math.random() * (25.2 - -26.3)) + -26.3);
NewParticule.EvoS = -1.1;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(100);
P = (P + 1);
};
if (Conteiner_Blowing_Washer.UpDownCadence == null){
Conteiner_Blowing_Washer.UpDownCadence = -4.2;
Conteiner_Blowing_Washer.UpDownCadenceValue = 0.435;
Conteiner_Blowing_Washer.UpDownCadenceDirection = 1;
};
Conteiner_Blowing_Washer.UpDownCadence = (Conteiner_Blowing_Washer.UpDownCadence + (Conteiner_Blowing_Washer.UpDownCadenceValue * Conteiner_Blowing_Washer.UpDownCadenceDirection));
if ((((Conteiner_Blowing_Washer.UpDownCadence > 4.5)) && ((Conteiner_Blowing_Washer.UpDownCadenceDirection == 1)))){
Conteiner_Blowing_Washer.UpDownCadenceDirection = -1;
Conteiner_Blowing_Washer.UpDownCadence = 4.5;
};
if ((((Conteiner_Blowing_Washer.UpDownCadence < -4.2)) && ((Conteiner_Blowing_Washer.UpDownCadenceDirection == -1)))){
Conteiner_Blowing_Washer.UpDownCadenceDirection = 1;
Conteiner_Blowing_Washer.UpDownCadence = -4.2;
};
ParticuleCadence_Blowing_Washer = Conteiner_Blowing_Washer.UpDownCadence;
} else {
ParticuleCadence_Blowing_Washer++;
};
}
public function ParticuleGenerator_Pulsar_prisme(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Pulsar_prisme >= 0){
P = 0;
while (P <= ParticuleCadence_Pulsar_prisme) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Pulsar_prisme.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Pulsar_prisme);
NewParticule.x = Target_Pulsar_prisme.x;
NewParticule.y = Target_Pulsar_prisme.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Pulsar_prisme);
} catch(e) {
};
};
ModScale = 7;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
if (Conteiner_Pulsar_prisme.UpDownEvoW == null){
Conteiner_Pulsar_prisme.UpDownEvoW = -4.4;
Conteiner_Pulsar_prisme.UpDownEvoWValue = 0;
Conteiner_Pulsar_prisme.UpDownEvoWDirection = 1;
};
Conteiner_Pulsar_prisme.UpDownEvoWValue = (Conteiner_Pulsar_prisme.UpDownEvoWValue + Conteiner_Pulsar_prisme.UpDownEvoWDirection);
Conteiner_Pulsar_prisme.UpDownEvoWValue = (Conteiner_Pulsar_prisme.UpDownEvoWValue * 0.8);
Conteiner_Pulsar_prisme.UpDownEvoW = (Conteiner_Pulsar_prisme.UpDownEvoW + Conteiner_Pulsar_prisme.UpDownEvoWValue);
if ((((Conteiner_Pulsar_prisme.UpDownEvoW > 4.8)) && ((Conteiner_Pulsar_prisme.UpDownEvoWDirection == 1)))){
Conteiner_Pulsar_prisme.UpDownEvoWDirection = -1;
};
if ((((Conteiner_Pulsar_prisme.UpDownEvoW < -4.4)) && ((Conteiner_Pulsar_prisme.UpDownEvoWDirection == -1)))){
Conteiner_Pulsar_prisme.UpDownEvoWDirection = 1;
};
NewParticule.EvoW = Conteiner_Pulsar_prisme.UpDownEvoW;
NewParticule.EvoH = 5.2;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(13);
Teinte = new ColorTransform();
DirectColors = ["6666FF", "6699FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Pulsar_prisme = 0;
} else {
ParticuleCadence_Pulsar_prisme++;
};
}
public function Interrupt_Matrix(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Matrix);
}
public function LoopParticule_Super_Nova(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
function frame100(){
Moving = "Cible";
Nom = "Tetris";
(parent as MovieClip).CheckCible("Cible");
Target_Tetris = (parent as MovieClip).Cible;
Conteiner_Tetris = (parent as MovieClip).Conteneur;
ParticuleCadence_Tetris = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Tetris);
}
function frame101(){
Moving = "Cible";
Nom = "Music";
(parent as MovieClip).CheckCible("Cible");
Target_Music = (parent as MovieClip).Cible;
Conteiner_Music = (parent as MovieClip).Conteneur;
ParticuleCadence_Music = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Music);
}
function frame102(){
Moving = "Cible";
Nom = "Classic";
(parent as MovieClip).CheckCible("Cible");
Target_Classic = (parent as MovieClip).Cible;
Conteiner_Classic = (parent as MovieClip).Conteneur;
ParticuleCadence_Classic = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Classic);
}
function frame103(){
Moving = "Cible";
Nom = "Reggae";
(parent as MovieClip).CheckCible("Cible");
Target_Reggae = (parent as MovieClip).Cible;
Conteiner_Reggae = (parent as MovieClip).Conteneur;
ParticuleCadence_Reggae = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Reggae);
}
function frame104(){
Moving = "Cible";
Nom = "Rock";
(parent as MovieClip).CheckCible("Cible");
Target_Rock = (parent as MovieClip).Cible;
Conteiner_Rock = (parent as MovieClip).Conteneur;
ParticuleCadence_Rock = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Rock);
}
function frame105(){
Moving = "Cible";
Nom = "Chaos_Pyra";
(parent as MovieClip).CheckCible("Cible");
Target_Chaos_Pyra = (parent as MovieClip).Cible;
Conteiner_Chaos_Pyra = (parent as MovieClip).Conteneur;
ParticuleCadence_Chaos_Pyra = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Pyra);
}
function frame108(){
Moving = "Cible";
Nom = "HardStyle";
(parent as MovieClip).CheckCible("Cible");
Target_HardStyle = (parent as MovieClip).Cible;
Conteiner_HardStyle = (parent as MovieClip).Conteneur;
ParticuleCadence_HardStyle = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_HardStyle);
}
function frame109(){
Moving = "Cible";
Nom = "Techno";
(parent as MovieClip).CheckCible("Cible");
Target_Techno = (parent as MovieClip).Cible;
Conteiner_Techno = (parent as MovieClip).Conteneur;
ParticuleCadence_Techno = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Techno);
}
function frame106(){
Moving = "Cible";
Nom = "Jazz";
(parent as MovieClip).CheckCible("Cible");
Target_Jazz = (parent as MovieClip).Cible;
Conteiner_Jazz = (parent as MovieClip).Conteneur;
ParticuleCadence_Jazz = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Jazz);
}
public function LoopParticule_Simple(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
function frame107(){
Moving = "Cible";
Nom = "Metal";
(parent as MovieClip).CheckCible("Cible");
Target_Metal = (parent as MovieClip).Cible;
Conteiner_Metal = (parent as MovieClip).Conteneur;
ParticuleCadence_Metal = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Metal);
}
function frame111(){
Moving = "Cible";
Nom = "Tic_Fish";
(parent as MovieClip).CheckCible("Cible");
Target_Tic_Fish = (parent as MovieClip).Cible;
Conteiner_Tic_Fish = (parent as MovieClip).Conteneur;
ParticuleCadence_Tic_Fish = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Tic_Fish);
}
function frame112(){
Moving = "Cible";
Nom = "Smiley";
(parent as MovieClip).CheckCible("Cible");
Target_Smiley = (parent as MovieClip).Cible;
Conteiner_Smiley = (parent as MovieClip).Conteneur;
ParticuleCadence_Smiley = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Smiley);
}
function frame113(){
Moving = "Cible";
Nom = "Zen";
(parent as MovieClip).CheckCible("Cible");
Target_Zen = (parent as MovieClip).Cible;
Conteiner_Zen = (parent as MovieClip).Conteneur;
ParticuleCadence_Zen = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Zen);
}
function frame114(){
Moving = "Statique";
Nom = "Washing";
(parent as MovieClip).CheckCible("Statique");
Target_Washing = (parent as MovieClip).Cible;
Conteiner_Washing = (parent as MovieClip).Conteneur;
ParticuleCadence_Washing = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Washing);
}
function frame115(){
Moving = "Cible";
Nom = "Combo_Hit";
(parent as MovieClip).CheckCible("Cible");
Target_Combo_Hit = (parent as MovieClip).Cible;
Conteiner_Combo_Hit = (parent as MovieClip).Conteneur;
ParticuleCadence_Combo_Hit = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Combo_Hit);
}
public function LoopParticule_Paper(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VX = (_local2.VX + _local2.CVX);
_local2.VY = (_local2.VY + _local2.CVY);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
function frame118(){
Moving = "Statique";
Nom = "Diablo_Uppercut";
(parent as MovieClip).CheckCible("Statique");
Target_Diablo_Uppercut = (parent as MovieClip).Cible;
Conteiner_Diablo_Uppercut = (parent as MovieClip).Conteneur;
ParticuleCadence_Diablo_Uppercut = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Diablo_Uppercut);
}
public function LoopParticule_Final(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VX = (_local2.VX + _local2.CVX);
_local2.VY = (_local2.VY + _local2.CVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local2.x = (_local2.x + ((Math.random() * (_local2.ChaosDX[1] - _local2.ChaosDX[0])) + _local2.ChaosDX[0]));
_local2.y = (_local2.y + ((Math.random() * (_local2.ChaosDY[1] - _local2.ChaosDY[0])) + _local2.ChaosDY[0]));
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.ChaosInstantScale = ((Math.random() * (_local2.ChaosDS[1] - _local2.ChaosDS[0])) + _local2.ChaosDS[0]);
_local2.width = (_local2.width + _local2.ChaosInstantScale);
_local2.height = (_local2.height + _local2.ChaosInstantScale);
_local2.ChaosInstantWidth = ((Math.random() * (_local2.ChaosDW[1] - _local2.ChaosDW[0])) + _local2.ChaosDW[0]);
_local2.width = (_local2.width + _local2.ChaosInstantWidth);
_local2.ChaosInstantHeight = ((Math.random() * (_local2.ChaosDH[1] - _local2.ChaosDH[0])) + _local2.ChaosDH[0]);
_local2.height = (_local2.height + _local2.ChaosInstantHeight);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + ((Math.random() * (_local2.ChaosDR[1] - _local2.ChaosDR[0])) + _local2.ChaosDR[0]));
_local2.alpha = (_local2.alpha + ((Math.random() * (_local2.ChaosDA[1] - _local2.ChaosDA[0])) + (_local2.ChaosDA[0] / 100)));
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + ((Math.random() * (_local2.ChaosVX[1] - _local2.ChaosVX[0])) + _local2.ChaosVX[0]));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + ((Math.random() * (_local2.ChaosVY[1] - _local2.ChaosVY[0])) + _local2.ChaosVY[0]));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + ((Math.random() * (_local2.ChaosVS[1] - _local2.ChaosVS[0])) + _local2.ChaosVS[0]));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.SpeedChaosVW = (_local2.SpeedChaosVW + ((Math.random() * (_local2.ChaosVW[1] - _local2.ChaosVW[0])) + _local2.ChaosVW[0]));
_local2.width = (_local2.width + _local2.SpeedChaosVW);
_local2.SpeedChaosVH = (_local2.SpeedChaosVH + ((Math.random() * (_local2.ChaosVH[1] - _local2.ChaosVH[0])) + _local2.ChaosVH[0]));
_local2.height = (_local2.height + _local2.SpeedChaosVH);
_local2.rotation = _local3;
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + ((Math.random() * (_local2.ChaosVR[1] - _local2.ChaosVR[0])) + _local2.ChaosVR[0]));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
_local2.SpeedChaosVA = (_local2.SpeedChaosVA + ((Math.random() * (_local2.ChaosVA[1] - _local2.ChaosVA[0])) + _local2.ChaosVA[0]));
_local2.alpha = (_local2.alpha + (_local2.SpeedChaosVA / 100));
}
public function LoopParticule_Hard_Honey(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Deep_Impact(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.ChaosInstantWidth = (_local2.ChaosDW + ((Math.random() * 2) - 1));
_local2.width = (_local2.width + _local2.ChaosInstantWidth);
_local2.ChaosInstantHeight = (_local2.ChaosDH + ((Math.random() * 2) - 1));
_local2.height = (_local2.height + _local2.ChaosInstantHeight);
_local2.rotation = _local3;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVW = (_local2.SpeedChaosVW + (_local2.ChaosVW + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVW);
_local2.rotation = _local3;
}
public function ParticuleGenerator_Final(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Final >= 0){
P = 0;
while (P <= ParticuleCadence_Final) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Final.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Final);
NewParticule.x = Target_Final.x;
NewParticule.y = Target_Final.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Final);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FF9900", "66FF33", "336699", "CC3300", "FF3399"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
if (Conteiner_Final.UpDownXFinal == null){
Conteiner_Final.UpDownXFinal = -102;
Conteiner_Final.UpDownXFinalValue = 10.775;
Conteiner_Final.UpDownXFinalDirection = 1;
};
Conteiner_Final.UpDownXFinal = (Conteiner_Final.UpDownXFinal + (Conteiner_Final.UpDownXFinalValue * Conteiner_Final.UpDownXFinalDirection));
if ((((Conteiner_Final.UpDownXFinal > 113.5)) && ((Conteiner_Final.UpDownXFinalDirection == 1)))){
Conteiner_Final.UpDownXFinalDirection = -1;
Conteiner_Final.UpDownXFinal = 113.5;
};
if ((((Conteiner_Final.UpDownXFinal < -102)) && ((Conteiner_Final.UpDownXFinalDirection == -1)))){
Conteiner_Final.UpDownXFinalDirection = 1;
Conteiner_Final.UpDownXFinal = -102;
};
NewParticule.x = (NewParticule.x + Conteiner_Final.UpDownXFinal);
if (Conteiner_Final.UpDownYFinal == null){
Conteiner_Final.UpDownYFinal = -91.3;
Conteiner_Final.UpDownYFinalValue = 10.455;
Conteiner_Final.UpDownYFinalDirection = 1;
};
Conteiner_Final.UpDownYFinal = (Conteiner_Final.UpDownYFinal + (Conteiner_Final.UpDownYFinalValue * Conteiner_Final.UpDownYFinalDirection));
if ((((Conteiner_Final.UpDownYFinal > 117.8)) && ((Conteiner_Final.UpDownYFinalDirection == 1)))){
Conteiner_Final.UpDownYFinalDirection = -1;
Conteiner_Final.UpDownYFinal = 117.8;
};
if ((((Conteiner_Final.UpDownYFinal < -91.3)) && ((Conteiner_Final.UpDownYFinalDirection == -1)))){
Conteiner_Final.UpDownYFinalDirection = 1;
Conteiner_Final.UpDownYFinal = -91.3;
};
NewParticule.y = (NewParticule.y + Conteiner_Final.UpDownYFinal);
if (Conteiner_Final.UpDownScaleFinal == null){
Conteiner_Final.UpDownScaleFinal = 0;
Conteiner_Final.UpDownScaleFinalValue = 0.47;
Conteiner_Final.UpDownScaleFinalDirection = 1;
};
Conteiner_Final.UpDownScaleFinal = (Conteiner_Final.UpDownScaleFinal + (Conteiner_Final.UpDownScaleFinalValue * Conteiner_Final.UpDownScaleFinalDirection));
if ((((Conteiner_Final.UpDownScaleFinal > 9.4)) && ((Conteiner_Final.UpDownScaleFinalDirection == 1)))){
Conteiner_Final.UpDownScaleFinalDirection = -1;
Conteiner_Final.UpDownScaleFinal = 9.4;
};
if ((((Conteiner_Final.UpDownScaleFinal < 0)) && ((Conteiner_Final.UpDownScaleFinalDirection == -1)))){
Conteiner_Final.UpDownScaleFinalDirection = 1;
Conteiner_Final.UpDownScaleFinal = 0;
};
ModScale = Conteiner_Final.UpDownScaleFinal;
if (Conteiner_Final.UpDownWidthFinal == null){
Conteiner_Final.UpDownWidthFinal = 0;
Conteiner_Final.UpDownWidthFinalValue = 0.5;
Conteiner_Final.UpDownWidthFinalDirection = 1;
};
Conteiner_Final.UpDownWidthFinal = (Conteiner_Final.UpDownWidthFinal + (Conteiner_Final.UpDownWidthFinalValue * Conteiner_Final.UpDownWidthFinalDirection));
if ((((Conteiner_Final.UpDownWidthFinal > 10)) && ((Conteiner_Final.UpDownWidthFinalDirection == 1)))){
Conteiner_Final.UpDownWidthFinalDirection = -1;
Conteiner_Final.UpDownWidthFinal = 10;
};
if ((((Conteiner_Final.UpDownWidthFinal < 0)) && ((Conteiner_Final.UpDownWidthFinalDirection == -1)))){
Conteiner_Final.UpDownWidthFinalDirection = 1;
Conteiner_Final.UpDownWidthFinal = 0;
};
ModWidth = Conteiner_Final.UpDownWidthFinal;
if (Conteiner_Final.UpDownHeightFinal == null){
Conteiner_Final.UpDownHeightFinal = 0;
Conteiner_Final.UpDownHeightFinalValue = 0.5;
Conteiner_Final.UpDownHeightFinalDirection = 1;
};
Conteiner_Final.UpDownHeightFinal = (Conteiner_Final.UpDownHeightFinal + (Conteiner_Final.UpDownHeightFinalValue * Conteiner_Final.UpDownHeightFinalDirection));
if ((((Conteiner_Final.UpDownHeightFinal > 10)) && ((Conteiner_Final.UpDownHeightFinalDirection == 1)))){
Conteiner_Final.UpDownHeightFinalDirection = -1;
Conteiner_Final.UpDownHeightFinal = 10;
};
if ((((Conteiner_Final.UpDownHeightFinal < 0)) && ((Conteiner_Final.UpDownHeightFinalDirection == -1)))){
Conteiner_Final.UpDownHeightFinalDirection = 1;
Conteiner_Final.UpDownHeightFinal = 0;
};
ModHeight = Conteiner_Final.UpDownHeightFinal;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_Final.UpDownRotationFinal == null){
Conteiner_Final.UpDownRotationFinal = 0;
Conteiner_Final.UpDownRotationFinalValue = 18;
Conteiner_Final.UpDownRotationFinalDirection = 1;
};
Conteiner_Final.UpDownRotationFinal = (Conteiner_Final.UpDownRotationFinal + (Conteiner_Final.UpDownRotationFinalValue * Conteiner_Final.UpDownRotationFinalDirection));
if ((((Conteiner_Final.UpDownRotationFinal > 360)) && ((Conteiner_Final.UpDownRotationFinalDirection == 1)))){
Conteiner_Final.UpDownRotationFinalDirection = -1;
Conteiner_Final.UpDownRotationFinal = 360;
};
if ((((Conteiner_Final.UpDownRotationFinal < 0)) && ((Conteiner_Final.UpDownRotationFinalDirection == -1)))){
Conteiner_Final.UpDownRotationFinalDirection = 1;
Conteiner_Final.UpDownRotationFinal = 0;
};
NewParticule.rotation = Conteiner_Final.UpDownRotationFinal;
if (Conteiner_Final.UpDownAlphaFinal == null){
Conteiner_Final.UpDownAlphaFinal = 38.9;
Conteiner_Final.UpDownAlphaFinalValue = 3.055;
Conteiner_Final.UpDownAlphaFinalDirection = 1;
};
Conteiner_Final.UpDownAlphaFinal = (Conteiner_Final.UpDownAlphaFinal + (Conteiner_Final.UpDownAlphaFinalValue * Conteiner_Final.UpDownAlphaFinalDirection));
if ((((Conteiner_Final.UpDownAlphaFinal > 100)) && ((Conteiner_Final.UpDownAlphaFinalDirection == 1)))){
Conteiner_Final.UpDownAlphaFinalDirection = -1;
Conteiner_Final.UpDownAlphaFinal = 100;
};
if ((((Conteiner_Final.UpDownAlphaFinal < 38.9)) && ((Conteiner_Final.UpDownAlphaFinalDirection == -1)))){
Conteiner_Final.UpDownAlphaFinalDirection = 1;
Conteiner_Final.UpDownAlphaFinal = 38.9;
};
NewParticule.alpha = (Conteiner_Final.UpDownAlphaFinal / 100);
if (Conteiner_Final.UpDownCVYFinal == null){
Conteiner_Final.UpDownCVYFinal = -4.2;
Conteiner_Final.UpDownCVYFinalValue = 0.49;
Conteiner_Final.UpDownCVYFinalDirection = 1;
};
Conteiner_Final.UpDownCVYFinal = (Conteiner_Final.UpDownCVYFinal + (Conteiner_Final.UpDownCVYFinalValue * Conteiner_Final.UpDownCVYFinalDirection));
if ((((Conteiner_Final.UpDownCVYFinal > 5.6)) && ((Conteiner_Final.UpDownCVYFinalDirection == 1)))){
Conteiner_Final.UpDownCVYFinalDirection = -1;
Conteiner_Final.UpDownCVYFinal = 5.6;
};
if ((((Conteiner_Final.UpDownCVYFinal < -4.2)) && ((Conteiner_Final.UpDownCVYFinalDirection == -1)))){
Conteiner_Final.UpDownCVYFinalDirection = 1;
Conteiner_Final.UpDownCVYFinal = -4.2;
};
NewParticule.CVY = Conteiner_Final.UpDownCVYFinal;
if (Conteiner_Final.UpDownCVXFinal == null){
Conteiner_Final.UpDownCVXFinal = -5.8;
Conteiner_Final.UpDownCVXFinalValue = 0.64;
Conteiner_Final.UpDownCVXFinalDirection = 1;
};
Conteiner_Final.UpDownCVXFinal = (Conteiner_Final.UpDownCVXFinal + (Conteiner_Final.UpDownCVXFinalValue * Conteiner_Final.UpDownCVXFinalDirection));
if ((((Conteiner_Final.UpDownCVXFinal > 7)) && ((Conteiner_Final.UpDownCVXFinalDirection == 1)))){
Conteiner_Final.UpDownCVXFinalDirection = -1;
Conteiner_Final.UpDownCVXFinal = 7;
};
if ((((Conteiner_Final.UpDownCVXFinal < -5.8)) && ((Conteiner_Final.UpDownCVXFinalDirection == -1)))){
Conteiner_Final.UpDownCVXFinalDirection = 1;
Conteiner_Final.UpDownCVXFinal = -5.8;
};
NewParticule.CVX = Conteiner_Final.UpDownCVXFinal;
if (Conteiner_Final.UpDownEvoSFinal == null){
Conteiner_Final.UpDownEvoSFinal = -10;
Conteiner_Final.UpDownEvoSFinalValue = 1;
Conteiner_Final.UpDownEvoSFinalDirection = 1;
};
Conteiner_Final.UpDownEvoSFinal = (Conteiner_Final.UpDownEvoSFinal + (Conteiner_Final.UpDownEvoSFinalValue * Conteiner_Final.UpDownEvoSFinalDirection));
if ((((Conteiner_Final.UpDownEvoSFinal > 10)) && ((Conteiner_Final.UpDownEvoSFinalDirection == 1)))){
Conteiner_Final.UpDownEvoSFinalDirection = -1;
Conteiner_Final.UpDownEvoSFinal = 10;
};
if ((((Conteiner_Final.UpDownEvoSFinal < -10)) && ((Conteiner_Final.UpDownEvoSFinalDirection == -1)))){
Conteiner_Final.UpDownEvoSFinalDirection = 1;
Conteiner_Final.UpDownEvoSFinal = -10;
};
NewParticule.EvoS = Conteiner_Final.UpDownEvoSFinal;
if (Conteiner_Final.UpDownEvoWFinal == null){
Conteiner_Final.UpDownEvoWFinal = -8.8;
Conteiner_Final.UpDownEvoWFinalValue = 0.765;
Conteiner_Final.UpDownEvoWFinalDirection = 1;
};
Conteiner_Final.UpDownEvoWFinal = (Conteiner_Final.UpDownEvoWFinal + (Conteiner_Final.UpDownEvoWFinalValue * Conteiner_Final.UpDownEvoWFinalDirection));
if ((((Conteiner_Final.UpDownEvoWFinal > 6.5)) && ((Conteiner_Final.UpDownEvoWFinalDirection == 1)))){
Conteiner_Final.UpDownEvoWFinalDirection = -1;
Conteiner_Final.UpDownEvoWFinal = 6.5;
};
if ((((Conteiner_Final.UpDownEvoWFinal < -8.8)) && ((Conteiner_Final.UpDownEvoWFinalDirection == -1)))){
Conteiner_Final.UpDownEvoWFinalDirection = 1;
Conteiner_Final.UpDownEvoWFinal = -8.8;
};
NewParticule.EvoW = Conteiner_Final.UpDownEvoWFinal;
if (Conteiner_Final.UpDownEvoHFinal == null){
Conteiner_Final.UpDownEvoHFinal = -10;
Conteiner_Final.UpDownEvoHFinalValue = 1;
Conteiner_Final.UpDownEvoHFinalDirection = 1;
};
Conteiner_Final.UpDownEvoHFinal = (Conteiner_Final.UpDownEvoHFinal + (Conteiner_Final.UpDownEvoHFinalValue * Conteiner_Final.UpDownEvoHFinalDirection));
if ((((Conteiner_Final.UpDownEvoHFinal > 10)) && ((Conteiner_Final.UpDownEvoHFinalDirection == 1)))){
Conteiner_Final.UpDownEvoHFinalDirection = -1;
Conteiner_Final.UpDownEvoHFinal = 10;
};
if ((((Conteiner_Final.UpDownEvoHFinal < -10)) && ((Conteiner_Final.UpDownEvoHFinalDirection == -1)))){
Conteiner_Final.UpDownEvoHFinalDirection = 1;
Conteiner_Final.UpDownEvoHFinal = -10;
};
NewParticule.EvoH = Conteiner_Final.UpDownEvoHFinal;
if (Conteiner_Final.UpDownEvoRFinal == null){
Conteiner_Final.UpDownEvoRFinal = -10;
Conteiner_Final.UpDownEvoRFinalValue = 0.995;
Conteiner_Final.UpDownEvoRFinalDirection = 1;
};
Conteiner_Final.UpDownEvoRFinal = (Conteiner_Final.UpDownEvoRFinal + (Conteiner_Final.UpDownEvoRFinalValue * Conteiner_Final.UpDownEvoRFinalDirection));
if ((((Conteiner_Final.UpDownEvoRFinal > 9.9)) && ((Conteiner_Final.UpDownEvoRFinalDirection == 1)))){
Conteiner_Final.UpDownEvoRFinalDirection = -1;
Conteiner_Final.UpDownEvoRFinal = 9.9;
};
if ((((Conteiner_Final.UpDownEvoRFinal < -10)) && ((Conteiner_Final.UpDownEvoRFinalDirection == -1)))){
Conteiner_Final.UpDownEvoRFinalDirection = 1;
Conteiner_Final.UpDownEvoRFinal = -10;
};
NewParticule.EvoR = Conteiner_Final.UpDownEvoRFinal;
if (Conteiner_Final.UpDownEvoAFinal == null){
Conteiner_Final.UpDownEvoAFinal = -8;
Conteiner_Final.UpDownEvoAFinalValue = 0.38;
Conteiner_Final.UpDownEvoAFinalDirection = 1;
};
Conteiner_Final.UpDownEvoAFinal = (Conteiner_Final.UpDownEvoAFinal + (Conteiner_Final.UpDownEvoAFinalValue * Conteiner_Final.UpDownEvoAFinalDirection));
if ((((Conteiner_Final.UpDownEvoAFinal > -0.4)) && ((Conteiner_Final.UpDownEvoAFinalDirection == 1)))){
Conteiner_Final.UpDownEvoAFinalDirection = -1;
Conteiner_Final.UpDownEvoAFinal = -0.4;
};
if ((((Conteiner_Final.UpDownEvoAFinal < -8)) && ((Conteiner_Final.UpDownEvoAFinalDirection == -1)))){
Conteiner_Final.UpDownEvoAFinalDirection = 1;
Conteiner_Final.UpDownEvoAFinal = -8;
};
NewParticule.EvoA = Conteiner_Final.UpDownEvoAFinal;
NewParticule.DestP = 34;
NewParticule.ChaosDX = [-10, 10];
NewParticule.ChaosDY = [-10, 10];
NewParticule.ChaosDS = [-10, 10];
NewParticule.ChaosDW = [-10, 10];
NewParticule.ChaosDH = [-10, 10];
NewParticule.ChaosDR = [-10, 10];
NewParticule.ChaosDA = [-10, 10];
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = [-10, 10];
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = [-10, 10];
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = [-10, 10];
NewParticule.SpeedChaosVW = 0;
NewParticule.ChaosVW = [-10, 10];
NewParticule.SpeedChaosVH = 0;
NewParticule.ChaosVH = [-10, 10];
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = [-10, 10];
NewParticule.SpeedChaosVA = 0;
NewParticule.ChaosVA = [-10, 10];
NewParticule.gotoAndStop(3);
P = (P + 1);
};
ParticuleCadence_Final = 0;
} else {
ParticuleCadence_Final++;
};
}
function frame110(){
Moving = "Cible";
Nom = "Kawaii";
(parent as MovieClip).CheckCible("Cible");
Target_Kawaii = (parent as MovieClip).Cible;
Conteiner_Kawaii = (parent as MovieClip).Conteneur;
ParticuleCadence_Kawaii = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Kawaii);
}
public function ParticuleGenerator_Paper(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Paper >= 0){
P = 0;
while (P <= ParticuleCadence_Paper) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Paper.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Paper);
NewParticule.x = Target_Paper.x;
NewParticule.y = Target_Paper.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Paper);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.CVY = ((Math.random() * (-0.8 - -0.1)) + -0.1);
NewParticule.CVX = ((Math.random() * (-0.5 - 0.7)) + 0.7);
NewParticule.EvoA = -1.6;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(74);
Teinte = new ColorTransform();
DirectColors = ["FFFFCC", "FFFF99", "FFFF66", "FFFF33"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Paper = 0;
} else {
ParticuleCadence_Paper++;
};
}
function frame116(){
Moving = "Cible";
Nom = "Dragon_Kick";
(parent as MovieClip).CheckCible("Cible");
Target_Dragon_Kick = (parent as MovieClip).Cible;
Conteiner_Dragon_Kick = (parent as MovieClip).Conteneur;
ParticuleCadence_Dragon_Kick = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Dragon_Kick);
}
function frame117(){
Moving = "Cible";
Nom = "Sub_Zero_Combo";
(parent as MovieClip).CheckCible("Cible");
Target_Sub_Zero_Combo = (parent as MovieClip).Cible;
Conteiner_Sub_Zero_Combo = (parent as MovieClip).Conteneur;
ParticuleCadence_Sub_Zero_Combo = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Sub_Zero_Combo);
}
function frame121(){
Moving = "Cible";
Nom = "Vaporing_Circle";
(parent as MovieClip).CheckCible("Cible");
Target_Vaporing_Circle = (parent as MovieClip).Cible;
Conteiner_Vaporing_Circle = (parent as MovieClip).Conteneur;
ParticuleCadence_Vaporing_Circle = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Vaporing_Circle);
}
function frame123(){
Moving = "Statique";
Nom = "Vortex";
(parent as MovieClip).CheckCible("Statique");
Target_Vortex = (parent as MovieClip).Cible;
Conteiner_Vortex = (parent as MovieClip).Conteneur;
ParticuleCadence_Vortex = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Vortex);
}
function frame124(){
Moving = "Statique";
Nom = "Space_Ship";
(parent as MovieClip).CheckCible("Statique");
Target_Space_Ship = (parent as MovieClip).Cible;
Conteiner_Space_Ship = (parent as MovieClip).Conteneur;
ParticuleCadence_Space_Ship = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Space_Ship);
}
public function LoopParticule_Crypted_Radio(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + (_local2.ChaosVR + ((Math.random() * 2) - 1)));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
function frame126(){
Moving = "Cible";
Nom = "Crypted_Radio";
(parent as MovieClip).CheckCible("Cible");
Target_Crypted_Radio = (parent as MovieClip).Cible;
Conteiner_Crypted_Radio = (parent as MovieClip).Conteneur;
ParticuleCadence_Crypted_Radio = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Crypted_Radio);
}
function frame120(){
Moving = "Cible";
Nom = "Chaos_Glow";
(parent as MovieClip).CheckCible("Cible");
Target_Chaos_Glow = (parent as MovieClip).Cible;
Conteiner_Chaos_Glow = (parent as MovieClip).Conteneur;
ParticuleCadence_Chaos_Glow = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Glow);
}
public function ParticuleGenerator_Aqua_Snake(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Aqua_Snake >= 0){
P = 0;
while (P <= ParticuleCadence_Aqua_Snake) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Aqua_Snake.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Aqua_Snake);
NewParticule.x = Target_Aqua_Snake.x;
NewParticule.y = Target_Aqua_Snake.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Aqua_Snake);
} catch(e) {
};
};
ModScale = 2.1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_Aqua_Snake.UpDownRotation == null){
Conteiner_Aqua_Snake.UpDownRotation = 0;
Conteiner_Aqua_Snake.UpDownRotationValue = 0;
Conteiner_Aqua_Snake.UpDownRotationDirection = 1;
};
Conteiner_Aqua_Snake.UpDownRotationValue = (Conteiner_Aqua_Snake.UpDownRotationValue + Conteiner_Aqua_Snake.UpDownRotationDirection);
Conteiner_Aqua_Snake.UpDownRotationValue = (Conteiner_Aqua_Snake.UpDownRotationValue * 0.8);
Conteiner_Aqua_Snake.UpDownRotation = (Conteiner_Aqua_Snake.UpDownRotation + Conteiner_Aqua_Snake.UpDownRotationValue);
if ((((Conteiner_Aqua_Snake.UpDownRotation > 53.2)) && ((Conteiner_Aqua_Snake.UpDownRotationDirection == 1)))){
Conteiner_Aqua_Snake.UpDownRotationDirection = -1;
};
if ((((Conteiner_Aqua_Snake.UpDownRotation < 0)) && ((Conteiner_Aqua_Snake.UpDownRotationDirection == -1)))){
Conteiner_Aqua_Snake.UpDownRotationDirection = 1;
};
NewParticule.rotation = Conteiner_Aqua_Snake.UpDownRotation;
NewParticule.alpha = (100 / 100);
NewParticule.VY = 27.7;
if (Conteiner_Aqua_Snake.UpDownCVY == null){
Conteiner_Aqua_Snake.UpDownCVY = -10;
Conteiner_Aqua_Snake.UpDownCVYValue = 1;
Conteiner_Aqua_Snake.UpDownCVYDirection = 1;
};
Conteiner_Aqua_Snake.UpDownCVY = (Conteiner_Aqua_Snake.UpDownCVY + (Conteiner_Aqua_Snake.UpDownCVYValue * Conteiner_Aqua_Snake.UpDownCVYDirection));
if ((((Conteiner_Aqua_Snake.UpDownCVY > 10)) && ((Conteiner_Aqua_Snake.UpDownCVYDirection == 1)))){
Conteiner_Aqua_Snake.UpDownCVYDirection = -1;
Conteiner_Aqua_Snake.UpDownCVY = 10;
};
if ((((Conteiner_Aqua_Snake.UpDownCVY < -10)) && ((Conteiner_Aqua_Snake.UpDownCVYDirection == -1)))){
Conteiner_Aqua_Snake.UpDownCVYDirection = 1;
Conteiner_Aqua_Snake.UpDownCVY = -10;
};
NewParticule.CVY = Conteiner_Aqua_Snake.UpDownCVY;
if (Conteiner_Aqua_Snake.UpDownCVX == null){
Conteiner_Aqua_Snake.UpDownCVX = -10;
Conteiner_Aqua_Snake.UpDownCVXValue = 1;
Conteiner_Aqua_Snake.UpDownCVXDirection = 1;
};
Conteiner_Aqua_Snake.UpDownCVX = (Conteiner_Aqua_Snake.UpDownCVX + (Conteiner_Aqua_Snake.UpDownCVXValue * Conteiner_Aqua_Snake.UpDownCVXDirection));
if ((((Conteiner_Aqua_Snake.UpDownCVX > 10)) && ((Conteiner_Aqua_Snake.UpDownCVXDirection == 1)))){
Conteiner_Aqua_Snake.UpDownCVXDirection = -1;
Conteiner_Aqua_Snake.UpDownCVX = 10;
};
if ((((Conteiner_Aqua_Snake.UpDownCVX < -10)) && ((Conteiner_Aqua_Snake.UpDownCVXDirection == -1)))){
Conteiner_Aqua_Snake.UpDownCVXDirection = 1;
Conteiner_Aqua_Snake.UpDownCVX = -10;
};
NewParticule.CVX = Conteiner_Aqua_Snake.UpDownCVX;
NewParticule.EvoS = -3.9;
NewParticule.DestP = 8.4;
NewParticule.gotoAndStop(23);
Teinte = new ColorTransform();
DirectColors = ["66FF33", "66FF66"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Aqua_Snake = 0;
} else {
ParticuleCadence_Aqua_Snake++;
};
}
function frame119(){
Moving = "Cible";
Nom = "Shower";
(parent as MovieClip).CheckCible("Cible");
Target_Shower = (parent as MovieClip).Cible;
Conteiner_Shower = (parent as MovieClip).Conteneur;
ParticuleCadence_Shower = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Shower);
}
function frame127(){
Moving = "Cible";
Nom = "Pixel_Point";
(parent as MovieClip).CheckCible("Cible");
Target_Pixel_Point = (parent as MovieClip).Cible;
Conteiner_Pixel_Point = (parent as MovieClip).Conteneur;
ParticuleCadence_Pixel_Point = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Pixel_Point);
}
public function Interrupt_StormPulsar(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_StormPulsar);
}
function frame129(){
Moving = "Cible";
Nom = "Pixel_Point_2b";
(parent as MovieClip).CheckCible("Cible");
Target_Pixel_Point_2b = (parent as MovieClip).Cible;
Conteiner_Pixel_Point_2b = (parent as MovieClip).Conteneur;
ParticuleCadence_Pixel_Point_2b = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Pixel_Point_2b);
}
function frame122(){
Moving = "Statique";
Nom = "Medusa";
(parent as MovieClip).CheckCible("Statique");
Target_Medusa = (parent as MovieClip).Cible;
Conteiner_Medusa = (parent as MovieClip).Conteneur;
ParticuleCadence_Medusa = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Medusa);
}
function frame125(){
Moving = "Cible";
Nom = "Konoha_Attak";
(parent as MovieClip).CheckCible("Cible");
Target_Konoha_Attak = (parent as MovieClip).Cible;
Conteiner_Konoha_Attak = (parent as MovieClip).Conteneur;
ParticuleCadence_Konoha_Attak = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Konoha_Attak);
}
function frame128(){
Moving = "Cible";
Nom = "Pixel_Point_2";
(parent as MovieClip).CheckCible("Cible");
Target_Pixel_Point_2 = (parent as MovieClip).Cible;
Conteiner_Pixel_Point_2 = (parent as MovieClip).Conteneur;
ParticuleCadence_Pixel_Point_2 = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Pixel_Point_2);
}
public function LoopParticule_Grass(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.x = (_local2.x + ((Math.random() * (_local2.ChaosDX[1] - _local2.ChaosDX[0])) + _local2.ChaosDX[0]));
_local2.y = (_local2.y + ((Math.random() * (_local2.ChaosDY[1] - _local2.ChaosDY[0])) + _local2.ChaosDY[0]));
_local2.rotation = (_local2.rotation + (_local2.ChaosDR + ((Math.random() * 2) - 1)));
}
public function ParticuleGenerator_Inspired_by(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Inspired_by >= 0){
P = 0;
while (P <= ParticuleCadence_Inspired_by) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Inspired_by.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Inspired_by);
NewParticule.x = Target_Inspired_by.x;
NewParticule.y = Target_Inspired_by.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Inspired_by);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["66CC00", "66FF00", "66FF33"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(80);
NewParticule.leTexte = "\"Mouse Effects\" —psychedelia";
P = (P + 1);
};
ParticuleCadence_Inspired_by = 0;
} else {
ParticuleCadence_Inspired_by++;
};
}
public function Interrupt_Chaos_Hexa(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Hexa);
}
function frame132(){
Moving = "Cible";
Nom = "Rainbow_Box";
(parent as MovieClip).CheckCible("Cible");
Target_Rainbow_Box = (parent as MovieClip).Cible;
Conteiner_Rainbow_Box = (parent as MovieClip).Conteneur;
ParticuleCadence_Rainbow_Box = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Rainbow_Box);
}
function frame133(){
Moving = "Cible";
Nom = "Rainbow_Sphere";
(parent as MovieClip).CheckCible("Cible");
Target_Rainbow_Sphere = (parent as MovieClip).Cible;
Conteiner_Rainbow_Sphere = (parent as MovieClip).Conteneur;
ParticuleCadence_Rainbow_Sphere = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Rainbow_Sphere);
}
public function LoopParticule_Wings(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Chaos_Paper(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Chaos_Paper >= 0){
P = 0;
while (P <= ParticuleCadence_Chaos_Paper) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Chaos_Paper.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Paper);
NewParticule.x = Target_Chaos_Paper.x;
NewParticule.y = Target_Chaos_Paper.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Paper);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FFFF66"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = 0.1;
NewParticule.DestP = ((Math.random() * (0 - 39.5)) + 39.5);
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = 0;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = 0;
NewParticule.gotoAndStop(74);
P = (P + 1);
};
ParticuleCadence_Chaos_Paper = 0;
} else {
ParticuleCadence_Chaos_Paper++;
};
}
function frame130(){
Moving = "Cible";
Nom = "Pixel_Point_3";
(parent as MovieClip).CheckCible("Cible");
Target_Pixel_Point_3 = (parent as MovieClip).Cible;
Conteiner_Pixel_Point_3 = (parent as MovieClip).Conteneur;
ParticuleCadence_Pixel_Point_3 = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Pixel_Point_3);
}
public function ParticuleGenerator_Grass(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Grass >= 0){
P = 0;
while (P <= ParticuleCadence_Grass) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Grass.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Grass);
NewParticule.x = Target_Grass.x;
NewParticule.y = Target_Grass.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Grass);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["33CC00", "33FF00", "339900"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 10;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = -10;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.ChaosDX = [-3.3, 2.8];
NewParticule.ChaosDY = [-3.2, 2.6];
NewParticule.ChaosDR = 0;
NewParticule.gotoAndStop(104);
P = (P + 1);
};
ParticuleCadence_Grass = 0;
} else {
ParticuleCadence_Grass++;
};
}
function frame139(){
Moving = "Cible";
Nom = "Radioactive";
(parent as MovieClip).CheckCible("Cible");
Target_Radioactive = (parent as MovieClip).Cible;
Conteiner_Radioactive = (parent as MovieClip).Conteneur;
ParticuleCadence_Radioactive = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Radioactive);
}
function frame135(){
Moving = "Cible";
Nom = "Chaos_Bubble";
(parent as MovieClip).CheckCible("Cible");
Target_Chaos_Bubble = (parent as MovieClip).Cible;
Conteiner_Chaos_Bubble = (parent as MovieClip).Conteneur;
ParticuleCadence_Chaos_Bubble = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Bubble);
}
function frame137(){
Moving = "Cible";
Nom = "Rain";
(parent as MovieClip).CheckCible("Cible");
Target_Rain = (parent as MovieClip).Cible;
Conteiner_Rain = (parent as MovieClip).Conteneur;
ParticuleCadence_Rain = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Rain);
}
public function LoopParticule_Prog_and_Design(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
function frame131(){
Moving = "Cible";
Nom = "Rainbow_Point";
(parent as MovieClip).CheckCible("Cible");
Target_Rainbow_Point = (parent as MovieClip).Cible;
Conteiner_Rainbow_Point = (parent as MovieClip).Conteneur;
ParticuleCadence_Rainbow_Point = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Rainbow_Point);
}
function frame134(){
Moving = "Cible";
Nom = "Rainbow_Hexa";
(parent as MovieClip).CheckCible("Cible");
Target_Rainbow_Hexa = (parent as MovieClip).Cible;
Conteiner_Rainbow_Hexa = (parent as MovieClip).Conteneur;
ParticuleCadence_Rainbow_Hexa = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Rainbow_Hexa);
}
function frame136(){
Moving = "Cible";
Nom = "Rainbow_Power";
(parent as MovieClip).CheckCible("Cible");
Target_Rainbow_Power = (parent as MovieClip).Cible;
Conteiner_Rainbow_Power = (parent as MovieClip).Conteneur;
ParticuleCadence_Rainbow_Power = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Rainbow_Power);
}
public function ParticuleGenerator_Wings(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Wings >= 0){
P = 0;
while (P <= ParticuleCadence_Wings) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Wings.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Wings);
NewParticule.x = Target_Wings.x;
NewParticule.y = Target_Wings.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Wings);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.DX = new Array(-6, 5.9)[Math.round((Math.random() * 1))];
NewParticule.EvoR = 10;
NewParticule.DestP = 19.8;
NewParticule.gotoAndStop(8);
Teinte = new ColorTransform();
DirectColors = ["FFFFFF", "FFFFCC", "FFFF99"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Wings = 7.5;
} else {
ParticuleCadence_Wings++;
};
}
function frame138(){
Moving = "Cible";
Nom = "Warning";
(parent as MovieClip).CheckCible("Cible");
Target_Warning = (parent as MovieClip).Cible;
Conteiner_Warning = (parent as MovieClip).Conteneur;
ParticuleCadence_Warning = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Warning);
}
function frame143(){
Moving = "Cible";
Nom = "Polygon_Worm";
(parent as MovieClip).CheckCible("Cible");
Target_Polygon_Worm = (parent as MovieClip).Cible;
Conteiner_Polygon_Worm = (parent as MovieClip).Conteneur;
ParticuleCadence_Polygon_Worm = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Polygon_Worm);
}
public function ParticuleGenerator_Medical(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Medical >= 0){
P = 0;
while (P <= ParticuleCadence_Medical) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Medical.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Medical);
NewParticule.x = Target_Medical.x;
NewParticule.y = Target_Medical.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Medical);
} catch(e) {
};
};
ModScale = 10;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -5;
NewParticule.DestP = 6.5;
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = [-1.7, 1.6];
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = [-2.2, 1.5];
NewParticule.gotoAndStop(7);
Teinte = new ColorTransform();
DirectColors = ["003300", "009900", "336699", "3399CC"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Medical = 0;
} else {
ParticuleCadence_Medical++;
};
}
function frame145(){
Moving = "Cible";
Nom = "Column_Crisal";
(parent as MovieClip).CheckCible("Cible");
Target_Column_Crisal = (parent as MovieClip).Cible;
Conteiner_Column_Crisal = (parent as MovieClip).Conteneur;
ParticuleCadence_Column_Crisal = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Column_Crisal);
}
function frame146(){
Moving = "Cible";
Nom = "Tile";
(parent as MovieClip).CheckCible("Cible");
Target_Tile = (parent as MovieClip).Cible;
Conteiner_Tile = (parent as MovieClip).Conteneur;
ParticuleCadence_Tile = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Tile);
}
public function Interrupt_Green(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Green);
}
public function LoopParticule_Tetris(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.y = (_local2.y + _local2.DY);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
function frame144(){
Moving = "Cible";
Nom = "Blup";
(parent as MovieClip).CheckCible("Cible");
Target_Blup = (parent as MovieClip).Cible;
Conteiner_Blup = (parent as MovieClip).Conteneur;
ParticuleCadence_Blup = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Blup);
}
public function ParticuleGenerator_Blue(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Blue >= 0){
P = 0;
while (P <= ParticuleCadence_Blue) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Blue.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Blue);
NewParticule.x = Target_Blue.x;
NewParticule.y = Target_Blue.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Blue);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.VX = 9.6;
NewParticule.CVY = 2.3;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(1);
Teinte = new ColorTransform();
DirectColors = ["3366FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Blue = 0;
} else {
ParticuleCadence_Blue++;
};
}
function frame140(){
Moving = "Statique";
Nom = "Vinyl";
(parent as MovieClip).CheckCible("Statique");
Target_Vinyl = (parent as MovieClip).Cible;
Conteiner_Vinyl = (parent as MovieClip).Conteneur;
ParticuleCadence_Vinyl = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Vinyl);
}
function frame141(){
Moving = "Cible";
Nom = "Wall";
(parent as MovieClip).CheckCible("Cible");
Target_Wall = (parent as MovieClip).Cible;
Conteiner_Wall = (parent as MovieClip).Conteneur;
ParticuleCadence_Wall = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Wall);
}
public function ParticuleGenerator_Blup(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Blup >= 0){
P = 0;
while (P <= ParticuleCadence_Blup) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Blup.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Blup);
NewParticule.x = Target_Blup.x;
NewParticule.y = Target_Blup.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Blup);
} catch(e) {
};
};
ModScale = 1.3;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.VX = ((Math.random() * (2.8 - -6.1)) + -6.1);
NewParticule.VY = ((Math.random() * (1.3 - 8.2)) + 8.2);
NewParticule.CVY = ((Math.random() * (-0.5 - -1.2)) + -1.2);
NewParticule.EvoS = -1;
NewParticule.EvoA = -0.3;
NewParticule.DestT = 4.7;
NewParticule.gotoAndStop(98);
Teinte = new ColorTransform();
DirectColors = ["6633CC", "6633FF", "6666FF", "6666CC"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Blup = 0;
} else {
ParticuleCadence_Blup++;
};
}
public function LoopParticule_Shaker(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
function frame147(){
Moving = "Cible";
Nom = "Ice_Fountain";
(parent as MovieClip).CheckCible("Cible");
Target_Ice_Fountain = (parent as MovieClip).Cible;
Conteiner_Ice_Fountain = (parent as MovieClip).Conteneur;
ParticuleCadence_Ice_Fountain = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Ice_Fountain);
}
public function Interrupt_Hypnotica(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hypnotica);
}
function frame149(){
Moving = "Cible";
Nom = "Blowing_Washer";
(parent as MovieClip).CheckCible("Cible");
Target_Blowing_Washer = (parent as MovieClip).Cible;
Conteiner_Blowing_Washer = (parent as MovieClip).Conteneur;
ParticuleCadence_Blowing_Washer = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Blowing_Washer);
}
function frame142(){
Moving = "Cible";
Nom = "Bric_Broc";
(parent as MovieClip).CheckCible("Cible");
Target_Bric_Broc = (parent as MovieClip).Cible;
Conteiner_Bric_Broc = (parent as MovieClip).Conteneur;
ParticuleCadence_Bric_Broc = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Bric_Broc);
}
public function LoopParticule_Comet(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + ((Math.random() * (_local2.ChaosVX[1] - _local2.ChaosVX[0])) + _local2.ChaosVX[0]));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + ((Math.random() * (_local2.ChaosVY[1] - _local2.ChaosVY[0])) + _local2.ChaosVY[0]));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + ((Math.random() * (_local2.ChaosVS[1] - _local2.ChaosVS[0])) + _local2.ChaosVS[0]));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + ((Math.random() * (_local2.ChaosVR[1] - _local2.ChaosVR[0])) + _local2.ChaosVR[0]));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
function frame150(){
Moving = "Cible";
Nom = "Chaos_Paper";
(parent as MovieClip).CheckCible("Cible");
Target_Chaos_Paper = (parent as MovieClip).Cible;
Conteiner_Chaos_Paper = (parent as MovieClip).Conteneur;
ParticuleCadence_Chaos_Paper = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Paper);
}
public function ParticuleGenerator_Aqua_Data(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Aqua_Data >= 0){
P = 0;
while (P <= ParticuleCadence_Aqua_Data) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Aqua_Data.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Aqua_Data);
NewParticule.x = Target_Aqua_Data.x;
NewParticule.y = Target_Aqua_Data.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Aqua_Data);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.DY = new Array(-6.3, 5.9)[Math.round((Math.random() * 1))];
NewParticule.EvoA = -5.1;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(10);
Teinte = new ColorTransform();
DirectColors = ["66FFCC", "66FF66", "66FF00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Aqua_Data = 4.8;
} else {
ParticuleCadence_Aqua_Data++;
};
}
function frame152(){
Moving = "Cible";
Nom = "Speed";
(parent as MovieClip).CheckCible("Cible");
Target_Speed = (parent as MovieClip).Cible;
Conteiner_Speed = (parent as MovieClip).Conteneur;
ParticuleCadence_Speed = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Speed);
}
public function ParticuleGenerator_Comet(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Comet >= 0){
P = 0;
while (P <= ParticuleCadence_Comet) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Comet.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Comet);
NewParticule.x = Target_Comet.x;
NewParticule.y = Target_Comet.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Comet);
} catch(e) {
};
};
ModScale = ((Math.random() * (3.9 - 1.6)) + 1.6);
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.VY = ((Math.random() * (49.8 - 18.6)) + 18.6);
NewParticule.EvoS = -3.6;
NewParticule.EvoA = -10;
NewParticule.DestP = 6.5;
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = [4.1, -3.8];
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = [6.3, -2];
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = [-2.6, 0.5];
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = [-2.9, 4.7];
NewParticule.gotoAndStop(6);
Teinte = new ColorTransform();
DirectColors = ["FF3300", "FF6600", "FF9900", "FFFF00", "FFCC00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Comet = 4.1;
} else {
ParticuleCadence_Comet++;
};
}
function frame155(){
Moving = "Cible";
Nom = "New_Year";
(parent as MovieClip).CheckCible("Cible");
Target_New_Year = (parent as MovieClip).Cible;
Conteiner_New_Year = (parent as MovieClip).Conteneur;
ParticuleCadence_New_Year = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_New_Year);
}
public function ParticuleGenerator_Night_Star(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Night_Star >= 0){
P = 0;
while (P <= ParticuleCadence_Night_Star) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Night_Star.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Night_Star);
NewParticule.x = Target_Night_Star.x;
NewParticule.y = Target_Night_Star.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Night_Star);
} catch(e) {
};
};
ModScale = ((Math.random() * (4 - 0)) + 0);
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (13.4 - 360)) + 360);
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 1.2;
NewParticule.EvoW = 10;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.ChaosDW = [1.4, 10];
NewParticule.ChaosDH = -2.8;
NewParticule.gotoAndStop(48);
Teinte = new ColorTransform();
DirectColors = ["330099", "3333CC", "3366FF", "99FFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Night_Star = 0;
} else {
ParticuleCadence_Night_Star++;
};
}
function frame151(){
Moving = "Cible";
Nom = "High_Demake_Up";
(parent as MovieClip).CheckCible("Cible");
Target_High_Demake_Up = (parent as MovieClip).Cible;
Conteiner_High_Demake_Up = (parent as MovieClip).Conteneur;
ParticuleCadence_High_Demake_Up = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_High_Demake_Up);
}
function frame159(){
Moving = "Cible";
Nom = "Hesitance";
(parent as MovieClip).CheckCible("Cible");
Target_Hesitance = (parent as MovieClip).Cible;
Conteiner_Hesitance = (parent as MovieClip).Conteneur;
ParticuleCadence_Hesitance = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hesitance);
}
function frame153(){
Moving = "Cible";
Nom = "Spinal_Worm";
(parent as MovieClip).CheckCible("Cible");
Target_Spinal_Worm = (parent as MovieClip).Cible;
Conteiner_Spinal_Worm = (parent as MovieClip).Conteneur;
ParticuleCadence_Spinal_Worm = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Spinal_Worm);
}
public function LoopParticule_Ice_Fountain(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VX = (_local2.VX + _local2.CVX);
_local2.VY = (_local2.VY + _local2.CVY);
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
function frame157(){
Moving = "Cible";
Nom = "Where";
(parent as MovieClip).CheckCible("Cible");
Target_Where = (parent as MovieClip).Cible;
Conteiner_Where = (parent as MovieClip).Conteneur;
ParticuleCadence_Where = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Where);
}
function frame158(){
Moving = "Cible";
Nom = "Direction";
(parent as MovieClip).CheckCible("Cible");
Target_Direction = (parent as MovieClip).Cible;
Conteiner_Direction = (parent as MovieClip).Conteneur;
ParticuleCadence_Direction = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Direction);
}
public function Interrupt_Pink(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Pink);
}
function frame148(){
Moving = "Cible";
Nom = "Money";
(parent as MovieClip).CheckCible("Cible");
Target_Money = (parent as MovieClip).Cible;
Conteiner_Money = (parent as MovieClip).Conteneur;
ParticuleCadence_Money = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Money);
}
public function LoopParticule_Hypnotica(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
function frame154(){
Moving = "Cible";
Nom = "Carnival";
(parent as MovieClip).CheckCible("Cible");
Target_Carnival = (parent as MovieClip).Cible;
Conteiner_Carnival = (parent as MovieClip).Conteneur;
ParticuleCadence_Carnival = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Carnival);
}
function frame156(){
Moving = "Cible";
Nom = "Deep_Impact";
(parent as MovieClip).CheckCible("Cible");
Target_Deep_Impact = (parent as MovieClip).Cible;
Conteiner_Deep_Impact = (parent as MovieClip).Conteneur;
ParticuleCadence_Deep_Impact = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Deep_Impact);
}
function frame160(){
Moving = "Cible";
Nom = "Snow";
(parent as MovieClip).CheckCible("Cible");
Target_Snow = (parent as MovieClip).Cible;
Conteiner_Snow = (parent as MovieClip).Conteneur;
ParticuleCadence_Snow = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Snow);
}
public function Interrupt_Snow(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Snow);
}
function frame163(){
Moving = "Statique";
Nom = "Tournesol";
(parent as MovieClip).CheckCible("Statique");
Target_Tournesol = (parent as MovieClip).Cible;
Conteiner_Tournesol = (parent as MovieClip).Conteneur;
ParticuleCadence_Tournesol = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Tournesol);
}
function frame164(){
Moving = "Statique";
Nom = "Tulipe";
(parent as MovieClip).CheckCible("Statique");
Target_Tulipe = (parent as MovieClip).Cible;
Conteiner_Tulipe = (parent as MovieClip).Conteneur;
ParticuleCadence_Tulipe = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Tulipe);
}
function frame165(){
Moving = "Cible";
Nom = "Chaos_Text";
(parent as MovieClip).CheckCible("Cible");
Target_Chaos_Text = (parent as MovieClip).Cible;
Conteiner_Chaos_Text = (parent as MovieClip).Conteneur;
ParticuleCadence_Chaos_Text = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Text);
}
function frame167(){
Moving = "Cible";
Nom = "No_Way";
(parent as MovieClip).CheckCible("Cible");
Target_No_Way = (parent as MovieClip).Cible;
Conteiner_No_Way = (parent as MovieClip).Conteneur;
ParticuleCadence_No_Way = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_No_Way);
}
public function ParticuleGenerator_Psycho_Tunnel(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Psycho_Tunnel >= 0){
P = 0;
while (P <= ParticuleCadence_Psycho_Tunnel) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Psycho_Tunnel.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Psycho_Tunnel);
NewParticule.x = Target_Psycho_Tunnel.x;
NewParticule.y = Target_Psycho_Tunnel.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Psycho_Tunnel);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 10;
NewParticule.EvoR = 3.5;
NewParticule.DestP = 27.5;
NewParticule.gotoAndStop(12);
Teinte = new ColorTransform();
DirectColors = ["000000", "FFFFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Psycho_Tunnel = 0;
} else {
ParticuleCadence_Psycho_Tunnel++;
};
}
function frame166(){
Moving = "Statique";
Nom = "Grass";
(parent as MovieClip).CheckCible("Statique");
Target_Grass = (parent as MovieClip).Cible;
Conteiner_Grass = (parent as MovieClip).Conteneur;
ParticuleCadence_Grass = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Grass);
}
function frame168(){
Moving = "Cible";
Nom = "Pink_Agent";
(parent as MovieClip).CheckCible("Cible");
Target_Pink_Agent = (parent as MovieClip).Cible;
Conteiner_Pink_Agent = (parent as MovieClip).Conteneur;
ParticuleCadence_Pink_Agent = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Pink_Agent);
}
public function ParticuleGenerator_Rainbow_Power(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Rainbow_Power >= 0){
P = 0;
while (P <= ParticuleCadence_Rainbow_Power) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Rainbow_Power.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Rainbow_Power);
NewParticule.x = Target_Rainbow_Power.x;
NewParticule.y = Target_Rainbow_Power.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Rainbow_Power);
} catch(e) {
};
};
ModScale = 10;
ModWidth = 10;
ModHeight = 10;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = -6.3;
NewParticule.EvoA = -6;
NewParticule.DestP = 50;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(106);
Teinte = new ColorTransform();
DirectColors = ["FFFFFF", "FF00FF", "FFFF00", "0000FF", "00FF00", "FF0000", "660099", "33FFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Rainbow_Power = 0;
} else {
ParticuleCadence_Rainbow_Power++;
};
}
public function ParticuleGenerator_Sewn(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Sewn >= 0){
P = 0;
while (P <= ParticuleCadence_Sewn) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Sewn.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Sewn);
NewParticule.x = Target_Sewn.x;
NewParticule.y = Target_Sewn.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Sewn);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.DX = new Array(-8.9, 9)[Math.round((Math.random() * 1))];
NewParticule.CVY = new Array(-2, 2)[Math.round((Math.random() * 1))];
NewParticule.EvoR = new Array(-10, 10)[Math.round((Math.random() * 1))];
NewParticule.EvoA = -8.1;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(10);
Teinte = new ColorTransform();
DirectColors = ["FFFFFF", "FFCCCC", "FFCC99"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Sewn = 4.8;
} else {
ParticuleCadence_Sewn++;
};
}
function frame161(){
Moving = "Cible";
Nom = "Edelweis";
(parent as MovieClip).CheckCible("Cible");
Target_Edelweis = (parent as MovieClip).Cible;
Conteiner_Edelweis = (parent as MovieClip).Conteneur;
ParticuleCadence_Edelweis = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Edelweis);
}
public function Interrupt_New_Year(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_New_Year);
}
public function ParticuleGenerator_EarthPulsar(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_EarthPulsar >= 0){
P = 0;
while (P <= ParticuleCadence_EarthPulsar) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_EarthPulsar.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_EarthPulsar);
NewParticule.x = Target_EarthPulsar.x;
NewParticule.y = Target_EarthPulsar.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_EarthPulsar);
} catch(e) {
};
};
if (Conteiner_EarthPulsar.UpDownScale == null){
Conteiner_EarthPulsar.UpDownScale = 0;
Conteiner_EarthPulsar.UpDownScaleValue = 0;
Conteiner_EarthPulsar.UpDownScaleDirection = 1;
};
Conteiner_EarthPulsar.UpDownScaleValue = (Conteiner_EarthPulsar.UpDownScaleValue + Conteiner_EarthPulsar.UpDownScaleDirection);
Conteiner_EarthPulsar.UpDownScaleValue = (Conteiner_EarthPulsar.UpDownScaleValue * 0.8);
Conteiner_EarthPulsar.UpDownScale = (Conteiner_EarthPulsar.UpDownScale + Conteiner_EarthPulsar.UpDownScaleValue);
if ((((Conteiner_EarthPulsar.UpDownScale > 10)) && ((Conteiner_EarthPulsar.UpDownScaleDirection == 1)))){
Conteiner_EarthPulsar.UpDownScaleDirection = -1;
};
if ((((Conteiner_EarthPulsar.UpDownScale < 0)) && ((Conteiner_EarthPulsar.UpDownScaleDirection == -1)))){
Conteiner_EarthPulsar.UpDownScaleDirection = 1;
};
ModScale = Conteiner_EarthPulsar.UpDownScale;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_EarthPulsar.UpDownRotation == null){
Conteiner_EarthPulsar.UpDownRotation = 0;
Conteiner_EarthPulsar.UpDownRotationValue = 0;
Conteiner_EarthPulsar.UpDownRotationDirection = 1;
};
Conteiner_EarthPulsar.UpDownRotationValue = (Conteiner_EarthPulsar.UpDownRotationValue + Conteiner_EarthPulsar.UpDownRotationDirection);
Conteiner_EarthPulsar.UpDownRotationValue = (Conteiner_EarthPulsar.UpDownRotationValue * 0.8);
Conteiner_EarthPulsar.UpDownRotation = (Conteiner_EarthPulsar.UpDownRotation + Conteiner_EarthPulsar.UpDownRotationValue);
if ((((Conteiner_EarthPulsar.UpDownRotation > 74.2)) && ((Conteiner_EarthPulsar.UpDownRotationDirection == 1)))){
Conteiner_EarthPulsar.UpDownRotationDirection = -1;
};
if ((((Conteiner_EarthPulsar.UpDownRotation < 0)) && ((Conteiner_EarthPulsar.UpDownRotationDirection == -1)))){
Conteiner_EarthPulsar.UpDownRotationDirection = 1;
};
NewParticule.rotation = Conteiner_EarthPulsar.UpDownRotation;
if (Conteiner_EarthPulsar.UpDownAlpha == null){
Conteiner_EarthPulsar.UpDownAlpha = 10.1;
Conteiner_EarthPulsar.UpDownAlphaValue = 0;
Conteiner_EarthPulsar.UpDownAlphaDirection = 1;
};
Conteiner_EarthPulsar.UpDownAlphaValue = (Conteiner_EarthPulsar.UpDownAlphaValue + Conteiner_EarthPulsar.UpDownAlphaDirection);
Conteiner_EarthPulsar.UpDownAlphaValue = (Conteiner_EarthPulsar.UpDownAlphaValue * 0.8);
Conteiner_EarthPulsar.UpDownAlpha = (Conteiner_EarthPulsar.UpDownAlpha + Conteiner_EarthPulsar.UpDownAlphaValue);
if ((((Conteiner_EarthPulsar.UpDownAlpha > 100)) && ((Conteiner_EarthPulsar.UpDownAlphaDirection == 1)))){
Conteiner_EarthPulsar.UpDownAlphaDirection = -1;
};
if ((((Conteiner_EarthPulsar.UpDownAlpha < 10.1)) && ((Conteiner_EarthPulsar.UpDownAlphaDirection == -1)))){
Conteiner_EarthPulsar.UpDownAlphaDirection = 1;
};
NewParticule.alpha = (Conteiner_EarthPulsar.UpDownAlpha / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVW = 0;
NewParticule.ChaosVW = [-1.3, 1.1];
NewParticule.SpeedChaosVH = 0;
NewParticule.ChaosVH = [-1, 1.1];
NewParticule.gotoAndStop(42);
Teinte = new ColorTransform();
DirectColors = ["009900", "006600", "00CC00", "669900", "666600", "66CC00", "666633", "663300"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_EarthPulsar = 0;
} else {
ParticuleCadence_EarthPulsar++;
};
}
function frame170(){
Moving = "Cible";
Nom = "Pace";
(parent as MovieClip).CheckCible("Cible");
Target_Pace = (parent as MovieClip).Cible;
Conteiner_Pace = (parent as MovieClip).Conteneur;
ParticuleCadence_Pace = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Pace);
}
public function Interrupt_Doppler_Effect(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Doppler_Effect);
}
public function LoopParticule_Chaos_Pyra(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + (_local2.ChaosVS + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + (_local2.ChaosVR + ((Math.random() * 2) - 1)));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
function frame174(){
Moving = "Cible";
Nom = "Ambivalence";
(parent as MovieClip).CheckCible("Cible");
Target_Ambivalence = (parent as MovieClip).Cible;
Conteiner_Ambivalence = (parent as MovieClip).Conteneur;
ParticuleCadence_Ambivalence = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Ambivalence);
}
function frame177(){
Moving = "Cible";
Nom = "Constellation";
(parent as MovieClip).CheckCible("Cible");
Target_Constellation = (parent as MovieClip).Cible;
Conteiner_Constellation = (parent as MovieClip).Conteneur;
ParticuleCadence_Constellation = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Constellation);
}
function frame172(){
Moving = "Cible";
Nom = "Incal_Sun";
(parent as MovieClip).CheckCible("Cible");
Target_Incal_Sun = (parent as MovieClip).Cible;
Conteiner_Incal_Sun = (parent as MovieClip).Conteneur;
ParticuleCadence_Incal_Sun = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Incal_Sun);
}
public function LoopParticule_Edelweis(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
function frame169(){
Moving = "Cible";
Nom = "Hand_Chain";
(parent as MovieClip).CheckCible("Cible");
Target_Hand_Chain = (parent as MovieClip).Cible;
Conteiner_Hand_Chain = (parent as MovieClip).Conteneur;
ParticuleCadence_Hand_Chain = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hand_Chain);
}
function frame178(){
Moving = "Cible";
Nom = "Canabis";
(parent as MovieClip).CheckCible("Cible");
Target_Canabis = (parent as MovieClip).Cible;
Conteiner_Canabis = (parent as MovieClip).Conteneur;
ParticuleCadence_Canabis = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Canabis);
}
function frame173(){
Moving = "Cible";
Nom = "Brush";
(parent as MovieClip).CheckCible("Cible");
Target_Brush = (parent as MovieClip).Cible;
Conteiner_Brush = (parent as MovieClip).Conteneur;
ParticuleCadence_Brush = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Brush);
}
function frame176(){
Moving = "Cible";
Nom = "Zip_Code";
(parent as MovieClip).CheckCible("Cible");
Target_Zip_Code = (parent as MovieClip).Cible;
Conteiner_Zip_Code = (parent as MovieClip).Conteneur;
ParticuleCadence_Zip_Code = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Zip_Code);
}
public function ParticuleGenerator_Tank_Bones(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Tank_Bones >= 0){
P = 0;
while (P <= ParticuleCadence_Tank_Bones) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Tank_Bones.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Tank_Bones);
NewParticule.x = Target_Tank_Bones.x;
NewParticule.y = Target_Tank_Bones.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Tank_Bones);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = 84.5;
NewParticule.alpha = (100 / 100);
NewParticule.DX = new Array(-9.4, 9.6)[Math.round((Math.random() * 1))];
NewParticule.DY = new Array(-6.9, 6.9)[Math.round((Math.random() * 1))];
NewParticule.EvoW = 10;
NewParticule.EvoH = -1.7;
NewParticule.EvoR = 10;
NewParticule.DestP = 19.8;
NewParticule.gotoAndStop(8);
Teinte = new ColorTransform();
DirectColors = ["FFFFFF", "FFFFCC", "FFFF99", "FFCC66", "FFCC99", "FFCCCC"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Tank_Bones = 7.5;
} else {
ParticuleCadence_Tank_Bones++;
};
}
function frame162(){
Moving = "Statique";
Nom = "Coquelicot";
(parent as MovieClip).CheckCible("Statique");
Target_Coquelicot = (parent as MovieClip).Cible;
Conteiner_Coquelicot = (parent as MovieClip).Conteneur;
ParticuleCadence_Coquelicot = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Coquelicot);
}
function frame180(){
Moving = "Cible";
Nom = "Chaos_Cube";
(parent as MovieClip).CheckCible("Cible");
Target_Chaos_Cube = (parent as MovieClip).Cible;
Conteiner_Chaos_Cube = (parent as MovieClip).Conteneur;
ParticuleCadence_Chaos_Cube = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Cube);
}
function frame181(){
Moving = "Cible";
Nom = "Hard_Star";
(parent as MovieClip).CheckCible("Cible");
Target_Hard_Star = (parent as MovieClip).Cible;
Conteiner_Hard_Star = (parent as MovieClip).Conteneur;
ParticuleCadence_Hard_Star = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Star);
}
function frame186(){
Moving = "Cible";
Nom = "Hard_Song";
(parent as MovieClip).CheckCible("Cible");
Target_Hard_Song = (parent as MovieClip).Cible;
Conteiner_Hard_Song = (parent as MovieClip).Conteneur;
ParticuleCadence_Hard_Song = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Song);
}
public function Interrupt_Wall(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Wall);
}
function frame184(){
Moving = "Cible";
Nom = "Hard_Rad";
(parent as MovieClip).CheckCible("Cible");
Target_Hard_Rad = (parent as MovieClip).Cible;
Conteiner_Hard_Rad = (parent as MovieClip).Conteneur;
ParticuleCadence_Hard_Rad = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Rad);
}
function frame179(){
Moving = "Cible";
Nom = "Hard_Ground";
(parent as MovieClip).CheckCible("Cible");
Target_Hard_Ground = (parent as MovieClip).Cible;
Conteiner_Hard_Ground = (parent as MovieClip).Conteneur;
ParticuleCadence_Hard_Ground = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Ground);
}
function frame187(){
Moving = "Cible";
Nom = "Hard_Love";
(parent as MovieClip).CheckCible("Cible");
Target_Hard_Love = (parent as MovieClip).Cible;
Conteiner_Hard_Love = (parent as MovieClip).Conteneur;
ParticuleCadence_Hard_Love = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Love);
}
public function LoopParticule_Doppler_Effect(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local3 = _local2.rotation;
_local2.rotation = 0;
if (_local2.UpDownSpeedChaosVW == null){
_local2.UpDownSpeedChaosVW = _local2.ChaosVW[0];
_local2.UpDownSpeedChaosVWValue = 0;
_local2.UpDownSpeedChaosVWDirection = 1;
};
_local2.UpDownSpeedChaosVWValue = (_local2.UpDownSpeedChaosVWValue + _local2.UpDownSpeedChaosVWDirection);
_local2.UpDownSpeedChaosVWValue = (_local2.UpDownSpeedChaosVWValue * 0.8);
_local2.UpDownSpeedChaosVW = (_local2.UpDownSpeedChaosVW + _local2.UpDownSpeedChaosVWValue);
if ((((_local2.UpDownSpeedChaosVW > _local2.ChaosVW[1])) && ((_local2.UpDownSpeedChaosVWDirection == 1)))){
_local2.UpDownSpeedChaosVWDirection = -1;
_local2.UpDownSpeedChaosVW = _local2.ChaosVW[1];
};
if ((((_local2.UpDownSpeedChaosVW < _local2.ChaosVW[0])) && ((_local2.UpDownSpeedChaosVWDirection == -1)))){
_local2.UpDownSpeedChaosVWDirection = 1;
_local2.UpDownSpeedChaosVW = _local2.ChaosVW[0];
};
_local2.SpeedChaosVW = (_local2.SpeedChaosVW + _local2.UpDownSpeedChaosVW);
_local2.width = (_local2.width + _local2.SpeedChaosVW);
if (_local2.UpDownSpeedChaosVH == null){
_local2.UpDownSpeedChaosVH = _local2.ChaosVH[0];
_local2.UpDownSpeedChaosVHValue = 0;
_local2.UpDownSpeedChaosVHDirection = 1;
};
_local2.UpDownSpeedChaosVHValue = (_local2.UpDownSpeedChaosVHValue + _local2.UpDownSpeedChaosVHDirection);
_local2.UpDownSpeedChaosVHValue = (_local2.UpDownSpeedChaosVHValue * 0.8);
_local2.UpDownSpeedChaosVH = (_local2.UpDownSpeedChaosVH + _local2.UpDownSpeedChaosVHValue);
if ((((_local2.UpDownSpeedChaosVH > _local2.ChaosVH[1])) && ((_local2.UpDownSpeedChaosVHDirection == 1)))){
_local2.UpDownSpeedChaosVHDirection = -1;
_local2.UpDownSpeedChaosVH = _local2.ChaosVH[1];
};
if ((((_local2.UpDownSpeedChaosVH < _local2.ChaosVH[0])) && ((_local2.UpDownSpeedChaosVHDirection == -1)))){
_local2.UpDownSpeedChaosVHDirection = 1;
_local2.UpDownSpeedChaosVH = _local2.ChaosVH[0];
};
_local2.SpeedChaosVH = (_local2.SpeedChaosVH + _local2.UpDownSpeedChaosVH);
_local2.height = (_local2.height + _local2.SpeedChaosVH);
_local2.rotation = _local3;
}
function frame182(){
Moving = "Cible";
Nom = "Hard_Sun";
(parent as MovieClip).CheckCible("Cible");
Target_Hard_Sun = (parent as MovieClip).Cible;
Conteiner_Hard_Sun = (parent as MovieClip).Conteneur;
ParticuleCadence_Hard_Sun = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Sun);
}
function frame175(){
Moving = "Cible";
Nom = "Zip";
(parent as MovieClip).CheckCible("Cible");
Target_Zip = (parent as MovieClip).Cible;
Conteiner_Zip = (parent as MovieClip).Conteneur;
ParticuleCadence_Zip = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Zip);
}
function frame185(){
Moving = "Cible";
Nom = "Hard_Mine";
(parent as MovieClip).CheckCible("Cible");
Target_Hard_Mine = (parent as MovieClip).Cible;
Conteiner_Hard_Mine = (parent as MovieClip).Conteneur;
ParticuleCadence_Hard_Mine = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Mine);
}
function frame189(){
Moving = "Cible";
Nom = "Hard_Smoke";
(parent as MovieClip).CheckCible("Cible");
Target_Hard_Smoke = (parent as MovieClip).Cible;
Conteiner_Hard_Smoke = (parent as MovieClip).Conteneur;
ParticuleCadence_Hard_Smoke = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Smoke);
}
public function Interrupt_Classic(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Classic);
}
function frame171(){
Moving = "Cible";
Nom = "Sun_Shine";
(parent as MovieClip).CheckCible("Cible");
Target_Sun_Shine = (parent as MovieClip).Cible;
Conteiner_Sun_Shine = (parent as MovieClip).Conteneur;
ParticuleCadence_Sun_Shine = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Sun_Shine);
}
public function Interrupt_Pink_Agent(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Pink_Agent);
}
public function ParticuleGenerator_Ambivalence(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Ambivalence >= 0){
P = 0;
while (P <= ParticuleCadence_Ambivalence) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Ambivalence.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Ambivalence);
NewParticule.x = Target_Ambivalence.x;
NewParticule.y = Target_Ambivalence.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Ambivalence);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["3333CC", "3366CC", "FF0000", "CC0000"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = ((Math.random() * (3.3 - 0)) + 0);
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoR = 10;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.ChaosDX = 0;
NewParticule.ChaosDY = 0;
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = 0;
NewParticule.gotoAndStop(108);
P = (P + 1);
};
ParticuleCadence_Ambivalence = 0;
} else {
ParticuleCadence_Ambivalence++;
};
}
public function Interrupt_Knife_Rotative(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Knife_Rotative);
}
function frame193(){
Moving = "Cible";
Nom = "Hard_Death";
(parent as MovieClip).CheckCible("Cible");
Target_Hard_Death = (parent as MovieClip).Cible;
Conteiner_Hard_Death = (parent as MovieClip).Conteneur;
ParticuleCadence_Hard_Death = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Death);
}
function frame194(){
Moving = "Cible";
Nom = "Hard_Kanji";
(parent as MovieClip).CheckCible("Cible");
Target_Hard_Kanji = (parent as MovieClip).Cible;
Conteiner_Hard_Kanji = (parent as MovieClip).Conteneur;
ParticuleCadence_Hard_Kanji = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Kanji);
}
public function ParticuleGenerator_Cristal(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Cristal >= 0){
P = 0;
while (P <= ParticuleCadence_Cristal) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Cristal.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Cristal);
NewParticule.x = Target_Cristal.x;
NewParticule.y = Target_Cristal.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Cristal);
} catch(e) {
};
};
ModScale = 2.8;
ModWidth = ((Math.random() * (10 - 0)) + 0);
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = 47.4;
NewParticule.alpha = (100 / 100);
NewParticule.EvoW = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = 10;
NewParticule.gotoAndStop(54);
Teinte = new ColorTransform();
DirectColors = ["00FFFF", "66FFFF", "33FFFF", "FFFFFF", "99FFFF", "CCFFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Cristal = 0;
} else {
ParticuleCadence_Cristal++;
};
}
public function Interrupt_Salvation(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Salvation);
}
function frame191(){
Moving = "Cible";
Nom = "Hard_Honey";
(parent as MovieClip).CheckCible("Cible");
Target_Hard_Honey = (parent as MovieClip).Cible;
Conteiner_Hard_Honey = (parent as MovieClip).Conteneur;
ParticuleCadence_Hard_Honey = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Honey);
}
function frame188(){
Moving = "Cible";
Nom = "Hard_Illusion";
(parent as MovieClip).CheckCible("Cible");
Target_Hard_Illusion = (parent as MovieClip).Cible;
Conteiner_Hard_Illusion = (parent as MovieClip).Conteneur;
ParticuleCadence_Hard_Illusion = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Illusion);
}
public function Interrupt_Zen(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Zen);
}
public function Interrupt_Hard_Illusion(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Illusion);
}
function frame199(){
Moving = "Cible";
Nom = "Inspired_by";
(parent as MovieClip).CheckCible("Cible");
Target_Inspired_by = (parent as MovieClip).Cible;
Conteiner_Inspired_by = (parent as MovieClip).Conteneur;
ParticuleCadence_Inspired_by = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Inspired_by);
}
public function LoopParticule_Knife_Rotative(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
function frame198(){
Moving = "Cible";
Nom = "Cosmetic_Hypno";
(parent as MovieClip).CheckCible("Cible");
Target_Cosmetic_Hypno = (parent as MovieClip).Cible;
Conteiner_Cosmetic_Hypno = (parent as MovieClip).Conteneur;
ParticuleCadence_Cosmetic_Hypno = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Cosmetic_Hypno);
}
function frame190(){
Moving = "Cible";
Nom = "Hard_Number";
(parent as MovieClip).CheckCible("Cible");
Target_Hard_Number = (parent as MovieClip).Cible;
Conteiner_Hard_Number = (parent as MovieClip).Conteneur;
ParticuleCadence_Hard_Number = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Number);
}
function frame183(){
Moving = "Cible";
Nom = "Hard_Stop";
(parent as MovieClip).CheckCible("Cible");
Target_Hard_Stop = (parent as MovieClip).Cible;
Conteiner_Hard_Stop = (parent as MovieClip).Conteneur;
ParticuleCadence_Hard_Stop = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Stop);
}
public function LoopParticule_Techno(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.y = (_local2.y + _local2.DY);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local2.x = (_local2.x + ((Math.random() * (_local2.ChaosDX[1] - _local2.ChaosDX[0])) + _local2.ChaosDX[0]));
_local2.y = (_local2.y + ((Math.random() * (_local2.ChaosDY[1] - _local2.ChaosDY[0])) + _local2.ChaosDY[0]));
}
function frame197(){
Moving = "Cible";
Nom = "Music_by";
(parent as MovieClip).CheckCible("Cible");
Target_Music_by = (parent as MovieClip).Cible;
Conteiner_Music_by = (parent as MovieClip).Conteneur;
ParticuleCadence_Music_by = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Music_by);
}
public function LoopParticule_Salvation(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.y = (_local2.y + _local2.DY);
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VX = (_local2.VX + _local2.CVX);
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Sun_Burn(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Sun_Burn);
}
function frame192(){
Moving = "Cible";
Nom = "Hard_Galaxy";
(parent as MovieClip).CheckCible("Cible");
Target_Hard_Galaxy = (parent as MovieClip).Cible;
Conteiner_Hard_Galaxy = (parent as MovieClip).Conteneur;
ParticuleCadence_Hard_Galaxy = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Galaxy);
}
function frame196(){
Moving = "Cible";
Nom = "Nenuphar";
(parent as MovieClip).CheckCible("Cible");
Target_Nenuphar = (parent as MovieClip).Cible;
Conteiner_Nenuphar = (parent as MovieClip).Conteneur;
ParticuleCadence_Nenuphar = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Nenuphar);
}
public function LoopParticule_Clic_Bubble(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.width >= _local2.DestT){
_local2.SelfDestruction(_local2);
};
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + ((Math.random() * (_local2.ChaosVS[1] - _local2.ChaosVS[0])) + _local2.ChaosVS[0]));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
if (_local2.UpDownSpeedChaosVA == null){
_local2.UpDownSpeedChaosVA = _local2.ChaosVA[0];
_local2.UpDownSpeedChaosVAValue = (Math.abs((_local2.ChaosVA[0] - _local2.ChaosVA[1])) / 10);
_local2.UpDownSpeedChaosVADirection = 1;
};
_local2.UpDownSpeedChaosVA = (_local2.UpDownSpeedChaosVA + (_local2.UpDownSpeedChaosVAValue * _local2.UpDownSpeedChaosVADirection));
if ((((_local2.UpDownSpeedChaosVA > _local2.ChaosVA[1])) && ((_local2.UpDownSpeedChaosVADirection == 1)))){
_local2.UpDownSpeedChaosVADirection = -1;
_local2.UpDownSpeedChaosVA = _local2.ChaosVA[1];
};
if ((((_local2.UpDownSpeedChaosVA < _local2.ChaosVA[0])) && ((_local2.UpDownSpeedChaosVADirection == -1)))){
_local2.UpDownSpeedChaosVADirection = 1;
_local2.UpDownSpeedChaosVA = _local2.ChaosVA[0];
};
_local2.SpeedChaosVA = (_local2.SpeedChaosVA + _local2.UpDownSpeedChaosVA);
_local2.alpha = (_local2.alpha + (_local2.SpeedChaosVA / 100));
}
public function ParticuleGenerator_New_Year(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_New_Year >= 0){
P = 0;
while (P <= ParticuleCadence_New_Year) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_New_Year.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_New_Year);
NewParticule.x = Target_New_Year.x;
NewParticule.y = Target_New_Year.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_New_Year);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FF9900", "FFFF00", "FF0000", "66FF00", "66FFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 0;
ModWidth = 0.4;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (0 - 360)) + 360);
NewParticule.alpha = (100 / 100);
NewParticule.VX = ((Math.random() * (4.9 - -4.1)) + -4.1);
NewParticule.VY = ((Math.random() * (5.3 - -3.1)) + -3.1);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.gotoAndStop(101);
P = (P + 1);
};
ParticuleCadence_New_Year = 1.9;
} else {
ParticuleCadence_New_Year++;
};
}
public function ParticuleGenerator_Wings_Bones(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Wings_Bones >= 0){
P = 0;
while (P <= ParticuleCadence_Wings_Bones) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Wings_Bones.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Wings_Bones);
NewParticule.x = Target_Wings_Bones.x;
NewParticule.y = Target_Wings_Bones.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Wings_Bones);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.DY = new Array(-6.9, 6.9)[Math.round((Math.random() * 1))];
NewParticule.EvoW = 7.1;
NewParticule.EvoR = 10;
NewParticule.DestP = 19.8;
NewParticule.gotoAndStop(8);
Teinte = new ColorTransform();
DirectColors = ["FFFFFF", "FFFFCC", "FFFF99"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Wings_Bones = 7.5;
} else {
ParticuleCadence_Wings_Bones++;
};
}
function frame195(){
Moving = "Cible";
Nom = "Prog_and_Design";
(parent as MovieClip).CheckCible("Cible");
Target_Prog_and_Design = (parent as MovieClip).Cible;
Conteiner_Prog_and_Design = (parent as MovieClip).Conteneur;
ParticuleCadence_Prog_and_Design = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Prog_and_Design);
}
public function Interrupt_Pace(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Pace);
}
public function Interrupt_Radioactive(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Radioactive);
}
public function ParticuleGenerator_Tunnel(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Tunnel >= 0){
P = 0;
while (P <= ParticuleCadence_Tunnel) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Tunnel.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Tunnel);
NewParticule.x = Target_Tunnel.x;
NewParticule.y = Target_Tunnel.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Tunnel);
} catch(e) {
};
};
ModScale = 10;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = -10;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(11);
Teinte = new ColorTransform();
DirectColors = ["000033", "000099", "000066", "000000"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Tunnel = 0;
} else {
ParticuleCadence_Tunnel++;
};
}
public function LoopParticule_Tic_Fish(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Carnival(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Carnival);
}
public function ParticuleGenerator_Hard_Galaxy(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Hard_Galaxy >= 0){
P = 0;
while (P <= ParticuleCadence_Hard_Galaxy) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Hard_Galaxy.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Galaxy);
NewParticule.x = Target_Hard_Galaxy.x;
NewParticule.y = Target_Hard_Galaxy.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Galaxy);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["6600CC", "6633CC", "6666CC", "666699", "666666"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = ((Math.random() * (10 - 0)) + 0);
ModWidth = ((Math.random() * (10 - 0)) + 0);
ModHeight = ((Math.random() * (10 - 0)) + 0);
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (360 - 0)) + 0);
NewParticule.alpha = (((Math.random() * (100 - 0)) + 0) / 100);
NewParticule.EvoS = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoW = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoH = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoR = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoA = ((Math.random() * (-1.4 - -10)) + -10);
NewParticule.DestA = 0;
NewParticule.gotoAndStop(111);
P = (P + 1);
};
ParticuleCadence_Hard_Galaxy = 0;
} else {
ParticuleCadence_Hard_Galaxy++;
};
}
public function Interrupt_Turtle(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Turtle);
}
public function Interrupt_Pixel_Point_2b(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Pixel_Point_2b);
}
public function ParticuleGenerator_Cartoon_Diez(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Cartoon_Diez >= 0){
P = 0;
while (P <= ParticuleCadence_Cartoon_Diez) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Cartoon_Diez.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Cartoon_Diez);
NewParticule.x = Target_Cartoon_Diez.x;
NewParticule.y = Target_Cartoon_Diez.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Cartoon_Diez);
} catch(e) {
};
};
NewParticule.x = (NewParticule.x + new Array(66, -10.7)[Math.round((Math.random() * 1))]);
NewParticule.y = (NewParticule.y + new Array(68.2, -10.7)[Math.round((Math.random() * 1))]);
ModScale = 10;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoR = 1.5;
NewParticule.EvoA = -5;
NewParticule.DestP = 6.5;
NewParticule.gotoAndStop(7);
Teinte = new ColorTransform();
DirectColors = ["660099", "6600CC", "6600FF", "6633FF", "6666FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Cartoon_Diez = 7.5;
} else {
ParticuleCadence_Cartoon_Diez++;
};
}
public function ParticuleGenerator_Dragon_Kick(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Dragon_Kick >= 0){
P = 0;
while (P <= ParticuleCadence_Dragon_Kick) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Dragon_Kick.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Dragon_Kick);
NewParticule.x = Target_Dragon_Kick.x;
NewParticule.y = Target_Dragon_Kick.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Dragon_Kick);
} catch(e) {
};
};
if (Conteiner_Dragon_Kick.UpDownScale == null){
Conteiner_Dragon_Kick.UpDownScale = 0;
Conteiner_Dragon_Kick.UpDownScaleValue = 0;
Conteiner_Dragon_Kick.UpDownScaleDirection = 1;
};
Conteiner_Dragon_Kick.UpDownScaleValue = (Conteiner_Dragon_Kick.UpDownScaleValue + Conteiner_Dragon_Kick.UpDownScaleDirection);
Conteiner_Dragon_Kick.UpDownScaleValue = (Conteiner_Dragon_Kick.UpDownScaleValue * 0.8);
Conteiner_Dragon_Kick.UpDownScale = (Conteiner_Dragon_Kick.UpDownScale + Conteiner_Dragon_Kick.UpDownScaleValue);
if ((((Conteiner_Dragon_Kick.UpDownScale > 10)) && ((Conteiner_Dragon_Kick.UpDownScaleDirection == 1)))){
Conteiner_Dragon_Kick.UpDownScaleDirection = -1;
};
if ((((Conteiner_Dragon_Kick.UpDownScale < 0)) && ((Conteiner_Dragon_Kick.UpDownScaleDirection == -1)))){
Conteiner_Dragon_Kick.UpDownScaleDirection = 1;
};
ModScale = Conteiner_Dragon_Kick.UpDownScale;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 1.2;
NewParticule.EvoA = -9.2;
NewParticule.DestP = 15.7;
NewParticule.gotoAndStop(89);
Teinte = new ColorTransform();
DirectColors = ["666666", "663399", "660099", "666699"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Dragon_Kick = 0;
} else {
ParticuleCadence_Dragon_Kick++;
};
}
public function ParticuleGenerator_Constellation(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Constellation >= 0){
P = 0;
while (P <= ParticuleCadence_Constellation) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Constellation.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Constellation);
NewParticule.x = Target_Constellation.x;
NewParticule.y = Target_Constellation.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Constellation);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FFFFFF", "CCFFFF", "99FFFF", "FFFFCC"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
NewParticule.x = (NewParticule.x + ((Math.random() * (200 - -200)) + -200));
NewParticule.y = (NewParticule.y + ((Math.random() * (200 - -200)) + -200));
ModScale = ((Math.random() * (1 - 0)) + 0);
ModWidth = 0;
ModHeight = 0;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (((Math.random() * (100 - 0)) + 0) / 100);
NewParticule.EvoA = -0.3;
NewParticule.DestP = ((Math.random() * (50 - 0)) + 0);
NewParticule.SpeedChaosVA = 0;
NewParticule.ChaosVA = [-4.7, 2.2];
NewParticule.gotoAndStop(109);
P = (P + 1);
};
ParticuleCadence_Constellation = ((Math.random() * (15.3 - -8.6)) + -8.6);
} else {
ParticuleCadence_Constellation++;
};
}
public function Interrupt_Cartoon_Diez(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Cartoon_Diez);
}
public function Interrupt_Rotative(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Rotative);
}
public function LoopParticule_Jazz(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.x = (_local2.x + (_local2.ChaosDX + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + (_local2.ChaosDY + ((Math.random() * 2) - 1)));
_local2.rotation = (_local2.rotation + (_local2.ChaosDR + ((Math.random() * 2) - 1)));
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + (_local2.ChaosVR + ((Math.random() * 2) - 1)));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
public function LoopParticule_Pixel_Point_2b(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.x = (_local2.x + new Array(_local2.ChaosDX[1], _local2.ChaosDX[0])[Math.round((Math.random() * 1))]);
_local2.y = (_local2.y + new Array(_local2.ChaosDY[1], _local2.ChaosDY[0])[Math.round((Math.random() * 1))]);
}
public function ParticuleGenerator_Pink(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Pink >= 0){
P = 0;
while (P <= ParticuleCadence_Pink) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Pink.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Pink);
NewParticule.x = Target_Pink.x;
NewParticule.y = Target_Pink.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Pink);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = -2.3;
NewParticule.DestT = 3.8;
NewParticule.gotoAndStop(1);
Teinte = new ColorTransform();
DirectColors = ["FF66FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Pink = 0;
} else {
ParticuleCadence_Pink++;
};
}
public function LoopParticule_Smile(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
if (_local2.UpDownSpeedChaosVY == null){
_local2.UpDownSpeedChaosVY = _local2.ChaosVY[0];
_local2.UpDownSpeedChaosVYValue = 0;
_local2.UpDownSpeedChaosVYDirection = 1;
};
_local2.UpDownSpeedChaosVYValue = (_local2.UpDownSpeedChaosVYValue + _local2.UpDownSpeedChaosVYDirection);
_local2.UpDownSpeedChaosVYValue = (_local2.UpDownSpeedChaosVYValue * 0.8);
_local2.UpDownSpeedChaosVY = (_local2.UpDownSpeedChaosVY + _local2.UpDownSpeedChaosVYValue);
if ((((_local2.UpDownSpeedChaosVY > _local2.ChaosVY[1])) && ((_local2.UpDownSpeedChaosVYDirection == 1)))){
_local2.UpDownSpeedChaosVYDirection = -1;
_local2.UpDownSpeedChaosVY = _local2.ChaosVY[1];
};
if ((((_local2.UpDownSpeedChaosVY < _local2.ChaosVY[0])) && ((_local2.UpDownSpeedChaosVYDirection == -1)))){
_local2.UpDownSpeedChaosVYDirection = 1;
_local2.UpDownSpeedChaosVY = _local2.ChaosVY[0];
};
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + _local2.UpDownSpeedChaosVY);
_local2.y = (_local2.y + _local2.SpeedChaosVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVW = (_local2.SpeedChaosVW + (_local2.ChaosVW + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVW);
_local2.rotation = _local3;
}
public function Interrupt_Zip_Code(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Zip_Code);
}
public function Interrupt_Zip(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Zip);
}
public function ParticuleGenerator_Sun_Burn(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Sun_Burn >= 0){
P = 0;
while (P <= ParticuleCadence_Sun_Burn) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Sun_Burn.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Sun_Burn);
NewParticule.x = Target_Sun_Burn.x;
NewParticule.y = Target_Sun_Burn.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Sun_Burn);
} catch(e) {
};
};
ModScale = 6.2;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.ChaosDX = [-5.1, 5.1];
NewParticule.ChaosDY = 5;
NewParticule.gotoAndStop(21);
Teinte = new ColorTransform();
DirectColors = ["FFCC33", "FFFF00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Sun_Burn = 1.9;
} else {
ParticuleCadence_Sun_Burn++;
};
}
public function ParticuleGenerator_Snow(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Snow >= 0){
P = 0;
while (P <= ParticuleCadence_Snow) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Snow.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Snow);
NewParticule.x = Target_Snow.x;
NewParticule.y = Target_Snow.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Snow);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FFFFFF", "CCFFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
NewParticule.x = (NewParticule.x + ((Math.random() * (186.2 - -200)) + -200));
ModScale = ((Math.random() * (0 - 0.6)) + 0.6);
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.VY = ((Math.random() * (6.5 - 1.7)) + 1.7);
NewParticule.EvoA = -2;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.gotoAndStop(104);
P = (P + 1);
};
ParticuleCadence_Snow = 0;
} else {
ParticuleCadence_Snow++;
};
}
public function LoopParticule_Medical(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local3 = _local2.rotation;
_local2.rotation = 0;
if (_local2.UpDownSpeedChaosVS == null){
_local2.UpDownSpeedChaosVS = _local2.ChaosVS[0];
_local2.UpDownSpeedChaosVSValue = 0;
_local2.UpDownSpeedChaosVSDirection = 1;
};
_local2.UpDownSpeedChaosVSValue = (_local2.UpDownSpeedChaosVSValue + _local2.UpDownSpeedChaosVSDirection);
_local2.UpDownSpeedChaosVSValue = (_local2.UpDownSpeedChaosVSValue * 0.8);
_local2.UpDownSpeedChaosVS = (_local2.UpDownSpeedChaosVS + _local2.UpDownSpeedChaosVSValue);
if ((((_local2.UpDownSpeedChaosVS > _local2.ChaosVS[1])) && ((_local2.UpDownSpeedChaosVSDirection == 1)))){
_local2.UpDownSpeedChaosVSDirection = -1;
_local2.UpDownSpeedChaosVS = _local2.ChaosVS[1];
};
if ((((_local2.UpDownSpeedChaosVS < _local2.ChaosVS[0])) && ((_local2.UpDownSpeedChaosVSDirection == -1)))){
_local2.UpDownSpeedChaosVSDirection = 1;
_local2.UpDownSpeedChaosVS = _local2.ChaosVS[0];
};
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + _local2.UpDownSpeedChaosVS);
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
if (_local2.UpDownSpeedChaosVR == null){
_local2.UpDownSpeedChaosVR = _local2.ChaosVR[0];
_local2.UpDownSpeedChaosVRValue = 0;
_local2.UpDownSpeedChaosVRDirection = 1;
};
_local2.UpDownSpeedChaosVRValue = (_local2.UpDownSpeedChaosVRValue + _local2.UpDownSpeedChaosVRDirection);
_local2.UpDownSpeedChaosVRValue = (_local2.UpDownSpeedChaosVRValue * 0.8);
_local2.UpDownSpeedChaosVR = (_local2.UpDownSpeedChaosVR + _local2.UpDownSpeedChaosVRValue);
if ((((_local2.UpDownSpeedChaosVR > _local2.ChaosVR[1])) && ((_local2.UpDownSpeedChaosVRDirection == 1)))){
_local2.UpDownSpeedChaosVRDirection = -1;
_local2.UpDownSpeedChaosVR = _local2.ChaosVR[1];
};
if ((((_local2.UpDownSpeedChaosVR < _local2.ChaosVR[0])) && ((_local2.UpDownSpeedChaosVRDirection == -1)))){
_local2.UpDownSpeedChaosVRDirection = 1;
_local2.UpDownSpeedChaosVR = _local2.ChaosVR[0];
};
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + _local2.UpDownSpeedChaosVR);
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
public function ParticuleGenerator_Smile(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Smile >= 0){
P = 0;
while (P <= ParticuleCadence_Smile) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Smile.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Smile);
NewParticule.x = Target_Smile.x;
NewParticule.y = Target_Smile.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Smile);
} catch(e) {
};
};
ModScale = 6.7;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoR = 10;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = [-5.1, 3.4];
NewParticule.SpeedChaosVW = 0;
NewParticule.ChaosVW = 10;
NewParticule.gotoAndStop(80);
NewParticule.leTexte = ":)";
Teinte = new ColorTransform();
DirectColors = ["FF6666", "FF6699", "FFCC00", "FFFF00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Smile = 0;
} else {
ParticuleCadence_Smile++;
};
}
public function ParticuleGenerator_Chaos_Circle(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Chaos_Circle >= 0){
P = 0;
while (P <= ParticuleCadence_Chaos_Circle) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Chaos_Circle.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Circle);
NewParticule.x = Target_Chaos_Circle.x;
NewParticule.y = Target_Chaos_Circle.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Circle);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["6666FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = 0.1;
NewParticule.DestP = ((Math.random() * (0 - 39.5)) + 39.5);
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = 0;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = 0;
NewParticule.gotoAndStop(1);
P = (P + 1);
};
ParticuleCadence_Chaos_Circle = 0;
} else {
ParticuleCadence_Chaos_Circle++;
};
}
public function ParticuleGenerator_Trumpet(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Trumpet >= 0){
P = 0;
while (P <= ParticuleCadence_Trumpet) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Trumpet.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Trumpet);
NewParticule.x = Target_Trumpet.x;
NewParticule.y = Target_Trumpet.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Trumpet);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.DX = 11.2;
if (Conteiner_Trumpet.UpDownEvoH == null){
Conteiner_Trumpet.UpDownEvoH = -1.3;
Conteiner_Trumpet.UpDownEvoHValue = 0.565;
Conteiner_Trumpet.UpDownEvoHDirection = 1;
};
Conteiner_Trumpet.UpDownEvoH = (Conteiner_Trumpet.UpDownEvoH + (Conteiner_Trumpet.UpDownEvoHValue * Conteiner_Trumpet.UpDownEvoHDirection));
if ((((Conteiner_Trumpet.UpDownEvoH > 10)) && ((Conteiner_Trumpet.UpDownEvoHDirection == 1)))){
Conteiner_Trumpet.UpDownEvoHDirection = -1;
Conteiner_Trumpet.UpDownEvoH = 10;
};
if ((((Conteiner_Trumpet.UpDownEvoH < -1.3)) && ((Conteiner_Trumpet.UpDownEvoHDirection == -1)))){
Conteiner_Trumpet.UpDownEvoHDirection = 1;
Conteiner_Trumpet.UpDownEvoH = -1.3;
};
NewParticule.EvoH = Conteiner_Trumpet.UpDownEvoH;
NewParticule.DestP = 22.3;
NewParticule.gotoAndStop(31);
Teinte = new ColorTransform();
DirectColors = ["FF3366"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Trumpet = 0;
} else {
ParticuleCadence_Trumpet++;
};
}
public function Interrupt_Pulsar_prisme(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Pulsar_prisme);
}
public function Interrupt_Chaos_Circle(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Circle);
}
public function Interrupt_Astro(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Astro);
}
public function LoopParticule_Soul_Rotative(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local3 = _local2.rotation;
_local2.rotation = 0;
if (_local2.UpDownSpeedChaosVW == null){
_local2.UpDownSpeedChaosVW = _local2.ChaosVW[0];
_local2.UpDownSpeedChaosVWValue = (Math.abs((_local2.ChaosVW[0] - _local2.ChaosVW[1])) / 10);
_local2.UpDownSpeedChaosVWDirection = 1;
};
_local2.UpDownSpeedChaosVW = (_local2.UpDownSpeedChaosVW + (_local2.UpDownSpeedChaosVWValue * _local2.UpDownSpeedChaosVWDirection));
if ((((_local2.UpDownSpeedChaosVW > _local2.ChaosVW[1])) && ((_local2.UpDownSpeedChaosVWDirection == 1)))){
_local2.UpDownSpeedChaosVWDirection = -1;
_local2.UpDownSpeedChaosVW = _local2.ChaosVW[1];
};
if ((((_local2.UpDownSpeedChaosVW < _local2.ChaosVW[0])) && ((_local2.UpDownSpeedChaosVWDirection == -1)))){
_local2.UpDownSpeedChaosVWDirection = 1;
_local2.UpDownSpeedChaosVW = _local2.ChaosVW[0];
};
_local2.SpeedChaosVW = (_local2.SpeedChaosVW + _local2.UpDownSpeedChaosVW);
_local2.width = (_local2.width + _local2.SpeedChaosVW);
if (_local2.UpDownSpeedChaosVH == null){
_local2.UpDownSpeedChaosVH = _local2.ChaosVH[0];
_local2.UpDownSpeedChaosVHValue = (Math.abs((_local2.ChaosVH[0] - _local2.ChaosVH[1])) / 10);
_local2.UpDownSpeedChaosVHDirection = 1;
};
_local2.UpDownSpeedChaosVH = (_local2.UpDownSpeedChaosVH + (_local2.UpDownSpeedChaosVHValue * _local2.UpDownSpeedChaosVHDirection));
if ((((_local2.UpDownSpeedChaosVH > _local2.ChaosVH[1])) && ((_local2.UpDownSpeedChaosVHDirection == 1)))){
_local2.UpDownSpeedChaosVHDirection = -1;
_local2.UpDownSpeedChaosVH = _local2.ChaosVH[1];
};
if ((((_local2.UpDownSpeedChaosVH < _local2.ChaosVH[0])) && ((_local2.UpDownSpeedChaosVHDirection == -1)))){
_local2.UpDownSpeedChaosVHDirection = 1;
_local2.UpDownSpeedChaosVH = _local2.ChaosVH[0];
};
_local2.SpeedChaosVH = (_local2.SpeedChaosVH + _local2.UpDownSpeedChaosVH);
_local2.height = (_local2.height + _local2.SpeedChaosVH);
_local2.rotation = _local3;
}
public function LoopParticule_Shuriken(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoW);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Speed(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Speed);
}
public function LoopParticule_StormPulsar(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + ((Math.random() * (_local2.ChaosVR[1] - _local2.ChaosVR[0])) + _local2.ChaosVR[0]));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
public function ParticuleGenerator_Carnival(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Carnival >= 0){
P = 0;
while (P <= ParticuleCadence_Carnival) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Carnival.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Carnival);
NewParticule.x = Target_Carnival.x;
NewParticule.y = Target_Carnival.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Carnival);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FF9900", "FFFF00", "FF0000", "66FF00", "66FFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 1.7;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (0 - 360)) + 360);
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(101);
P = (P + 1);
};
ParticuleCadence_Carnival = 0;
} else {
ParticuleCadence_Carnival++;
};
}
public function ParticuleGenerator_Wall(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Wall >= 0){
P = 0;
while (P <= ParticuleCadence_Wall) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Wall.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Wall);
NewParticule.x = Target_Wall.x;
NewParticule.y = Target_Wall.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Wall);
} catch(e) {
};
};
NewParticule.y = (NewParticule.y + new Array(-3.7, 15.4)[Math.round((Math.random() * 1))]);
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.DX = new Array(-20.1, 17.1)[Math.round((Math.random() * 1))];
NewParticule.EvoA = -0.3;
NewParticule.DestP = 11.8;
NewParticule.gotoAndStop(97);
Teinte = new ColorTransform();
DirectColors = ["FF3300", "FF0000", "FF6600"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Wall = 9.6;
} else {
ParticuleCadence_Wall++;
};
}
public function ParticuleGenerator_Rotative(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Rotative >= 0){
P = 0;
while (P <= ParticuleCadence_Rotative) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Rotative.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Rotative);
NewParticule.x = Target_Rotative.x;
NewParticule.y = Target_Rotative.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Rotative);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_Rotative.UpDownRotation == null){
Conteiner_Rotative.UpDownRotation = 0;
Conteiner_Rotative.UpDownRotationValue = 18;
Conteiner_Rotative.UpDownRotationDirection = 1;
};
Conteiner_Rotative.UpDownRotation = (Conteiner_Rotative.UpDownRotation + (Conteiner_Rotative.UpDownRotationValue * Conteiner_Rotative.UpDownRotationDirection));
if ((((Conteiner_Rotative.UpDownRotation > 360)) && ((Conteiner_Rotative.UpDownRotationDirection == 1)))){
Conteiner_Rotative.UpDownRotationDirection = -1;
Conteiner_Rotative.UpDownRotation = 360;
};
if ((((Conteiner_Rotative.UpDownRotation < 0)) && ((Conteiner_Rotative.UpDownRotationDirection == -1)))){
Conteiner_Rotative.UpDownRotationDirection = 1;
Conteiner_Rotative.UpDownRotation = 0;
};
NewParticule.rotation = Conteiner_Rotative.UpDownRotation;
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 10;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(61);
Teinte = new ColorTransform();
DirectColors = ["FFFFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Rotative = 0;
} else {
ParticuleCadence_Rotative++;
};
}
public function LoopParticule_Triforce(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + (_local2.ChaosVS + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
}
public function Interrupt_Tile(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Tile);
}
public function Interrupt_Buzz(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Buzz);
}
public function ParticuleGenerator_Zip_Code(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Zip_Code >= 0){
P = 0;
while (P <= ParticuleCadence_Zip_Code) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Zip_Code.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Zip_Code);
NewParticule.x = Target_Zip_Code.x;
NewParticule.y = Target_Zip_Code.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Zip_Code);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["669966", "66CC66", "66FF66"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
if (Conteiner_Zip_Code.UpDownXZip_Code == null){
Conteiner_Zip_Code.UpDownXZip_Code = -12.8;
Conteiner_Zip_Code.UpDownXZip_CodeValue = 1.595;
Conteiner_Zip_Code.UpDownXZip_CodeDirection = 1;
};
Conteiner_Zip_Code.UpDownXZip_Code = (Conteiner_Zip_Code.UpDownXZip_Code + (Conteiner_Zip_Code.UpDownXZip_CodeValue * Conteiner_Zip_Code.UpDownXZip_CodeDirection));
if ((((Conteiner_Zip_Code.UpDownXZip_Code > 19.1)) && ((Conteiner_Zip_Code.UpDownXZip_CodeDirection == 1)))){
Conteiner_Zip_Code.UpDownXZip_CodeDirection = -1;
Conteiner_Zip_Code.UpDownXZip_Code = 19.1;
};
if ((((Conteiner_Zip_Code.UpDownXZip_Code < -12.8)) && ((Conteiner_Zip_Code.UpDownXZip_CodeDirection == -1)))){
Conteiner_Zip_Code.UpDownXZip_CodeDirection = 1;
Conteiner_Zip_Code.UpDownXZip_Code = -12.8;
};
NewParticule.x = (NewParticule.x + Conteiner_Zip_Code.UpDownXZip_Code);
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (80 / 100);
NewParticule.DY = 16.6;
NewParticule.EvoA = -0.2;
NewParticule.DestP = 14.7;
NewParticule.gotoAndStop(72);
P = (P + 1);
};
ParticuleCadence_Zip_Code = 0;
} else {
ParticuleCadence_Zip_Code++;
};
}
public function ParticuleGenerator_Chaos_Ring(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Chaos_Ring >= 0){
P = 0;
while (P <= ParticuleCadence_Chaos_Ring) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Chaos_Ring.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Ring);
NewParticule.x = Target_Chaos_Ring.x;
NewParticule.y = Target_Chaos_Ring.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Ring);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["66CC99"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = 0.1;
NewParticule.DestP = ((Math.random() * (0 - 39.5)) + 39.5);
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = 0;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = 0;
NewParticule.gotoAndStop(11);
P = (P + 1);
};
ParticuleCadence_Chaos_Ring = 0;
} else {
ParticuleCadence_Chaos_Ring++;
};
}
public function LoopParticule_Kawaii(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
if (_local2.UpDownSpeedChaosVY == null){
_local2.UpDownSpeedChaosVY = _local2.ChaosVY[0];
_local2.UpDownSpeedChaosVYValue = 0;
_local2.UpDownSpeedChaosVYDirection = 1;
};
_local2.UpDownSpeedChaosVYValue = (_local2.UpDownSpeedChaosVYValue + _local2.UpDownSpeedChaosVYDirection);
_local2.UpDownSpeedChaosVYValue = (_local2.UpDownSpeedChaosVYValue * 0.8);
_local2.UpDownSpeedChaosVY = (_local2.UpDownSpeedChaosVY + _local2.UpDownSpeedChaosVYValue);
if ((((_local2.UpDownSpeedChaosVY > _local2.ChaosVY[1])) && ((_local2.UpDownSpeedChaosVYDirection == 1)))){
_local2.UpDownSpeedChaosVYDirection = -1;
_local2.UpDownSpeedChaosVY = _local2.ChaosVY[1];
};
if ((((_local2.UpDownSpeedChaosVY < _local2.ChaosVY[0])) && ((_local2.UpDownSpeedChaosVYDirection == -1)))){
_local2.UpDownSpeedChaosVYDirection = 1;
_local2.UpDownSpeedChaosVY = _local2.ChaosVY[0];
};
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + _local2.UpDownSpeedChaosVY);
_local2.y = (_local2.y + _local2.SpeedChaosVY);
}
public function Interrupt_Wave(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Wave);
}
public function LoopParticule_Cristal(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoW);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + (_local2.ChaosVR + ((Math.random() * 2) - 1)));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
public function LoopParticule_Rainbow_Point(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.x = (_local2.x + new Array(_local2.ChaosDX[1], _local2.ChaosDX[0])[Math.round((Math.random() * 1))]);
_local2.y = (_local2.y + new Array(_local2.ChaosDY[1], _local2.ChaosDY[0])[Math.round((Math.random() * 1))]);
}
public function ParticuleGenerator_Pace(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Pace >= 0){
P = 0;
while (P <= ParticuleCadence_Pace) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Pace.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Pace);
NewParticule.x = Target_Pace.x;
NewParticule.y = Target_Pace.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Pace);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["6600FF", "000099", "66CCFF", "33CC00", "FFFF00", "FF6600", "FF0000"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
NewParticule.x = (NewParticule.x + ((Math.random() * (94.3 - -89.1)) + -89.1));
if (Conteiner_Pace.UpDownYPace == null){
Conteiner_Pace.UpDownYPace = -93.3;
Conteiner_Pace.UpDownYPaceValue = 10.02;
Conteiner_Pace.UpDownYPaceDirection = 1;
};
Conteiner_Pace.UpDownYPace = (Conteiner_Pace.UpDownYPace + (Conteiner_Pace.UpDownYPaceValue * Conteiner_Pace.UpDownYPaceDirection));
if ((((Conteiner_Pace.UpDownYPace > 107.1)) && ((Conteiner_Pace.UpDownYPaceDirection == 1)))){
Conteiner_Pace.UpDownYPaceDirection = -1;
Conteiner_Pace.UpDownYPace = 107.1;
};
if ((((Conteiner_Pace.UpDownYPace < -93.3)) && ((Conteiner_Pace.UpDownYPaceDirection == -1)))){
Conteiner_Pace.UpDownYPaceDirection = 1;
Conteiner_Pace.UpDownYPace = -93.3;
};
NewParticule.y = (NewParticule.y + Conteiner_Pace.UpDownYPace);
ModScale = ((Math.random() * (2.7 - 0)) + 0);
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (0 - 360)) + 360);
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(106);
P = (P + 1);
};
ParticuleCadence_Pace = 0;
} else {
ParticuleCadence_Pace++;
};
}
public function Interrupt_Money(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Money);
}
public function Interrupt_Chaos_Paper(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Paper);
}
public function ParticuleGenerator_Combo_Hit(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Combo_Hit >= 0){
P = 0;
while (P <= ParticuleCadence_Combo_Hit) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Combo_Hit.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Combo_Hit);
NewParticule.x = Target_Combo_Hit.x;
NewParticule.y = Target_Combo_Hit.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Combo_Hit);
} catch(e) {
};
};
NewParticule.x = (NewParticule.x + ((Math.random() * (-54.9 - 41)) + 41));
NewParticule.y = (NewParticule.y + ((Math.random() * (51.1 - -65.6)) + -65.6));
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 1.2;
NewParticule.EvoA = -9.2;
NewParticule.DestP = 15.7;
NewParticule.gotoAndStop(89);
Teinte = new ColorTransform();
DirectColors = ["FF0000", "660000", "CC0000", "FF9900", "FFCC33"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Combo_Hit = 0;
} else {
ParticuleCadence_Combo_Hit++;
};
}
public function LoopParticule_Rain(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VY = (_local2.VY + _local2.CVY);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Inspired_by(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Inspired_by);
}
public function LoopParticule_Pale_Rotative(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Rainbow_Sphere(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Rainbow_Sphere >= 0){
P = 0;
while (P <= ParticuleCadence_Rainbow_Sphere) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Rainbow_Sphere.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Rainbow_Sphere);
NewParticule.x = Target_Rainbow_Sphere.x;
NewParticule.y = Target_Rainbow_Sphere.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Rainbow_Sphere);
} catch(e) {
};
};
ModScale = 10;
ModWidth = 10;
ModHeight = 10;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = -10;
NewParticule.EvoW = 4.8;
NewParticule.EvoR = 3.5;
NewParticule.EvoA = -1.8;
NewParticule.DestP = 50;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(1);
Teinte = new ColorTransform();
DirectColors = ["FFFFFF", "FF00FF", "FFFF00", "0000FF", "00FF00", "FF0000", "660099", "33FFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Rainbow_Sphere = 0;
} else {
ParticuleCadence_Rainbow_Sphere++;
};
}
public function LoopParticule_Watching(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Psycho_Tunnel(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Psycho_Tunnel);
}
public function ParticuleGenerator_Simple(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Simple >= 0){
P = 0;
while (P <= ParticuleCadence_Simple) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Simple.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Simple);
NewParticule.x = Target_Simple.x;
NewParticule.y = Target_Simple.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Simple);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(1);
P = (P + 1);
};
ParticuleCadence_Simple = 0;
} else {
ParticuleCadence_Simple++;
};
}
public function Interrupt_Rainbow_Power(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Rainbow_Power);
}
public function Interrupt_Just_lol(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Just_lol);
}
public function ParticuleGenerator_Sun_Shine(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Sun_Shine >= 0){
P = 0;
while (P <= ParticuleCadence_Sun_Shine) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Sun_Shine.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Sun_Shine);
NewParticule.x = Target_Sun_Shine.x;
NewParticule.y = Target_Sun_Shine.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Sun_Shine);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FFFF33", "FFFF00", "FFFF66", "FFFF99", "FFFFCC"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 3.7;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 4;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = 0;
NewParticule.gotoAndStop(107);
P = (P + 1);
};
ParticuleCadence_Sun_Shine = 0;
} else {
ParticuleCadence_Sun_Shine++;
};
}
public function ParticuleGenerator_Canabis(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Canabis >= 0){
P = 0;
while (P <= ParticuleCadence_Canabis) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Canabis.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Canabis);
NewParticule.x = Target_Canabis.x;
NewParticule.y = Target_Canabis.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Canabis);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["66FF66", "66CC33", "66FF33"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (28.8 - 0)) + 0);
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 3.4;
if (Conteiner_Canabis.UpDownEvoR == null){
Conteiner_Canabis.UpDownEvoR = -1.8;
Conteiner_Canabis.UpDownEvoRValue = 0.185;
Conteiner_Canabis.UpDownEvoRDirection = 1;
};
Conteiner_Canabis.UpDownEvoR = (Conteiner_Canabis.UpDownEvoR + (Conteiner_Canabis.UpDownEvoRValue * Conteiner_Canabis.UpDownEvoRDirection));
if ((((Conteiner_Canabis.UpDownEvoR > 1.9)) && ((Conteiner_Canabis.UpDownEvoRDirection == 1)))){
Conteiner_Canabis.UpDownEvoRDirection = -1;
Conteiner_Canabis.UpDownEvoR = 1.9;
};
if ((((Conteiner_Canabis.UpDownEvoR < -1.8)) && ((Conteiner_Canabis.UpDownEvoRDirection == -1)))){
Conteiner_Canabis.UpDownEvoRDirection = 1;
Conteiner_Canabis.UpDownEvoR = -1.8;
};
NewParticule.EvoR = Conteiner_Canabis.UpDownEvoR;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.gotoAndStop(109);
P = (P + 1);
};
ParticuleCadence_Canabis = 0;
} else {
ParticuleCadence_Canabis++;
};
}
public function LoopParticule_Yellow(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Tile(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Tile >= 0){
P = 0;
while (P <= ParticuleCadence_Tile) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Tile.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Tile);
NewParticule.x = Target_Tile.x;
NewParticule.y = Target_Tile.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Tile);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FFFFFF", "FFCCCC", "FF9999", "FF6666", "FF3333", "FF0000"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 2.9;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = [-1.5, 1.3];
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = [-1.5, 1.3];
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = 0;
NewParticule.gotoAndStop(99);
P = (P + 1);
};
ParticuleCadence_Tile = 0;
} else {
ParticuleCadence_Tile++;
};
}
public function ParticuleGenerator_Washing(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Washing >= 0){
P = 0;
while (P <= ParticuleCadence_Washing) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Washing.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Washing);
NewParticule.x = Target_Washing.x;
NewParticule.y = Target_Washing.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Washing);
} catch(e) {
};
};
ModScale = ((Math.random() * (10 - 0)) + 0);
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoR = -10;
NewParticule.EvoA = -2.8;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(88);
Teinte = new ColorTransform();
DirectColors = ["3300FF", "FFFFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Washing = 0;
} else {
ParticuleCadence_Washing++;
};
}
public function LoopParticule_Radioactive(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Sith_Sword(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Sith_Sword);
}
public function ParticuleGenerator_Pixel_Point(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Pixel_Point >= 0){
P = 0;
while (P <= ParticuleCadence_Pixel_Point) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Pixel_Point.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Pixel_Point);
NewParticule.x = Target_Pixel_Point.x;
NewParticule.y = Target_Pixel_Point.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Pixel_Point);
} catch(e) {
};
};
ModScale = 3.2;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.ChaosDX = [-10, 10];
NewParticule.ChaosDY = [-10, 10];
NewParticule.gotoAndStop(2);
Teinte = new ColorTransform();
DirectColors = ["339900", "339933", "33CC33", "33CC00", "33CC66", "339966"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Pixel_Point = 0;
} else {
ParticuleCadence_Pixel_Point++;
};
}
public function Interrupt_EarthPulsar(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_EarthPulsar);
}
public function LoopParticule_Bubble(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VX = (_local2.VX + _local2.CVX);
_local2.VY = (_local2.VY + _local2.CVY);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Aqua_Data(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Aqua_Data);
}
public function LoopParticule_Trumpet(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Final(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Final);
}
public function ParticuleGenerator_Buzz(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Buzz >= 0){
P = 0;
while (P <= ParticuleCadence_Buzz) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Buzz.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Buzz);
NewParticule.x = Target_Buzz.x;
NewParticule.y = Target_Buzz.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Buzz);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.DestP = 25.5;
NewParticule.ChaosDX = [-10, 10];
NewParticule.ChaosDY = [-10, 10];
NewParticule.ChaosDR = [-3.8, 3.7];
NewParticule.gotoAndStop(35);
Teinte = new ColorTransform();
DirectColors = ["FFCC00", "000000"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Buzz = 0;
} else {
ParticuleCadence_Buzz++;
};
}
public function ParticuleGenerator_Cholesterol(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Cholesterol >= 0){
P = 0;
while (P <= ParticuleCadence_Cholesterol) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Cholesterol.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Cholesterol);
NewParticule.x = Target_Cholesterol.x;
NewParticule.y = Target_Cholesterol.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Cholesterol);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.CVY = 1;
if (Conteiner_Cholesterol.UpDownEvoW == null){
Conteiner_Cholesterol.UpDownEvoW = -2.5;
Conteiner_Cholesterol.UpDownEvoWValue = 0;
Conteiner_Cholesterol.UpDownEvoWDirection = 1;
};
Conteiner_Cholesterol.UpDownEvoWValue = (Conteiner_Cholesterol.UpDownEvoWValue + Conteiner_Cholesterol.UpDownEvoWDirection);
Conteiner_Cholesterol.UpDownEvoWValue = (Conteiner_Cholesterol.UpDownEvoWValue * 0.8);
Conteiner_Cholesterol.UpDownEvoW = (Conteiner_Cholesterol.UpDownEvoW + Conteiner_Cholesterol.UpDownEvoWValue);
if ((((Conteiner_Cholesterol.UpDownEvoW > 2.3)) && ((Conteiner_Cholesterol.UpDownEvoWDirection == 1)))){
Conteiner_Cholesterol.UpDownEvoWDirection = -1;
};
if ((((Conteiner_Cholesterol.UpDownEvoW < -2.5)) && ((Conteiner_Cholesterol.UpDownEvoWDirection == -1)))){
Conteiner_Cholesterol.UpDownEvoWDirection = 1;
};
NewParticule.EvoW = Conteiner_Cholesterol.UpDownEvoW;
NewParticule.DestP = 39.4;
NewParticule.gotoAndStop(31);
Teinte = new ColorTransform();
DirectColors = ["FF3366"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Cholesterol = 0;
} else {
ParticuleCadence_Cholesterol++;
};
}
public function ParticuleGenerator_Sound_Cast(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Sound_Cast >= 0){
P = 0;
while (P <= ParticuleCadence_Sound_Cast) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Sound_Cast.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Sound_Cast);
NewParticule.x = Target_Sound_Cast.x;
NewParticule.y = Target_Sound_Cast.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Sound_Cast);
} catch(e) {
};
};
ModScale = 2.8;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = 47.4;
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = [-2.8, 2.7];
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = 0;
NewParticule.gotoAndStop(52);
Teinte = new ColorTransform();
DirectColors = ["66CC00", "66FF66", "99FFFF", "FFFFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Sound_Cast = 0;
} else {
ParticuleCadence_Sound_Cast++;
};
}
function frame2(){
Moving = "Cible";
Nom = "Simple";
visible = false;
Moving = "Cible";
Nom = "Simple";
(parent as MovieClip).Cible;
Target_Simple = (parent as MovieClip).Cible;
Conteiner_Simple = (parent as MovieClip).Conteneur;
ParticuleCadence_Simple = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Simple);
}
function frame4(){
Moving = "Cible";
Nom = "Blue";
Target_Blue = (parent as MovieClip).Cible;
Conteiner_Blue = (parent as MovieClip).Conteneur;
ParticuleCadence_Blue = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Blue);
}
function frame5(){
Moving = "Cible";
Nom = "Green";
Target_Green = (parent as MovieClip).Cible;
Conteiner_Green = (parent as MovieClip).Conteneur;
ParticuleCadence_Green = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Green);
}
function frame6(){
Moving = "Cible";
Nom = "Yellow";
Target_Yellow = (parent as MovieClip).Cible;
Conteiner_Yellow = (parent as MovieClip).Conteneur;
ParticuleCadence_Yellow = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Yellow);
}
public function LoopParticule_Aqua_Data(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.y = (_local2.y + _local2.DY);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
function frame9(){
Moving = "Cible";
Nom = "Flower_Cube";
Target_Flower_Cube = (parent as MovieClip).Cible;
Conteiner_Flower_Cube = (parent as MovieClip).Conteneur;
ParticuleCadence_Flower_Cube = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Flower_Cube);
}
public function ParticuleGenerator_Tetris(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Tetris >= 0){
P = 0;
while (P <= ParticuleCadence_Tetris) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Tetris.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Tetris);
NewParticule.x = Target_Tetris.x;
NewParticule.y = Target_Tetris.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Tetris);
} catch(e) {
};
};
NewParticule.x = (NewParticule.x + ((Math.random() * (40.4 - -42.1)) + -42.1));
ModScale = 2.2;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = new Array(0, 90)[Math.round((Math.random() * 1))];
NewParticule.alpha = (100 / 100);
NewParticule.DY = 6;
NewParticule.EvoA = -0.1;
NewParticule.DestP = 50;
NewParticule.gotoAndStop(83);
Teinte = new ColorTransform();
DirectColors = ["FF0000", "3300FF", "33CC00", "FF33CC"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Tetris = -7.1;
} else {
ParticuleCadence_Tetris++;
};
}
public function Interrupt_Paper(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Paper);
}
function frame8(){
Moving = "Cible";
Nom = "Ocean_Box";
Target_Ocean_Box = (parent as MovieClip).Cible;
Conteiner_Ocean_Box = (parent as MovieClip).Conteneur;
ParticuleCadence_Ocean_Box = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Ocean_Box);
}
public function Interrupt_Medical(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Medical);
}
public function ParticuleGenerator_Shaker(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Shaker >= 0){
P = 0;
while (P <= ParticuleCadence_Shaker) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Shaker.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Shaker);
NewParticule.x = Target_Shaker.x;
NewParticule.y = Target_Shaker.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Shaker);
} catch(e) {
};
};
ModScale = 1.9;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
if (Conteiner_Shaker.UpDownVX == null){
Conteiner_Shaker.UpDownVX = -50;
Conteiner_Shaker.UpDownVXValue = 0;
Conteiner_Shaker.UpDownVXDirection = 1;
};
Conteiner_Shaker.UpDownVXValue = (Conteiner_Shaker.UpDownVXValue + Conteiner_Shaker.UpDownVXDirection);
Conteiner_Shaker.UpDownVXValue = (Conteiner_Shaker.UpDownVXValue * 0.8);
Conteiner_Shaker.UpDownVX = (Conteiner_Shaker.UpDownVX + Conteiner_Shaker.UpDownVXValue);
if ((((Conteiner_Shaker.UpDownVX > 50)) && ((Conteiner_Shaker.UpDownVXDirection == 1)))){
Conteiner_Shaker.UpDownVXDirection = -1;
};
if ((((Conteiner_Shaker.UpDownVX < -50)) && ((Conteiner_Shaker.UpDownVXDirection == -1)))){
Conteiner_Shaker.UpDownVXDirection = 1;
};
NewParticule.VX = Conteiner_Shaker.UpDownVX;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(15);
Teinte = new ColorTransform();
DirectColors = ["CC9966", "CC9900", "3300FF", "6699FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Shaker = 1.9;
} else {
ParticuleCadence_Shaker++;
};
}
public function ParticuleGenerator_IcePulsar(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_IcePulsar >= 0){
P = 0;
while (P <= ParticuleCadence_IcePulsar) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_IcePulsar.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_IcePulsar);
NewParticule.x = Target_IcePulsar.x;
NewParticule.y = Target_IcePulsar.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_IcePulsar);
} catch(e) {
};
};
if (Conteiner_IcePulsar.UpDownScale == null){
Conteiner_IcePulsar.UpDownScale = 0;
Conteiner_IcePulsar.UpDownScaleValue = 0;
Conteiner_IcePulsar.UpDownScaleDirection = 1;
};
Conteiner_IcePulsar.UpDownScaleValue = (Conteiner_IcePulsar.UpDownScaleValue + Conteiner_IcePulsar.UpDownScaleDirection);
Conteiner_IcePulsar.UpDownScaleValue = (Conteiner_IcePulsar.UpDownScaleValue * 0.8);
Conteiner_IcePulsar.UpDownScale = (Conteiner_IcePulsar.UpDownScale + Conteiner_IcePulsar.UpDownScaleValue);
if ((((Conteiner_IcePulsar.UpDownScale > 10)) && ((Conteiner_IcePulsar.UpDownScaleDirection == 1)))){
Conteiner_IcePulsar.UpDownScaleDirection = -1;
};
if ((((Conteiner_IcePulsar.UpDownScale < 0)) && ((Conteiner_IcePulsar.UpDownScaleDirection == -1)))){
Conteiner_IcePulsar.UpDownScaleDirection = 1;
};
ModScale = Conteiner_IcePulsar.UpDownScale;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_IcePulsar.UpDownRotation == null){
Conteiner_IcePulsar.UpDownRotation = 0;
Conteiner_IcePulsar.UpDownRotationValue = 0;
Conteiner_IcePulsar.UpDownRotationDirection = 1;
};
Conteiner_IcePulsar.UpDownRotationValue = (Conteiner_IcePulsar.UpDownRotationValue + Conteiner_IcePulsar.UpDownRotationDirection);
Conteiner_IcePulsar.UpDownRotationValue = (Conteiner_IcePulsar.UpDownRotationValue * 0.8);
Conteiner_IcePulsar.UpDownRotation = (Conteiner_IcePulsar.UpDownRotation + Conteiner_IcePulsar.UpDownRotationValue);
if ((((Conteiner_IcePulsar.UpDownRotation > 74.2)) && ((Conteiner_IcePulsar.UpDownRotationDirection == 1)))){
Conteiner_IcePulsar.UpDownRotationDirection = -1;
};
if ((((Conteiner_IcePulsar.UpDownRotation < 0)) && ((Conteiner_IcePulsar.UpDownRotationDirection == -1)))){
Conteiner_IcePulsar.UpDownRotationDirection = 1;
};
NewParticule.rotation = Conteiner_IcePulsar.UpDownRotation;
if (Conteiner_IcePulsar.UpDownAlpha == null){
Conteiner_IcePulsar.UpDownAlpha = 10.1;
Conteiner_IcePulsar.UpDownAlphaValue = 0;
Conteiner_IcePulsar.UpDownAlphaDirection = 1;
};
Conteiner_IcePulsar.UpDownAlphaValue = (Conteiner_IcePulsar.UpDownAlphaValue + Conteiner_IcePulsar.UpDownAlphaDirection);
Conteiner_IcePulsar.UpDownAlphaValue = (Conteiner_IcePulsar.UpDownAlphaValue * 0.8);
Conteiner_IcePulsar.UpDownAlpha = (Conteiner_IcePulsar.UpDownAlpha + Conteiner_IcePulsar.UpDownAlphaValue);
if ((((Conteiner_IcePulsar.UpDownAlpha > 100)) && ((Conteiner_IcePulsar.UpDownAlphaDirection == 1)))){
Conteiner_IcePulsar.UpDownAlphaDirection = -1;
};
if ((((Conteiner_IcePulsar.UpDownAlpha < 10.1)) && ((Conteiner_IcePulsar.UpDownAlphaDirection == -1)))){
Conteiner_IcePulsar.UpDownAlphaDirection = 1;
};
NewParticule.alpha = (Conteiner_IcePulsar.UpDownAlpha / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(45);
Teinte = new ColorTransform();
DirectColors = ["FFFFFF", "99FFFF", "66FFFF", "3399FF", "00CCFF", "6699FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_IcePulsar = 0;
} else {
ParticuleCadence_IcePulsar++;
};
}
public function ParticuleGenerator_Chaos_Plag(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Chaos_Plag >= 0){
P = 0;
while (P <= ParticuleCadence_Chaos_Plag) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Chaos_Plag.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Plag);
NewParticule.x = Target_Chaos_Plag.x;
NewParticule.y = Target_Chaos_Plag.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Plag);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FF9966"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = 0.1;
NewParticule.DestP = ((Math.random() * (0 - 39.5)) + 39.5);
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = 0;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = 0;
NewParticule.gotoAndStop(22);
P = (P + 1);
};
ParticuleCadence_Chaos_Plag = 0;
} else {
ParticuleCadence_Chaos_Plag++;
};
}
function frame7(){
Moving = "Cible";
Nom = "Pink";
Target_Pink = (parent as MovieClip).Cible;
Conteiner_Pink = (parent as MovieClip).Conteneur;
ParticuleCadence_Pink = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Pink);
}
public function ParticuleGenerator_Just_lol(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Just_lol >= 0){
P = 0;
while (P <= ParticuleCadence_Just_lol) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Just_lol.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Just_lol);
NewParticule.x = Target_Just_lol.x;
NewParticule.y = Target_Just_lol.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Just_lol);
} catch(e) {
};
};
if (Conteiner_Just_lol.UpDownScale == null){
Conteiner_Just_lol.UpDownScale = 1.7;
Conteiner_Just_lol.UpDownScaleValue = 0;
Conteiner_Just_lol.UpDownScaleDirection = 1;
};
Conteiner_Just_lol.UpDownScaleValue = (Conteiner_Just_lol.UpDownScaleValue + Conteiner_Just_lol.UpDownScaleDirection);
Conteiner_Just_lol.UpDownScaleValue = (Conteiner_Just_lol.UpDownScaleValue * 0.8);
Conteiner_Just_lol.UpDownScale = (Conteiner_Just_lol.UpDownScale + Conteiner_Just_lol.UpDownScaleValue);
if ((((Conteiner_Just_lol.UpDownScale > 3.6)) && ((Conteiner_Just_lol.UpDownScaleDirection == 1)))){
Conteiner_Just_lol.UpDownScaleDirection = -1;
};
if ((((Conteiner_Just_lol.UpDownScale < 1.7)) && ((Conteiner_Just_lol.UpDownScaleDirection == -1)))){
Conteiner_Just_lol.UpDownScaleDirection = 1;
};
ModScale = Conteiner_Just_lol.UpDownScale;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.CVY = 2.7;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = 0;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = 0;
NewParticule.gotoAndStop(80);
NewParticule.leTexte = "lol";
Teinte = new ColorTransform();
DirectColors = ["66FF00", "00CC33", "00FF33", "00CC00", "00FF00", "33FF00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Just_lol = 0;
} else {
ParticuleCadence_Just_lol++;
};
}
public function Interrupt_Ambivalence(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Ambivalence);
}
public function ParticuleGenerator_Wave(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Wave >= 0){
P = 0;
while (P <= ParticuleCadence_Wave) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Wave.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Wave);
NewParticule.x = Target_Wave.x;
NewParticule.y = Target_Wave.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Wave);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
if (Conteiner_Wave.UpDownDX == null){
Conteiner_Wave.UpDownDX = -5.7;
Conteiner_Wave.UpDownDXValue = 0;
Conteiner_Wave.UpDownDXDirection = 1;
};
Conteiner_Wave.UpDownDXValue = (Conteiner_Wave.UpDownDXValue + Conteiner_Wave.UpDownDXDirection);
Conteiner_Wave.UpDownDXValue = (Conteiner_Wave.UpDownDXValue * 0.8);
Conteiner_Wave.UpDownDX = (Conteiner_Wave.UpDownDX + Conteiner_Wave.UpDownDXValue);
if ((((Conteiner_Wave.UpDownDX > 8.9)) && ((Conteiner_Wave.UpDownDXDirection == 1)))){
Conteiner_Wave.UpDownDXDirection = -1;
};
if ((((Conteiner_Wave.UpDownDX < -5.7)) && ((Conteiner_Wave.UpDownDXDirection == -1)))){
Conteiner_Wave.UpDownDXDirection = 1;
};
NewParticule.DX = Conteiner_Wave.UpDownDX;
if (Conteiner_Wave.UpDownDY == null){
Conteiner_Wave.UpDownDY = -6.1;
Conteiner_Wave.UpDownDYValue = 0.76;
Conteiner_Wave.UpDownDYDirection = 1;
};
Conteiner_Wave.UpDownDY = (Conteiner_Wave.UpDownDY + (Conteiner_Wave.UpDownDYValue * Conteiner_Wave.UpDownDYDirection));
if ((((Conteiner_Wave.UpDownDY > 9.1)) && ((Conteiner_Wave.UpDownDYDirection == 1)))){
Conteiner_Wave.UpDownDYDirection = -1;
Conteiner_Wave.UpDownDY = 9.1;
};
if ((((Conteiner_Wave.UpDownDY < -6.1)) && ((Conteiner_Wave.UpDownDYDirection == -1)))){
Conteiner_Wave.UpDownDYDirection = 1;
Conteiner_Wave.UpDownDY = -6.1;
};
NewParticule.DY = Conteiner_Wave.UpDownDY;
if (Conteiner_Wave.UpDownCVY == null){
Conteiner_Wave.UpDownCVY = -3.5;
Conteiner_Wave.UpDownCVYValue = 0.32;
Conteiner_Wave.UpDownCVYDirection = 1;
};
Conteiner_Wave.UpDownCVY = (Conteiner_Wave.UpDownCVY + (Conteiner_Wave.UpDownCVYValue * Conteiner_Wave.UpDownCVYDirection));
if ((((Conteiner_Wave.UpDownCVY > 2.9)) && ((Conteiner_Wave.UpDownCVYDirection == 1)))){
Conteiner_Wave.UpDownCVYDirection = -1;
Conteiner_Wave.UpDownCVY = 2.9;
};
if ((((Conteiner_Wave.UpDownCVY < -3.5)) && ((Conteiner_Wave.UpDownCVYDirection == -1)))){
Conteiner_Wave.UpDownCVYDirection = 1;
Conteiner_Wave.UpDownCVY = -3.5;
};
NewParticule.CVY = Conteiner_Wave.UpDownCVY;
NewParticule.EvoS = 2.2;
NewParticule.DestP = 12.6;
NewParticule.gotoAndStop(38);
Teinte = new ColorTransform();
DirectColors = ["336699"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Wave = 0;
} else {
ParticuleCadence_Wave++;
};
}
function frame3(){
Moving = "Cible";
Nom = "Orange";
Target_Orange = (parent as MovieClip).Cible;
Conteiner_Orange = (parent as MovieClip).Conteneur;
ParticuleCadence_Orange = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Orange);
}
public function LoopParticule_Cartoon_Diez(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Fog_Moon(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Fog_Moon);
}
public function Interrupt_Grass(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Grass);
}
public function Interrupt_Wings(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Wings);
}
public function Interrupt_Constellation(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Constellation);
}
public function Interrupt_Wings_Bones(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Wings_Bones);
}
public function ParticuleGenerator_Hard_Smoke(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Hard_Smoke >= 0){
P = 0;
while (P <= ParticuleCadence_Hard_Smoke) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Hard_Smoke.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Smoke);
NewParticule.x = Target_Hard_Smoke.x;
NewParticule.y = Target_Hard_Smoke.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Smoke);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["663300", "663333", "CC6600", "CC6633", "996633", "996600"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = ((Math.random() * (10 - 0)) + 0);
ModWidth = ((Math.random() * (10 - 0)) + 0);
ModHeight = ((Math.random() * (10 - 0)) + 0);
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (360 - 0)) + 0);
NewParticule.alpha = (((Math.random() * (100 - 0)) + 0) / 100);
NewParticule.EvoS = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoW = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoH = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoR = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoA = ((Math.random() * (-1.4 - -10)) + -10);
NewParticule.DestA = 0;
NewParticule.gotoAndStop(77);
P = (P + 1);
};
ParticuleCadence_Hard_Smoke = 0;
} else {
ParticuleCadence_Hard_Smoke++;
};
}
public function Interrupt_Black_Hole(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Black_Hole);
}
public function LoopParticule_Chaos_Circle(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + (_local2.ChaosVS + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + (_local2.ChaosVR + ((Math.random() * 2) - 1)));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
public function Interrupt_Comet(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Comet);
}
public function LoopParticule_Chaos_Hexa(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + (_local2.ChaosVS + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + (_local2.ChaosVR + ((Math.random() * 2) - 1)));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
public function Interrupt_Hard_Galaxy(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Galaxy);
}
public function Interrupt_FirePulsar(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_FirePulsar);
}
public function Interrupt_Dragon_Kick(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Dragon_Kick);
}
public function ParticuleGenerator_Coquelicot(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Coquelicot >= 0){
P = 0;
while (P <= ParticuleCadence_Coquelicot) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Coquelicot.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Coquelicot);
NewParticule.x = Target_Coquelicot.x;
NewParticule.y = Target_Coquelicot.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Coquelicot);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FF0000", "CC0000", "990000"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 0;
ModWidth = 0;
ModHeight = 0;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 10;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = 0;
NewParticule.gotoAndStop(104);
P = (P + 1);
};
ParticuleCadence_Coquelicot = 0;
} else {
ParticuleCadence_Coquelicot++;
};
}
public function LoopParticule_Prisme(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Cristal(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Cristal);
}
public function ParticuleGenerator_Fog_Moon(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Fog_Moon >= 0){
P = 0;
while (P <= ParticuleCadence_Fog_Moon) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Fog_Moon.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Fog_Moon);
NewParticule.x = Target_Fog_Moon.x;
NewParticule.y = Target_Fog_Moon.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Fog_Moon);
} catch(e) {
};
};
ModScale = 2.2;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.CVY = 0.2;
NewParticule.EvoA = -2;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.gotoAndStop(41);
Teinte = new ColorTransform();
DirectColors = ["FFFFFF", "FFFF66", "FFFF00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Fog_Moon = 0;
} else {
ParticuleCadence_Fog_Moon++;
};
}
public function ParticuleGenerator_Techno(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Techno >= 0){
P = 0;
while (P <= ParticuleCadence_Techno) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Techno.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Techno);
NewParticule.x = Target_Techno.x;
NewParticule.y = Target_Techno.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Techno);
} catch(e) {
};
};
ModScale = ((Math.random() * (2.1 - 0)) + 0);
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (360 - 0)) + 0);
NewParticule.alpha = (100 / 100);
NewParticule.DX = ((Math.random() * (7.5 - -7)) + -7);
NewParticule.DY = ((Math.random() * (6.9 - -7.2)) + -7.2);
NewParticule.EvoA = -0.3;
NewParticule.DestP = 20.3;
NewParticule.ChaosDX = [-10, 10];
NewParticule.ChaosDY = [-10, 10];
NewParticule.gotoAndStop(84);
Teinte = new ColorTransform();
DirectColors = ["FFFF00", "FFFF66", "FFFFCC"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Techno = 0;
} else {
ParticuleCadence_Techno++;
};
}
function frame200(){
Moving = "Statique";
Nom = "Super_Nova";
(parent as MovieClip).CheckCible("Statique");
Target_Super_Nova = (parent as MovieClip).Cible;
Conteiner_Super_Nova = (parent as MovieClip).Conteneur;
ParticuleCadence_Super_Nova = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Super_Nova);
}
function frame201(){
Moving = "Cible";
Nom = "Final";
(parent as MovieClip).CheckCible("Cible");
Target_Final = (parent as MovieClip).Cible;
Conteiner_Final = (parent as MovieClip).Conteneur;
ParticuleCadence_Final = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Final);
}
public function Interrupt_Hard_Rad(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Rad);
}
public function Interrupt_Chaos_Cube(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Cube);
}
public function ParticuleGenerator_Konoha_Attak(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Konoha_Attak >= 0){
P = 0;
while (P <= ParticuleCadence_Konoha_Attak) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Konoha_Attak.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Konoha_Attak);
NewParticule.x = Target_Konoha_Attak.x;
NewParticule.y = Target_Konoha_Attak.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Konoha_Attak);
} catch(e) {
};
};
ModScale = ((Math.random() * (10 - 8)) + 8);
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.VX = ((Math.random() * (15.4 - 26.1)) + 26.1);
NewParticule.VY = ((Math.random() * (2.2 - -6.1)) + -6.1);
NewParticule.EvoS = ((Math.random() * (-3 - -6.9)) + -6.9);
NewParticule.EvoR = ((Math.random() * (5.2 - 10)) + 10);
NewParticule.EvoA = -0.1;
NewParticule.DestT = 10;
NewParticule.gotoAndStop(91);
Teinte = new ColorTransform();
DirectColors = ["99CCFF", "6699FF", "3399FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Konoha_Attak = ((Math.random() * (3 - -10.8)) + -10.8);
} else {
ParticuleCadence_Konoha_Attak++;
};
}
public function LoopParticule_Canabis(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
}
public function LoopParticule_Washing(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Inspired_by(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Chaos_Paper(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + (_local2.ChaosVS + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + (_local2.ChaosVR + ((Math.random() * 2) - 1)));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
public function Interrupt_Konoha_Attak(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Konoha_Attak);
}
public function ParticuleGenerator_Pixel_Point_2(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Pixel_Point_2 >= 0){
P = 0;
while (P <= ParticuleCadence_Pixel_Point_2) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Pixel_Point_2.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Pixel_Point_2);
NewParticule.x = Target_Pixel_Point_2.x;
NewParticule.y = Target_Pixel_Point_2.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Pixel_Point_2);
} catch(e) {
};
};
ModScale = 0;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -3.6;
NewParticule.DestA = 0;
NewParticule.ChaosDX = [-10, 10];
NewParticule.ChaosDY = [-10, 10];
NewParticule.gotoAndStop(2);
Teinte = new ColorTransform();
DirectColors = ["339900", "339933", "33CC33", "33CC00", "33CC66", "339966"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Pixel_Point_2 = 5.2;
} else {
ParticuleCadence_Pixel_Point_2++;
};
}
public function ParticuleGenerator_Pixel_Point_3(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Pixel_Point_3 >= 0){
P = 0;
while (P <= ParticuleCadence_Pixel_Point_3) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Pixel_Point_3.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Pixel_Point_3);
NewParticule.x = Target_Pixel_Point_3.x;
NewParticule.y = Target_Pixel_Point_3.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Pixel_Point_3);
} catch(e) {
};
};
ModScale = 0;
ModWidth = 0.2;
ModHeight = 0.2;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -1.8;
NewParticule.DestP = 50;
NewParticule.DestA = 0;
NewParticule.ChaosDX = [-0.9, 0.8];
NewParticule.ChaosDY = [-0.8, 0.7];
NewParticule.gotoAndStop(2);
Teinte = new ColorTransform();
DirectColors = ["339900", "339933", "33CC33", "33CC00", "33CC66", "339966"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Pixel_Point_3 = 7;
} else {
ParticuleCadence_Pixel_Point_3++;
};
}
public function Interrupt_Spinal(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Spinal);
}
public function LoopParticule_Never_Ending_Tunnel(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Space_Ship(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Space_Ship);
}
public function LoopParticule_Hard_Illusion(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Hard_Death(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Death);
}
public function Interrupt_Chaos_Triangle(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Triangle);
}
public function LoopParticule_Pink_Agent(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Trumpet(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Trumpet);
}
public function ParticuleGenerator_Hard_Rad(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Hard_Rad >= 0){
P = 0;
while (P <= ParticuleCadence_Hard_Rad) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Hard_Rad.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Rad);
NewParticule.x = Target_Hard_Rad.x;
NewParticule.y = Target_Hard_Rad.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Rad);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["339900", "336600", "009900", "006600", "00CC00", "00FF00", "33FF00", "33CC00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = ((Math.random() * (10 - 0)) + 0);
ModWidth = ((Math.random() * (10 - 0)) + 0);
ModHeight = ((Math.random() * (10 - 0)) + 0);
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (360 - 0)) + 0);
NewParticule.alpha = (((Math.random() * (100 - 0)) + 0) / 100);
NewParticule.EvoS = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoW = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoH = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoR = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoA = ((Math.random() * (-1.4 - -10)) + -10);
NewParticule.DestA = 0;
NewParticule.gotoAndStop(94);
P = (P + 1);
};
ParticuleCadence_Hard_Rad = 0;
} else {
ParticuleCadence_Hard_Rad++;
};
}
public function Interrupt_Ectoplasme(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Ectoplasme);
}
public function LoopParticule_Chaos_Triangle(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + (_local2.ChaosVS + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + (_local2.ChaosVR + ((Math.random() * 2) - 1)));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
public function Interrupt_Medusa(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Medusa);
}
public function ParticuleGenerator_High_Demake_Up(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_High_Demake_Up >= 0){
P = 0;
while (P <= ParticuleCadence_High_Demake_Up) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_High_Demake_Up.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_High_Demake_Up);
NewParticule.x = Target_High_Demake_Up.x;
NewParticule.y = Target_High_Demake_Up.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_High_Demake_Up);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["CC6666", "FF6666", "FF99CC"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = 111.4;
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = -1.3;
NewParticule.EvoA = 5.6;
NewParticule.DestP = 9.7;
NewParticule.DestA = 0;
NewParticule.ChaosDX = [-7.8, 8];
NewParticule.ChaosDY = [-7.9, 7.9];
NewParticule.gotoAndStop(100);
P = (P + 1);
};
ParticuleCadence_High_Demake_Up = 0;
} else {
ParticuleCadence_High_Demake_Up++;
};
}
public function LoopParticule_EarthPulsar(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVW = (_local2.SpeedChaosVW + ((Math.random() * (_local2.ChaosVW[1] - _local2.ChaosVW[0])) + _local2.ChaosVW[0]));
_local2.width = (_local2.width + _local2.SpeedChaosVW);
_local2.SpeedChaosVH = (_local2.SpeedChaosVH + ((Math.random() * (_local2.ChaosVH[1] - _local2.ChaosVH[0])) + _local2.ChaosVH[0]));
_local2.height = (_local2.height + _local2.SpeedChaosVH);
_local2.rotation = _local3;
}
public function Interrupt_Smile(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Smile);
}
public function LoopParticule_Orange(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Sub_Zero_Combo(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Sub_Zero_Combo >= 0){
P = 0;
while (P <= ParticuleCadence_Sub_Zero_Combo) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Sub_Zero_Combo.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Sub_Zero_Combo);
NewParticule.x = Target_Sub_Zero_Combo.x;
NewParticule.y = Target_Sub_Zero_Combo.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Sub_Zero_Combo);
} catch(e) {
};
};
ModScale = 10;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_Sub_Zero_Combo.UpDownRotation == null){
Conteiner_Sub_Zero_Combo.UpDownRotation = 0;
Conteiner_Sub_Zero_Combo.UpDownRotationValue = 0;
Conteiner_Sub_Zero_Combo.UpDownRotationDirection = 1;
};
Conteiner_Sub_Zero_Combo.UpDownRotationValue = (Conteiner_Sub_Zero_Combo.UpDownRotationValue + Conteiner_Sub_Zero_Combo.UpDownRotationDirection);
Conteiner_Sub_Zero_Combo.UpDownRotationValue = (Conteiner_Sub_Zero_Combo.UpDownRotationValue * 0.8);
Conteiner_Sub_Zero_Combo.UpDownRotation = (Conteiner_Sub_Zero_Combo.UpDownRotation + Conteiner_Sub_Zero_Combo.UpDownRotationValue);
if ((((Conteiner_Sub_Zero_Combo.UpDownRotation > 360)) && ((Conteiner_Sub_Zero_Combo.UpDownRotationDirection == 1)))){
Conteiner_Sub_Zero_Combo.UpDownRotationDirection = -1;
};
if ((((Conteiner_Sub_Zero_Combo.UpDownRotation < 0)) && ((Conteiner_Sub_Zero_Combo.UpDownRotationDirection == -1)))){
Conteiner_Sub_Zero_Combo.UpDownRotationDirection = 1;
};
NewParticule.rotation = Conteiner_Sub_Zero_Combo.UpDownRotation;
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = -10;
if (Conteiner_Sub_Zero_Combo.UpDownEvoR == null){
Conteiner_Sub_Zero_Combo.UpDownEvoR = -10;
Conteiner_Sub_Zero_Combo.UpDownEvoRValue = 0;
Conteiner_Sub_Zero_Combo.UpDownEvoRDirection = 1;
};
Conteiner_Sub_Zero_Combo.UpDownEvoRValue = (Conteiner_Sub_Zero_Combo.UpDownEvoRValue + Conteiner_Sub_Zero_Combo.UpDownEvoRDirection);
Conteiner_Sub_Zero_Combo.UpDownEvoRValue = (Conteiner_Sub_Zero_Combo.UpDownEvoRValue * 0.8);
Conteiner_Sub_Zero_Combo.UpDownEvoR = (Conteiner_Sub_Zero_Combo.UpDownEvoR + Conteiner_Sub_Zero_Combo.UpDownEvoRValue);
if ((((Conteiner_Sub_Zero_Combo.UpDownEvoR > 10)) && ((Conteiner_Sub_Zero_Combo.UpDownEvoRDirection == 1)))){
Conteiner_Sub_Zero_Combo.UpDownEvoRDirection = -1;
};
if ((((Conteiner_Sub_Zero_Combo.UpDownEvoR < -10)) && ((Conteiner_Sub_Zero_Combo.UpDownEvoRDirection == -1)))){
Conteiner_Sub_Zero_Combo.UpDownEvoRDirection = 1;
};
NewParticule.EvoR = Conteiner_Sub_Zero_Combo.UpDownEvoR;
NewParticule.EvoA = -9.2;
NewParticule.DestP = 15.7;
NewParticule.gotoAndStop(89);
Teinte = new ColorTransform();
DirectColors = ["3300FF", "3333FF", "3366FF", "3399FF", "33CCFF", "33FFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Sub_Zero_Combo = 0;
} else {
ParticuleCadence_Sub_Zero_Combo++;
};
}
public function LoopParticule_Tulipe(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + ((Math.random() * (_local2.ChaosVR[1] - _local2.ChaosVR[0])) + _local2.ChaosVR[0]));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
public function Interrupt_Shower(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Shower);
}
public function ParticuleGenerator_Vaporing_Circle(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Vaporing_Circle >= 0){
P = 0;
while (P <= ParticuleCadence_Vaporing_Circle) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Vaporing_Circle.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Vaporing_Circle);
NewParticule.x = Target_Vaporing_Circle.x;
NewParticule.y = Target_Vaporing_Circle.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Vaporing_Circle);
} catch(e) {
};
};
ModScale = 5.7;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.CVY = -0.2;
NewParticule.EvoS = 0.3;
NewParticule.EvoR = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoA = ((Math.random() * (-3.1 - -6.1)) + -6.1);
NewParticule.DestA = 0;
NewParticule.gotoAndStop(90);
Teinte = new ColorTransform();
DirectColors = ["FFCCFF", "FF99FF", "FF66FF", "FFCCCC"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Vaporing_Circle = 0;
} else {
ParticuleCadence_Vaporing_Circle++;
};
}
public function ParticuleGenerator_Kawaii(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Kawaii >= 0){
P = 0;
while (P <= ParticuleCadence_Kawaii) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Kawaii.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Kawaii);
NewParticule.x = Target_Kawaii.x;
NewParticule.y = Target_Kawaii.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Kawaii);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
if (Conteiner_Kawaii.UpDownVX == null){
Conteiner_Kawaii.UpDownVX = -11.4;
Conteiner_Kawaii.UpDownVXValue = 0;
Conteiner_Kawaii.UpDownVXDirection = 1;
};
Conteiner_Kawaii.UpDownVXValue = (Conteiner_Kawaii.UpDownVXValue + Conteiner_Kawaii.UpDownVXDirection);
Conteiner_Kawaii.UpDownVXValue = (Conteiner_Kawaii.UpDownVXValue * 0.8);
Conteiner_Kawaii.UpDownVX = (Conteiner_Kawaii.UpDownVX + Conteiner_Kawaii.UpDownVXValue);
if ((((Conteiner_Kawaii.UpDownVX > 11.2)) && ((Conteiner_Kawaii.UpDownVXDirection == 1)))){
Conteiner_Kawaii.UpDownVXDirection = -1;
};
if ((((Conteiner_Kawaii.UpDownVX < -11.4)) && ((Conteiner_Kawaii.UpDownVXDirection == -1)))){
Conteiner_Kawaii.UpDownVXDirection = 1;
};
NewParticule.VX = Conteiner_Kawaii.UpDownVX;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = [-4.6, 3];
NewParticule.gotoAndStop(84);
Teinte = new ColorTransform();
DirectColors = ["FF99FF", "FFCCFF", "FF66CC", "FF6699"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Kawaii = 0;
} else {
ParticuleCadence_Kawaii++;
};
}
public function ParticuleGenerator_Earth_Rotative(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Earth_Rotative >= 0){
P = 0;
while (P <= ParticuleCadence_Earth_Rotative) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Earth_Rotative.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Earth_Rotative);
NewParticule.x = Target_Earth_Rotative.x;
NewParticule.y = Target_Earth_Rotative.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Earth_Rotative);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_Earth_Rotative.UpDownRotation == null){
Conteiner_Earth_Rotative.UpDownRotation = 0;
Conteiner_Earth_Rotative.UpDownRotationValue = 18;
Conteiner_Earth_Rotative.UpDownRotationDirection = 1;
};
Conteiner_Earth_Rotative.UpDownRotation = (Conteiner_Earth_Rotative.UpDownRotation + (Conteiner_Earth_Rotative.UpDownRotationValue * Conteiner_Earth_Rotative.UpDownRotationDirection));
if ((((Conteiner_Earth_Rotative.UpDownRotation > 360)) && ((Conteiner_Earth_Rotative.UpDownRotationDirection == 1)))){
Conteiner_Earth_Rotative.UpDownRotationDirection = -1;
Conteiner_Earth_Rotative.UpDownRotation = 360;
};
if ((((Conteiner_Earth_Rotative.UpDownRotation < 0)) && ((Conteiner_Earth_Rotative.UpDownRotationDirection == -1)))){
Conteiner_Earth_Rotative.UpDownRotationDirection = 1;
Conteiner_Earth_Rotative.UpDownRotation = 0;
};
NewParticule.rotation = Conteiner_Earth_Rotative.UpDownRotation;
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 10;
if (Conteiner_Earth_Rotative.UpDownEvoR == null){
Conteiner_Earth_Rotative.UpDownEvoR = -10;
Conteiner_Earth_Rotative.UpDownEvoRValue = 1;
Conteiner_Earth_Rotative.UpDownEvoRDirection = 1;
};
Conteiner_Earth_Rotative.UpDownEvoR = (Conteiner_Earth_Rotative.UpDownEvoR + (Conteiner_Earth_Rotative.UpDownEvoRValue * Conteiner_Earth_Rotative.UpDownEvoRDirection));
if ((((Conteiner_Earth_Rotative.UpDownEvoR > 10)) && ((Conteiner_Earth_Rotative.UpDownEvoRDirection == 1)))){
Conteiner_Earth_Rotative.UpDownEvoRDirection = -1;
Conteiner_Earth_Rotative.UpDownEvoR = 10;
};
if ((((Conteiner_Earth_Rotative.UpDownEvoR < -10)) && ((Conteiner_Earth_Rotative.UpDownEvoRDirection == -1)))){
Conteiner_Earth_Rotative.UpDownEvoRDirection = 1;
Conteiner_Earth_Rotative.UpDownEvoR = -10;
};
NewParticule.EvoR = Conteiner_Earth_Rotative.UpDownEvoR;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(67);
Teinte = new ColorTransform();
DirectColors = ["669900"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Earth_Rotative = 0;
} else {
ParticuleCadence_Earth_Rotative++;
};
}
public function ParticuleGenerator_Direction(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Direction >= 0){
P = 0;
while (P <= ParticuleCadence_Direction) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Direction.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Direction);
NewParticule.x = Target_Direction.x;
NewParticule.y = Target_Direction.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Direction);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FFFF33", "FFCC33", "FF9933"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.VX = -36.6;
if (Conteiner_Direction.UpDownVY == null){
Conteiner_Direction.UpDownVY = -5.7;
Conteiner_Direction.UpDownVYValue = 0.58;
Conteiner_Direction.UpDownVYDirection = 1;
};
Conteiner_Direction.UpDownVY = (Conteiner_Direction.UpDownVY + (Conteiner_Direction.UpDownVYValue * Conteiner_Direction.UpDownVYDirection));
if ((((Conteiner_Direction.UpDownVY > 5.9)) && ((Conteiner_Direction.UpDownVYDirection == 1)))){
Conteiner_Direction.UpDownVYDirection = -1;
Conteiner_Direction.UpDownVY = 5.9;
};
if ((((Conteiner_Direction.UpDownVY < -5.7)) && ((Conteiner_Direction.UpDownVYDirection == -1)))){
Conteiner_Direction.UpDownVYDirection = 1;
Conteiner_Direction.UpDownVY = -5.7;
};
NewParticule.VY = Conteiner_Direction.UpDownVY;
NewParticule.EvoA = 0.1;
NewParticule.DestP = 16.1;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(103);
P = (P + 1);
};
ParticuleCadence_Direction = 0;
} else {
ParticuleCadence_Direction++;
};
}
public function LoopParticule_Ambivalence(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.x = (_local2.x + (_local2.ChaosDX + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + (_local2.ChaosDY + ((Math.random() * 2) - 1)));
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + (_local2.ChaosVS + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
}
public function ParticuleGenerator_HardStyle(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_HardStyle >= 0){
P = 0;
while (P <= ParticuleCadence_HardStyle) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_HardStyle.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_HardStyle);
NewParticule.x = Target_HardStyle.x;
NewParticule.y = Target_HardStyle.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_HardStyle);
} catch(e) {
};
};
NewParticule.x = (NewParticule.x + ((Math.random() * (6.4 - -6.4)) + -6.4));
NewParticule.y = (NewParticule.y + ((Math.random() * (6.4 - -4.3)) + -4.3));
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
if (Conteiner_HardStyle.UpDownDX == null){
Conteiner_HardStyle.UpDownDX = -23.8;
Conteiner_HardStyle.UpDownDXValue = 0;
Conteiner_HardStyle.UpDownDXDirection = 1;
};
Conteiner_HardStyle.UpDownDXValue = (Conteiner_HardStyle.UpDownDXValue + Conteiner_HardStyle.UpDownDXDirection);
Conteiner_HardStyle.UpDownDXValue = (Conteiner_HardStyle.UpDownDXValue * 0.8);
Conteiner_HardStyle.UpDownDX = (Conteiner_HardStyle.UpDownDX + Conteiner_HardStyle.UpDownDXValue);
if ((((Conteiner_HardStyle.UpDownDX > 24.4)) && ((Conteiner_HardStyle.UpDownDXDirection == 1)))){
Conteiner_HardStyle.UpDownDXDirection = -1;
};
if ((((Conteiner_HardStyle.UpDownDX < -23.8)) && ((Conteiner_HardStyle.UpDownDXDirection == -1)))){
Conteiner_HardStyle.UpDownDXDirection = 1;
};
NewParticule.DX = Conteiner_HardStyle.UpDownDX;
if (Conteiner_HardStyle.UpDownDY == null){
Conteiner_HardStyle.UpDownDY = -24.2;
Conteiner_HardStyle.UpDownDYValue = 0;
Conteiner_HardStyle.UpDownDYDirection = 1;
};
Conteiner_HardStyle.UpDownDYValue = (Conteiner_HardStyle.UpDownDYValue + Conteiner_HardStyle.UpDownDYDirection);
Conteiner_HardStyle.UpDownDYValue = (Conteiner_HardStyle.UpDownDYValue * 0.8);
Conteiner_HardStyle.UpDownDY = (Conteiner_HardStyle.UpDownDY + Conteiner_HardStyle.UpDownDYValue);
if ((((Conteiner_HardStyle.UpDownDY > 23.6)) && ((Conteiner_HardStyle.UpDownDYDirection == 1)))){
Conteiner_HardStyle.UpDownDYDirection = -1;
};
if ((((Conteiner_HardStyle.UpDownDY < -24.2)) && ((Conteiner_HardStyle.UpDownDYDirection == -1)))){
Conteiner_HardStyle.UpDownDYDirection = 1;
};
NewParticule.DY = Conteiner_HardStyle.UpDownDY;
NewParticule.EvoA = -0.2;
NewParticule.DestP = ((Math.random() * (10.4 - 0)) + 0);
NewParticule.DestA = 0;
NewParticule.gotoAndStop(84);
Teinte = new ColorTransform();
DirectColors = ["660000", "330000", "990000", "CC0000"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_HardStyle = 2.2;
} else {
ParticuleCadence_HardStyle++;
};
}
public function Interrupt_Combo_Hit(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Combo_Hit);
}
public function LoopParticule_Combo_Hit(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Pulsar_prisme(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Vortex(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Vortex);
}
public function Interrupt_Chaos_Text(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Text);
}
public function LoopParticule_Wings_Bones(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.y = (_local2.y + _local2.DY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoW);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Pixel_Point(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Pixel_Point);
}
public function ParticuleGenerator_Super_Nova(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Super_Nova >= 0){
P = 0;
while (P <= ParticuleCadence_Super_Nova) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Super_Nova.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Super_Nova);
NewParticule.x = Target_Super_Nova.x;
NewParticule.y = Target_Super_Nova.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Super_Nova);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["330066", "660066", "000066", "FF9900", "FFCC00", "FFFF00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
if (Conteiner_Super_Nova.UpDownScale == null){
Conteiner_Super_Nova.UpDownScale = 0;
Conteiner_Super_Nova.UpDownScaleValue = 0.41;
Conteiner_Super_Nova.UpDownScaleDirection = 1;
};
Conteiner_Super_Nova.UpDownScale = (Conteiner_Super_Nova.UpDownScale + (Conteiner_Super_Nova.UpDownScaleValue * Conteiner_Super_Nova.UpDownScaleDirection));
if ((((Conteiner_Super_Nova.UpDownScale > 8.2)) && ((Conteiner_Super_Nova.UpDownScaleDirection == 1)))){
Conteiner_Super_Nova.UpDownScaleDirection = -1;
Conteiner_Super_Nova.UpDownScale = 8.2;
};
if ((((Conteiner_Super_Nova.UpDownScale < 0)) && ((Conteiner_Super_Nova.UpDownScaleDirection == -1)))){
Conteiner_Super_Nova.UpDownScaleDirection = 1;
Conteiner_Super_Nova.UpDownScale = 0;
};
ModScale = Conteiner_Super_Nova.UpDownScale;
if (Conteiner_Super_Nova.UpDownWidth == null){
Conteiner_Super_Nova.UpDownWidth = 0;
Conteiner_Super_Nova.UpDownWidthValue = 0.5;
Conteiner_Super_Nova.UpDownWidthDirection = 1;
};
Conteiner_Super_Nova.UpDownWidth = (Conteiner_Super_Nova.UpDownWidth + (Conteiner_Super_Nova.UpDownWidthValue * Conteiner_Super_Nova.UpDownWidthDirection));
if ((((Conteiner_Super_Nova.UpDownWidth > 10)) && ((Conteiner_Super_Nova.UpDownWidthDirection == 1)))){
Conteiner_Super_Nova.UpDownWidthDirection = -1;
Conteiner_Super_Nova.UpDownWidth = 10;
};
if ((((Conteiner_Super_Nova.UpDownWidth < 0)) && ((Conteiner_Super_Nova.UpDownWidthDirection == -1)))){
Conteiner_Super_Nova.UpDownWidthDirection = 1;
Conteiner_Super_Nova.UpDownWidth = 0;
};
ModWidth = Conteiner_Super_Nova.UpDownWidth;
if (Conteiner_Super_Nova.UpDownHeight == null){
Conteiner_Super_Nova.UpDownHeight = 0;
Conteiner_Super_Nova.UpDownHeightValue = 0.5;
Conteiner_Super_Nova.UpDownHeightDirection = 1;
};
Conteiner_Super_Nova.UpDownHeight = (Conteiner_Super_Nova.UpDownHeight + (Conteiner_Super_Nova.UpDownHeightValue * Conteiner_Super_Nova.UpDownHeightDirection));
if ((((Conteiner_Super_Nova.UpDownHeight > 10)) && ((Conteiner_Super_Nova.UpDownHeightDirection == 1)))){
Conteiner_Super_Nova.UpDownHeightDirection = -1;
Conteiner_Super_Nova.UpDownHeight = 10;
};
if ((((Conteiner_Super_Nova.UpDownHeight < 0)) && ((Conteiner_Super_Nova.UpDownHeightDirection == -1)))){
Conteiner_Super_Nova.UpDownHeightDirection = 1;
Conteiner_Super_Nova.UpDownHeight = 0;
};
ModHeight = Conteiner_Super_Nova.UpDownHeight;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoR = 1.7;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(111);
P = (P + 1);
};
ParticuleCadence_Super_Nova = 0;
} else {
ParticuleCadence_Super_Nova++;
};
}
public function ParticuleGenerator_Seizure_Spiral(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Seizure_Spiral >= 0){
P = 0;
while (P <= ParticuleCadence_Seizure_Spiral) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Seizure_Spiral.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Seizure_Spiral);
NewParticule.x = Target_Seizure_Spiral.x;
NewParticule.y = Target_Seizure_Spiral.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Seizure_Spiral);
} catch(e) {
};
};
if (Conteiner_Seizure_Spiral.UpDownScale == null){
Conteiner_Seizure_Spiral.UpDownScale = 5.2;
Conteiner_Seizure_Spiral.UpDownScaleValue = 0;
Conteiner_Seizure_Spiral.UpDownScaleDirection = 1;
};
Conteiner_Seizure_Spiral.UpDownScaleValue = (Conteiner_Seizure_Spiral.UpDownScaleValue + Conteiner_Seizure_Spiral.UpDownScaleDirection);
Conteiner_Seizure_Spiral.UpDownScaleValue = (Conteiner_Seizure_Spiral.UpDownScaleValue * 0.8);
Conteiner_Seizure_Spiral.UpDownScale = (Conteiner_Seizure_Spiral.UpDownScale + Conteiner_Seizure_Spiral.UpDownScaleValue);
if ((((Conteiner_Seizure_Spiral.UpDownScale > 9.9)) && ((Conteiner_Seizure_Spiral.UpDownScaleDirection == 1)))){
Conteiner_Seizure_Spiral.UpDownScaleDirection = -1;
};
if ((((Conteiner_Seizure_Spiral.UpDownScale < 5.2)) && ((Conteiner_Seizure_Spiral.UpDownScaleDirection == -1)))){
Conteiner_Seizure_Spiral.UpDownScaleDirection = 1;
};
ModScale = Conteiner_Seizure_Spiral.UpDownScale;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_Seizure_Spiral.UpDownRotation == null){
Conteiner_Seizure_Spiral.UpDownRotation = 0;
Conteiner_Seizure_Spiral.UpDownRotationValue = 0;
Conteiner_Seizure_Spiral.UpDownRotationDirection = 1;
};
Conteiner_Seizure_Spiral.UpDownRotationValue = (Conteiner_Seizure_Spiral.UpDownRotationValue + Conteiner_Seizure_Spiral.UpDownRotationDirection);
Conteiner_Seizure_Spiral.UpDownRotationValue = (Conteiner_Seizure_Spiral.UpDownRotationValue * 0.8);
Conteiner_Seizure_Spiral.UpDownRotation = (Conteiner_Seizure_Spiral.UpDownRotation + Conteiner_Seizure_Spiral.UpDownRotationValue);
if ((((Conteiner_Seizure_Spiral.UpDownRotation > 360)) && ((Conteiner_Seizure_Spiral.UpDownRotationDirection == 1)))){
Conteiner_Seizure_Spiral.UpDownRotationDirection = -1;
};
if ((((Conteiner_Seizure_Spiral.UpDownRotation < 0)) && ((Conteiner_Seizure_Spiral.UpDownRotationDirection == -1)))){
Conteiner_Seizure_Spiral.UpDownRotationDirection = 1;
};
NewParticule.rotation = Conteiner_Seizure_Spiral.UpDownRotation;
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -5;
NewParticule.DestP = 0;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(79);
Teinte = new ColorTransform();
DirectColors = ["66FF00", "FFFF00", "FF0000", "6600FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Seizure_Spiral = 0;
} else {
ParticuleCadence_Seizure_Spiral++;
};
}
public function Interrupt_Hand_Chain(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hand_Chain);
}
public function Interrupt_Cholesterol(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Cholesterol);
}
public function Interrupt_Sun_Shine(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Sun_Shine);
}
public function LoopParticule_Hard_Galaxy(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Dragon_Kick(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Hard_Honey(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Hard_Honey >= 0){
P = 0;
while (P <= ParticuleCadence_Hard_Honey) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Hard_Honey.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Honey);
NewParticule.x = Target_Hard_Honey.x;
NewParticule.y = Target_Hard_Honey.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Honey);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FFCC00", "FF9900", "FFFF00", "FFFF33", "FFFF66"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = ((Math.random() * (10 - 0)) + 0);
ModWidth = ((Math.random() * (10 - 0)) + 0);
ModHeight = ((Math.random() * (10 - 0)) + 0);
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (360 - 0)) + 0);
NewParticule.alpha = (((Math.random() * (100 - 0)) + 0) / 100);
NewParticule.EvoS = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoW = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoH = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoR = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoA = ((Math.random() * (-1.4 - -10)) + -10);
NewParticule.DestA = 0;
NewParticule.gotoAndStop(65);
P = (P + 1);
};
ParticuleCadence_Hard_Honey = 0;
} else {
ParticuleCadence_Hard_Honey++;
};
}
public function LoopParticule_Sun_Shine(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + (_local2.ChaosVR + ((Math.random() * 2) - 1)));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
public function Interrupt_Chaos_Glow(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Glow);
}
public function LoopParticule_Chain(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VX = (_local2.VX + _local2.CVX);
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Yellow(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Yellow >= 0){
P = 0;
while (P <= ParticuleCadence_Yellow) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Yellow.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Yellow);
NewParticule.x = Target_Yellow.x;
NewParticule.y = Target_Yellow.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Yellow);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoW = 10;
NewParticule.EvoH = -2.2;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(1);
Teinte = new ColorTransform();
DirectColors = ["FFFF00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Yellow = 0;
} else {
ParticuleCadence_Yellow++;
};
}
public function Interrupt_Beetle(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Beetle);
}
public function Interrupt_IcePulsar(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_IcePulsar);
}
public function Interrupt_Washing(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Washing);
}
public function Interrupt_Fire(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Fire);
}
public function ParticuleGenerator_Chain(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Chain >= 0){
P = 0;
while (P <= ParticuleCadence_Chain) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Chain.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Chain);
NewParticule.x = Target_Chain.x;
NewParticule.y = Target_Chain.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Chain);
} catch(e) {
};
};
ModScale = 2.1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.VY = 29.7;
if (Conteiner_Chain.UpDownCVX == null){
Conteiner_Chain.UpDownCVX = -2.8;
Conteiner_Chain.UpDownCVXValue = 0.27;
Conteiner_Chain.UpDownCVXDirection = 1;
};
Conteiner_Chain.UpDownCVX = (Conteiner_Chain.UpDownCVX + (Conteiner_Chain.UpDownCVXValue * Conteiner_Chain.UpDownCVXDirection));
if ((((Conteiner_Chain.UpDownCVX > 2.6)) && ((Conteiner_Chain.UpDownCVXDirection == 1)))){
Conteiner_Chain.UpDownCVXDirection = -1;
Conteiner_Chain.UpDownCVX = 2.6;
};
if ((((Conteiner_Chain.UpDownCVX < -2.8)) && ((Conteiner_Chain.UpDownCVXDirection == -1)))){
Conteiner_Chain.UpDownCVXDirection = 1;
Conteiner_Chain.UpDownCVX = -2.8;
};
NewParticule.CVX = Conteiner_Chain.UpDownCVX;
NewParticule.DestP = 8.4;
NewParticule.gotoAndStop(21);
Teinte = new ColorTransform();
DirectColors = ["6666FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Chain = 1.9;
} else {
ParticuleCadence_Chain++;
};
}
public function Interrupt_Canabis(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Canabis);
}
public function ParticuleGenerator_Bubble(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Bubble >= 0){
P = 0;
while (P <= ParticuleCadence_Bubble) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Bubble.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Bubble);
NewParticule.x = Target_Bubble.x;
NewParticule.y = Target_Bubble.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Bubble);
} catch(e) {
};
};
ModScale = ((Math.random() * (6 - 1.2)) + 1.2);
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.VX = ((Math.random() * (9.6 - -13.8)) + -13.8);
NewParticule.VY = ((Math.random() * (-23.7 - -8.8)) + -8.8);
NewParticule.CVY = 1.5;
NewParticule.CVX = ((Math.random() * (1.3 - -1.2)) + -1.2);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(11);
Teinte = new ColorTransform();
DirectColors = ["00FFFF", "33FFFF", "99FFFF", "66FFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Bubble = 0;
} else {
ParticuleCadence_Bubble++;
};
}
public function LoopParticule_New_Year(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
}
public function LoopParticule_IcePulsar(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Afternoon_Star(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Afternoon_Star >= 0){
P = 0;
while (P <= ParticuleCadence_Afternoon_Star) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Afternoon_Star.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Afternoon_Star);
NewParticule.x = Target_Afternoon_Star.x;
NewParticule.y = Target_Afternoon_Star.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Afternoon_Star);
} catch(e) {
};
};
ModScale = 10;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = -10;
NewParticule.EvoR = 1.7;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVW = 0;
NewParticule.ChaosVW = 10;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = 0;
NewParticule.gotoAndStop(47);
Teinte = new ColorTransform();
DirectColors = ["FF00FF", "6600FF", "FF6600", "CC0000", "990000"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Afternoon_Star = 0;
} else {
ParticuleCadence_Afternoon_Star++;
};
}
public function ParticuleGenerator_Warning(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Warning >= 0){
P = 0;
while (P <= ParticuleCadence_Warning) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Warning.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Warning);
NewParticule.x = Target_Warning.x;
NewParticule.y = Target_Warning.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Warning);
} catch(e) {
};
};
ModScale = 7.4;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_Warning.UpDownRotation == null){
Conteiner_Warning.UpDownRotation = 0;
Conteiner_Warning.UpDownRotationValue = 3.065;
Conteiner_Warning.UpDownRotationDirection = 1;
};
Conteiner_Warning.UpDownRotation = (Conteiner_Warning.UpDownRotation + (Conteiner_Warning.UpDownRotationValue * Conteiner_Warning.UpDownRotationDirection));
if ((((Conteiner_Warning.UpDownRotation > 61.3)) && ((Conteiner_Warning.UpDownRotationDirection == 1)))){
Conteiner_Warning.UpDownRotationDirection = -1;
Conteiner_Warning.UpDownRotation = 61.3;
};
if ((((Conteiner_Warning.UpDownRotation < 0)) && ((Conteiner_Warning.UpDownRotationDirection == -1)))){
Conteiner_Warning.UpDownRotationDirection = 1;
Conteiner_Warning.UpDownRotation = 0;
};
NewParticule.rotation = Conteiner_Warning.UpDownRotation;
NewParticule.alpha = (100 / 100);
NewParticule.DX = new Array(-5.5, 5.5)[Math.round((Math.random() * 1))];
NewParticule.DY = new Array(-5.6, 5.5)[Math.round((Math.random() * 1))];
NewParticule.EvoA = -5;
NewParticule.DestP = 1.1;
NewParticule.gotoAndStop(94);
Teinte = new ColorTransform();
DirectColors = ["FF0000", "CC0000", "990000", "FF3300", "CC3300", "660000"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
if (Conteiner_Warning.UpDownCadence == null){
Conteiner_Warning.UpDownCadence = -0.4;
Conteiner_Warning.UpDownCadenceValue = 0.355;
Conteiner_Warning.UpDownCadenceDirection = 1;
};
Conteiner_Warning.UpDownCadence = (Conteiner_Warning.UpDownCadence + (Conteiner_Warning.UpDownCadenceValue * Conteiner_Warning.UpDownCadenceDirection));
if ((((Conteiner_Warning.UpDownCadence > 6.7)) && ((Conteiner_Warning.UpDownCadenceDirection == 1)))){
Conteiner_Warning.UpDownCadenceDirection = -1;
Conteiner_Warning.UpDownCadence = 6.7;
};
if ((((Conteiner_Warning.UpDownCadence < -0.4)) && ((Conteiner_Warning.UpDownCadenceDirection == -1)))){
Conteiner_Warning.UpDownCadenceDirection = 1;
Conteiner_Warning.UpDownCadence = -0.4;
};
ParticuleCadence_Warning = Conteiner_Warning.UpDownCadence;
} else {
ParticuleCadence_Warning++;
};
}
public function ParticuleGenerator_Diablo_Uppercut(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Diablo_Uppercut >= 0){
P = 0;
while (P <= ParticuleCadence_Diablo_Uppercut) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Diablo_Uppercut.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Diablo_Uppercut);
NewParticule.x = Target_Diablo_Uppercut.x;
NewParticule.y = Target_Diablo_Uppercut.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Diablo_Uppercut);
} catch(e) {
};
};
ModScale = 0;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 10;
NewParticule.EvoR = ((Math.random() * (0.5 - -0.4)) + -0.4);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.ChaosDR = [-1.6, 1.6];
NewParticule.gotoAndStop(89);
Teinte = new ColorTransform();
DirectColors = ["9999FF", "990000", "000000"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Diablo_Uppercut = 0;
} else {
ParticuleCadence_Diablo_Uppercut++;
};
}
public function LoopParticule_Psycho_Tunnel(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Konoha_Attak(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if ((((_local2.width <= _local2.DestT)) && ((_local2.height <= _local2.DestT)))){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Rainbow_Power(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_No_Way(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Brush(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.y = (_local2.y + _local2.DY);
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Sun_Burn(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.x = (_local2.x + new Array(_local2.ChaosDX[1], _local2.ChaosDX[0])[Math.round((Math.random() * 1))]);
_local2.y = (_local2.y + (_local2.ChaosDY + ((Math.random() * 2) - 1)));
}
public function ParticuleGenerator_Cosmetic_Hypno(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Cosmetic_Hypno >= 0){
P = 0;
while (P <= ParticuleCadence_Cosmetic_Hypno) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Cosmetic_Hypno.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Cosmetic_Hypno);
NewParticule.x = Target_Cosmetic_Hypno.x;
NewParticule.y = Target_Cosmetic_Hypno.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Cosmetic_Hypno);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FF66CC", "FF99CC", "FFCCCC", "6699CC", "6666CC", "6633CC"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 4.3;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = 0;
NewParticule.gotoAndStop(111);
P = (P + 1);
};
ParticuleCadence_Cosmetic_Hypno = 0;
} else {
ParticuleCadence_Cosmetic_Hypno++;
};
}
public function ParticuleGenerator_Brush(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Brush >= 0){
P = 0;
while (P <= ParticuleCadence_Brush) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Brush.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Brush);
NewParticule.x = Target_Brush.x;
NewParticule.y = Target_Brush.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Brush);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FF9900", "FF6633", "FF9933"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_Brush.UpDownRotationBrush == null){
Conteiner_Brush.UpDownRotationBrush = 0;
Conteiner_Brush.UpDownRotationBrushValue = 18;
Conteiner_Brush.UpDownRotationBrushDirection = 1;
};
Conteiner_Brush.UpDownRotationBrush = (Conteiner_Brush.UpDownRotationBrush + (Conteiner_Brush.UpDownRotationBrushValue * Conteiner_Brush.UpDownRotationBrushDirection));
if ((((Conteiner_Brush.UpDownRotationBrush > 360)) && ((Conteiner_Brush.UpDownRotationBrushDirection == 1)))){
Conteiner_Brush.UpDownRotationBrushDirection = -1;
Conteiner_Brush.UpDownRotationBrush = 360;
};
if ((((Conteiner_Brush.UpDownRotationBrush < 0)) && ((Conteiner_Brush.UpDownRotationBrushDirection == -1)))){
Conteiner_Brush.UpDownRotationBrushDirection = 1;
Conteiner_Brush.UpDownRotationBrush = 0;
};
NewParticule.rotation = Conteiner_Brush.UpDownRotationBrush;
NewParticule.alpha = (100 / 100);
if (Conteiner_Brush.UpDownDXBrush == null){
Conteiner_Brush.UpDownDXBrush = -5.1;
Conteiner_Brush.UpDownDXBrushValue = 0.525;
Conteiner_Brush.UpDownDXBrushDirection = 1;
};
Conteiner_Brush.UpDownDXBrush = (Conteiner_Brush.UpDownDXBrush + (Conteiner_Brush.UpDownDXBrushValue * Conteiner_Brush.UpDownDXBrushDirection));
if ((((Conteiner_Brush.UpDownDXBrush > 5.4)) && ((Conteiner_Brush.UpDownDXBrushDirection == 1)))){
Conteiner_Brush.UpDownDXBrushDirection = -1;
Conteiner_Brush.UpDownDXBrush = 5.4;
};
if ((((Conteiner_Brush.UpDownDXBrush < -5.1)) && ((Conteiner_Brush.UpDownDXBrushDirection == -1)))){
Conteiner_Brush.UpDownDXBrushDirection = 1;
Conteiner_Brush.UpDownDXBrush = -5.1;
};
NewParticule.DX = Conteiner_Brush.UpDownDXBrush;
if (Conteiner_Brush.UpDownDYBrush == null){
Conteiner_Brush.UpDownDYBrush = -5.2;
Conteiner_Brush.UpDownDYBrushValue = 0.525;
Conteiner_Brush.UpDownDYBrushDirection = 1;
};
Conteiner_Brush.UpDownDYBrush = (Conteiner_Brush.UpDownDYBrush + (Conteiner_Brush.UpDownDYBrushValue * Conteiner_Brush.UpDownDYBrushDirection));
if ((((Conteiner_Brush.UpDownDYBrush > 5.3)) && ((Conteiner_Brush.UpDownDYBrushDirection == 1)))){
Conteiner_Brush.UpDownDYBrushDirection = -1;
Conteiner_Brush.UpDownDYBrush = 5.3;
};
if ((((Conteiner_Brush.UpDownDYBrush < -5.2)) && ((Conteiner_Brush.UpDownDYBrushDirection == -1)))){
Conteiner_Brush.UpDownDYBrushDirection = 1;
Conteiner_Brush.UpDownDYBrush = -5.2;
};
NewParticule.DY = Conteiner_Brush.UpDownDYBrush;
NewParticule.EvoR = 10;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(107);
P = (P + 1);
};
ParticuleCadence_Brush = 0;
} else {
ParticuleCadence_Brush++;
};
}
public function Interrupt_Pixel_Point_2(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Pixel_Point_2);
}
public function Interrupt_Pixel_Point_3(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Pixel_Point_3);
}
public function Interrupt_Reggae(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Reggae);
}
public function ParticuleGenerator_Chaos_Pyra(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Chaos_Pyra >= 0){
P = 0;
while (P <= ParticuleCadence_Chaos_Pyra) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Chaos_Pyra.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Pyra);
NewParticule.x = Target_Chaos_Pyra.x;
NewParticule.y = Target_Chaos_Pyra.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Pyra);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["990099"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = 0.1;
NewParticule.DestP = ((Math.random() * (0 - 39.5)) + 39.5);
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = 0;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = 0;
NewParticule.gotoAndStop(33);
P = (P + 1);
};
ParticuleCadence_Chaos_Pyra = 0;
} else {
ParticuleCadence_Chaos_Pyra++;
};
}
public function ParticuleGenerator_Golden_Diez(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Golden_Diez >= 0){
P = 0;
while (P <= ParticuleCadence_Golden_Diez) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Golden_Diez.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Golden_Diez);
NewParticule.x = Target_Golden_Diez.x;
NewParticule.y = Target_Golden_Diez.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Golden_Diez);
} catch(e) {
};
};
NewParticule.x = (NewParticule.x + new Array(66, -10.7)[Math.round((Math.random() * 1))]);
NewParticule.y = (NewParticule.y + new Array(68.2, -10.7)[Math.round((Math.random() * 1))]);
ModScale = 10;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = -5.4;
NewParticule.EvoA = -5;
NewParticule.DestP = 6.5;
NewParticule.gotoAndStop(7);
Teinte = new ColorTransform();
DirectColors = ["FFFF00", "FF9900", "FFFF33", "FFCC00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Golden_Diez = 7.5;
} else {
ParticuleCadence_Golden_Diez++;
};
}
public function Interrupt_Music_by(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Music_by);
}
public function LoopParticule_Sith_Sword(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Carnival(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Matrix(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Rotative(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Prisme(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Prisme >= 0){
P = 0;
while (P <= ParticuleCadence_Prisme) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Prisme.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Prisme);
NewParticule.x = Target_Prisme.x;
NewParticule.y = Target_Prisme.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Prisme);
} catch(e) {
};
};
ModScale = 0;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 6.2;
NewParticule.EvoR = 5.3;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(3);
Teinte = new ColorTransform();
DirectColors = ["669999", "66CCFF", "3399FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Prisme = 0;
} else {
ParticuleCadence_Prisme++;
};
}
public function Interrupt_Vaporing_Circle(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Vaporing_Circle);
}
public function Interrupt_Circus(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Circus);
}
public function LoopParticule_Rock(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
if (_local2.UpDownSpeedChaosVX == null){
_local2.UpDownSpeedChaosVX = _local2.ChaosVX[0];
_local2.UpDownSpeedChaosVXValue = 0;
_local2.UpDownSpeedChaosVXDirection = 1;
};
_local2.UpDownSpeedChaosVXValue = (_local2.UpDownSpeedChaosVXValue + _local2.UpDownSpeedChaosVXDirection);
_local2.UpDownSpeedChaosVXValue = (_local2.UpDownSpeedChaosVXValue * 0.8);
_local2.UpDownSpeedChaosVX = (_local2.UpDownSpeedChaosVX + _local2.UpDownSpeedChaosVXValue);
if ((((_local2.UpDownSpeedChaosVX > _local2.ChaosVX[1])) && ((_local2.UpDownSpeedChaosVXDirection == 1)))){
_local2.UpDownSpeedChaosVXDirection = -1;
_local2.UpDownSpeedChaosVX = _local2.ChaosVX[1];
};
if ((((_local2.UpDownSpeedChaosVX < _local2.ChaosVX[0])) && ((_local2.UpDownSpeedChaosVXDirection == -1)))){
_local2.UpDownSpeedChaosVXDirection = 1;
_local2.UpDownSpeedChaosVX = _local2.ChaosVX[0];
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + _local2.UpDownSpeedChaosVX);
_local2.x = (_local2.x + _local2.SpeedChaosVX);
if (_local2.UpDownSpeedChaosVY == null){
_local2.UpDownSpeedChaosVY = _local2.ChaosVY[0];
_local2.UpDownSpeedChaosVYValue = 0;
_local2.UpDownSpeedChaosVYDirection = 1;
};
_local2.UpDownSpeedChaosVYValue = (_local2.UpDownSpeedChaosVYValue + _local2.UpDownSpeedChaosVYDirection);
_local2.UpDownSpeedChaosVYValue = (_local2.UpDownSpeedChaosVYValue * 0.8);
_local2.UpDownSpeedChaosVY = (_local2.UpDownSpeedChaosVY + _local2.UpDownSpeedChaosVYValue);
if ((((_local2.UpDownSpeedChaosVY > _local2.ChaosVY[1])) && ((_local2.UpDownSpeedChaosVYDirection == 1)))){
_local2.UpDownSpeedChaosVYDirection = -1;
_local2.UpDownSpeedChaosVY = _local2.ChaosVY[1];
};
if ((((_local2.UpDownSpeedChaosVY < _local2.ChaosVY[0])) && ((_local2.UpDownSpeedChaosVYDirection == -1)))){
_local2.UpDownSpeedChaosVYDirection = 1;
_local2.UpDownSpeedChaosVY = _local2.ChaosVY[0];
};
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + _local2.UpDownSpeedChaosVY);
_local2.y = (_local2.y + _local2.SpeedChaosVY);
}
public function LoopParticule_Zip_Code(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.y = (_local2.y + _local2.DY);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Polygon_Worm(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Polygon_Worm);
}
public function ParticuleGenerator_Polygon_Worm(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Polygon_Worm >= 0){
P = 0;
while (P <= ParticuleCadence_Polygon_Worm) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Polygon_Worm.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Polygon_Worm);
NewParticule.x = Target_Polygon_Worm.x;
NewParticule.y = Target_Polygon_Worm.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Polygon_Worm);
} catch(e) {
};
};
if (Conteiner_Polygon_Worm.UpDownScalePolygonWorm == null){
Conteiner_Polygon_Worm.UpDownScalePolygonWorm = 0;
Conteiner_Polygon_Worm.UpDownScalePolygonWormValue = 0.13;
Conteiner_Polygon_Worm.UpDownScalePolygonWormDirection = 1;
};
Conteiner_Polygon_Worm.UpDownScalePolygonWorm = (Conteiner_Polygon_Worm.UpDownScalePolygonWorm + (Conteiner_Polygon_Worm.UpDownScalePolygonWormValue * Conteiner_Polygon_Worm.UpDownScalePolygonWormDirection));
if ((((Conteiner_Polygon_Worm.UpDownScalePolygonWorm > 2.6)) && ((Conteiner_Polygon_Worm.UpDownScalePolygonWormDirection == 1)))){
Conteiner_Polygon_Worm.UpDownScalePolygonWormDirection = -1;
Conteiner_Polygon_Worm.UpDownScalePolygonWorm = 2.6;
};
if ((((Conteiner_Polygon_Worm.UpDownScalePolygonWorm < 0)) && ((Conteiner_Polygon_Worm.UpDownScalePolygonWormDirection == -1)))){
Conteiner_Polygon_Worm.UpDownScalePolygonWormDirection = 1;
Conteiner_Polygon_Worm.UpDownScalePolygonWorm = 0;
};
ModScale = Conteiner_Polygon_Worm.UpDownScalePolygonWorm;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_Polygon_Worm.UpDownRotationPolygonWorm == null){
Conteiner_Polygon_Worm.UpDownRotationPolygonWorm = 0;
Conteiner_Polygon_Worm.UpDownRotationPolygonWormValue = 0;
Conteiner_Polygon_Worm.UpDownRotationPolygonWormDirection = 1;
};
Conteiner_Polygon_Worm.UpDownRotationPolygonWormValue = (Conteiner_Polygon_Worm.UpDownRotationPolygonWormValue + Conteiner_Polygon_Worm.UpDownRotationPolygonWormDirection);
Conteiner_Polygon_Worm.UpDownRotationPolygonWormValue = (Conteiner_Polygon_Worm.UpDownRotationPolygonWormValue * 0.8);
Conteiner_Polygon_Worm.UpDownRotationPolygonWorm = (Conteiner_Polygon_Worm.UpDownRotationPolygonWorm + Conteiner_Polygon_Worm.UpDownRotationPolygonWormValue);
if ((((Conteiner_Polygon_Worm.UpDownRotationPolygonWorm > 140.2)) && ((Conteiner_Polygon_Worm.UpDownRotationPolygonWormDirection == 1)))){
Conteiner_Polygon_Worm.UpDownRotationPolygonWormDirection = -1;
};
if ((((Conteiner_Polygon_Worm.UpDownRotationPolygonWorm < 0)) && ((Conteiner_Polygon_Worm.UpDownRotationPolygonWormDirection == -1)))){
Conteiner_Polygon_Worm.UpDownRotationPolygonWormDirection = 1;
};
NewParticule.rotation = Conteiner_Polygon_Worm.UpDownRotationPolygonWorm;
NewParticule.alpha = (100 / 100);
NewParticule.DX = 9.2;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.ChaosDY = [-4.7, 5.6];
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = 0;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = 0;
NewParticule.gotoAndStop(97);
Teinte = new ColorTransform();
DirectColors = ["339966", "339933", "339900"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Polygon_Worm = 0;
} else {
ParticuleCadence_Polygon_Worm++;
};
}
public function ParticuleGenerator_Fire(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Fire >= 0){
P = 0;
while (P <= ParticuleCadence_Fire) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Fire.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Fire);
NewParticule.x = Target_Fire.x;
NewParticule.y = Target_Fire.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Fire);
} catch(e) {
};
};
ModScale = 2.2;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.VX = ((Math.random() * (2.2 - -3.7)) + -3.7);
NewParticule.VY = ((Math.random() * (-2.3 - -9.6)) + -9.6);
NewParticule.EvoS = -1.3;
NewParticule.EvoA = -0.1;
NewParticule.DestT = 1;
NewParticule.gotoAndStop(41);
Teinte = new ColorTransform();
DirectColors = ["FF0000", "CC0000", "990000", "FF3300"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Fire = 0;
} else {
ParticuleCadence_Fire++;
};
}
public function ParticuleGenerator_Music_by(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Music_by >= 0){
P = 0;
while (P <= ParticuleCadence_Music_by) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Music_by.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Music_by);
NewParticule.x = Target_Music_by.x;
NewParticule.y = Target_Music_by.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Music_by);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FFCC00", "FF9900", "FF6600"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(80);
NewParticule.leTexte = "\"Primavera\" —Einaudi";
P = (P + 1);
};
ParticuleCadence_Music_by = 0;
} else {
ParticuleCadence_Music_by++;
};
}
public function LoopParticule_Constellation(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVA = (_local2.SpeedChaosVA + ((Math.random() * (_local2.ChaosVA[1] - _local2.ChaosVA[0])) + _local2.ChaosVA[0]));
_local2.alpha = (_local2.alpha + (_local2.SpeedChaosVA / 100));
}
public function LoopParticule_Black_Hole(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.y = (_local2.y + _local2.DY);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local3 = _local2.rotation;
_local2.rotation = 0;
if (_local2.UpDownChaosInstantScale == null){
_local2.UpDownChaosInstantScale = _local2.ChaosDS[0];
_local2.UpDownChaosInstantScaleValue = (Math.abs((_local2.ChaosDS[0] - _local2.ChaosDS[1])) / 10);
_local2.UpDownChaosInstantScaleDirection = 1;
};
_local2.UpDownChaosInstantScale = (_local2.UpDownChaosInstantScale + (_local2.UpDownChaosInstantScaleValue * _local2.UpDownChaosInstantScaleDirection));
if ((((_local2.UpDownChaosInstantScale > _local2.ChaosDS[1])) && ((_local2.UpDownChaosInstantScaleDirection == 1)))){
_local2.UpDownChaosInstantScaleDirection = -1;
_local2.UpDownChaosInstantScale = _local2.ChaosDS[1];
};
if ((((_local2.UpDownChaosInstantScale < _local2.ChaosDS[0])) && ((_local2.UpDownChaosInstantScaleDirection == -1)))){
_local2.UpDownChaosInstantScaleDirection = 1;
_local2.UpDownChaosInstantScale = _local2.ChaosDS[0];
};
_local2.ChaosInstantScale = _local2.UpDownChaosInstantScale;
_local2.width = (_local2.width + _local2.ChaosInstantScale);
_local2.height = (_local2.height + _local2.ChaosInstantScale);
_local2.rotation = _local3;
}
public function ParticuleGenerator_Oil_Arcanoid(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Oil_Arcanoid >= 0){
P = 0;
while (P <= ParticuleCadence_Oil_Arcanoid) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Oil_Arcanoid.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Oil_Arcanoid);
NewParticule.x = Target_Oil_Arcanoid.x;
NewParticule.y = Target_Oil_Arcanoid.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Oil_Arcanoid);
} catch(e) {
};
};
NewParticule.x = (NewParticule.x + new Array(44.7, -10.7)[Math.round((Math.random() * 1))]);
NewParticule.y = (NewParticule.y + new Array(42.6, -10.7)[Math.round((Math.random() * 1))]);
ModScale = 10;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = 45.5;
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = -10;
NewParticule.EvoA = -5;
NewParticule.DestP = 6.5;
NewParticule.gotoAndStop(7);
Teinte = new ColorTransform();
DirectColors = ["000000", "000033", "000066"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Oil_Arcanoid = 9.2;
} else {
ParticuleCadence_Oil_Arcanoid++;
};
}
public function Interrupt_Oil_Arcanoid(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Oil_Arcanoid);
}
public function LoopParticule_Pixel_Point(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.x = (_local2.x + new Array(_local2.ChaosDX[1], _local2.ChaosDX[0])[Math.round((Math.random() * 1))]);
_local2.y = (_local2.y + new Array(_local2.ChaosDY[1], _local2.ChaosDY[0])[Math.round((Math.random() * 1))]);
}
public function LoopParticule_Cholesterol(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VY = (_local2.VY + _local2.CVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoW);
_local2.rotation = _local3;
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Smiley(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Smiley);
}
public function Interrupt_Love(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Love);
}
public function LoopParticule_Warning(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.y = (_local2.y + _local2.DY);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_FirePulsar(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
}
public function ParticuleGenerator_Star_Blow(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Star_Blow >= 0){
P = 0;
while (P <= ParticuleCadence_Star_Blow) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Star_Blow.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Star_Blow);
NewParticule.x = Target_Star_Blow.x;
NewParticule.y = Target_Star_Blow.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Star_Blow);
} catch(e) {
};
};
ModScale = 2.2;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.CVY = ((Math.random() * (10 - -10)) + -10);
NewParticule.CVX = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoS = -3.6;
NewParticule.EvoA = -10;
NewParticule.DestP = 6.5;
NewParticule.gotoAndStop(6);
Teinte = new ColorTransform();
DirectColors = ["FFFFFF", "FFFF99", "FFFF33"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Star_Blow = 0;
} else {
ParticuleCadence_Star_Blow++;
};
}
public function LoopParticule_Cross(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.y = (_local2.y + _local2.DY);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + (_local2.ChaosVS + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
}
function frame10(){
Moving = "Cible";
Nom = "Turtle";
Target_Turtle = (parent as MovieClip).Cible;
Conteiner_Turtle = (parent as MovieClip).Conteneur;
ParticuleCadence_Turtle = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Turtle);
}
function frame13(){
Moving = "Cible";
Nom = "Prisme";
Target_Prisme = (parent as MovieClip).Cible;
Conteiner_Prisme = (parent as MovieClip).Conteneur;
ParticuleCadence_Prisme = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Prisme);
}
function frame14(){
Moving = "Cible";
Nom = "Snake";
Target_Snake = (parent as MovieClip).Cible;
Conteiner_Snake = (parent as MovieClip).Conteneur;
ParticuleCadence_Snake = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Snake);
}
function frame15(){
Moving = "Cible";
Nom = "Chaos_Circle";
(parent as MovieClip).CheckCible("Cible");
Target_Chaos_Circle = (parent as MovieClip).Cible;
Conteiner_Chaos_Circle = (parent as MovieClip).Conteneur;
ParticuleCadence_Chaos_Circle = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Circle);
}
function frame16(){
Moving = "Cible";
Nom = "Honey";
Target_Honey = (parent as MovieClip).Cible;
Conteiner_Honey = (parent as MovieClip).Conteneur;
ParticuleCadence_Honey = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Honey);
}
function frame12(){
Moving = "Cible";
Nom = "Deep_Quadri";
Target_Deep_Quadri = (parent as MovieClip).Cible;
Conteiner_Deep_Quadri = (parent as MovieClip).Conteneur;
ParticuleCadence_Deep_Quadri = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Deep_Quadri);
}
public function Interrupt_Hard_Kanji(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Kanji);
}
public function ParticuleGenerator_Cross(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Cross >= 0){
P = 0;
while (P <= ParticuleCadence_Cross) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Cross.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Cross);
NewParticule.x = Target_Cross.x;
NewParticule.y = Target_Cross.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Cross);
} catch(e) {
};
};
ModScale = 3.1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = 45.5;
NewParticule.alpha = (100 / 100);
NewParticule.DX = ((Math.random() * (13.3 - -5.7)) + -5.7);
NewParticule.DY = ((Math.random() * (10.1 - -7.8)) + -7.8);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = 0;
NewParticule.gotoAndStop(7);
Teinte = new ColorTransform();
DirectColors = ["6600FF", "CC0000"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Cross = 0;
} else {
ParticuleCadence_Cross++;
};
}
function frame18(){
Moving = "Cible";
Nom = "Beetle";
Target_Beetle = (parent as MovieClip).Cible;
Conteiner_Beetle = (parent as MovieClip).Conteneur;
ParticuleCadence_Beetle = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Beetle);
}
function frame11(){
Moving = "Cible";
Nom = "Spinal";
Target_Spinal = (parent as MovieClip).Cible;
Conteiner_Spinal = (parent as MovieClip).Conteneur;
ParticuleCadence_Spinal = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Spinal);
}
function frame17(){
Moving = "Cible";
Nom = "Red_Target";
Target_Red_Target = (parent as MovieClip).Cible;
Conteiner_Red_Target = (parent as MovieClip).Conteneur;
ParticuleCadence_Red_Target = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Red_Target);
}
public function Interrupt_Direction(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Direction);
}
function frame19(){
Moving = "Cible";
Nom = "Sewn";
Target_Sewn = (parent as MovieClip).Cible;
Conteiner_Sewn = (parent as MovieClip).Conteneur;
ParticuleCadence_Sewn = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Sewn);
}
public function Interrupt_HardStyle(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_HardStyle);
}
function frame20(){
Moving = "Cible";
Nom = "Aqua_Data";
Target_Aqua_Data = (parent as MovieClip).Cible;
Conteiner_Aqua_Data = (parent as MovieClip).Conteneur;
ParticuleCadence_Aqua_Data = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Aqua_Data);
}
function frame21(){
Moving = "Cible";
Nom = "Wings";
Target_Wings = (parent as MovieClip).Cible;
Conteiner_Wings = (parent as MovieClip).Conteneur;
ParticuleCadence_Wings = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Wings);
}
function frame22(){
Moving = "Cible";
Nom = "Wings_Bones";
Target_Wings_Bones = (parent as MovieClip).Cible;
Conteiner_Wings_Bones = (parent as MovieClip).Conteneur;
ParticuleCadence_Wings_Bones = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Wings_Bones);
}
function frame23(){
Moving = "Cible";
Nom = "Tank_Bones";
Target_Tank_Bones = (parent as MovieClip).Cible;
Conteiner_Tank_Bones = (parent as MovieClip).Conteneur;
ParticuleCadence_Tank_Bones = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Tank_Bones);
}
function frame24(){
Moving = "Cible";
Nom = "Shuriken";
Target_Shuriken = (parent as MovieClip).Cible;
Conteiner_Shuriken = (parent as MovieClip).Conteneur;
ParticuleCadence_Shuriken = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Shuriken);
}
function frame25(){
Moving = "Cible";
Nom = "Sith_Sword";
Target_Sith_Sword = (parent as MovieClip).Cible;
Conteiner_Sith_Sword = (parent as MovieClip).Conteneur;
ParticuleCadence_Sith_Sword = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Sith_Sword);
}
function frame28(){
Moving = "Cible";
Nom = "Psycho_Tunnel";
Target_Psycho_Tunnel = (parent as MovieClip).Cible;
Conteiner_Psycho_Tunnel = (parent as MovieClip).Conteneur;
ParticuleCadence_Psycho_Tunnel = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Psycho_Tunnel);
}
function frame29(){
Moving = "Statique";
Nom = "Lyla_Windows";
(parent as MovieClip).CheckCible("Statique");
Target_Lyla_Windows = (parent as MovieClip).Cible;
Conteiner_Lyla_Windows = (parent as MovieClip).Conteneur;
ParticuleCadence_Lyla_Windows = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Lyla_Windows);
}
public function LoopParticule_Chaos_Cube(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + (_local2.ChaosVS + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + (_local2.ChaosVR + ((Math.random() * 2) - 1)));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
function frame26(){
Moving = "Cible";
Nom = "Tunnel";
Target_Tunnel = (parent as MovieClip).Cible;
Conteiner_Tunnel = (parent as MovieClip).Conteneur;
ParticuleCadence_Tunnel = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Tunnel);
}
function frame27(){
Moving = "Cible";
Nom = "Bubble";
Target_Bubble = (parent as MovieClip).Cible;
Conteiner_Bubble = (parent as MovieClip).Conteneur;
ParticuleCadence_Bubble = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Bubble);
}
public function Interrupt_Diablo_Uppercut(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Diablo_Uppercut);
}
public function ParticuleGenerator_Orange(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Orange >= 0){
P = 0;
while (P <= ParticuleCadence_Orange) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Orange.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Orange);
NewParticule.x = Target_Orange.x;
NewParticule.y = Target_Orange.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Orange);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.DX = 8.6;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(1);
Teinte = new ColorTransform();
DirectColors = ["FFCC00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Orange = 0;
} else {
ParticuleCadence_Orange++;
};
}
public function LoopParticule_Direction(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_HardStyle(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.y = (_local2.y + _local2.DY);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Heart_Crying(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Heart_Crying >= 0){
P = 0;
while (P <= ParticuleCadence_Heart_Crying) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Heart_Crying.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Heart_Crying);
NewParticule.x = Target_Heart_Crying.x;
NewParticule.y = Target_Heart_Crying.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Heart_Crying);
} catch(e) {
};
};
ModScale = 1.9;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.VX = ((Math.random() * (8.6 - -12.1)) + -12.1);
NewParticule.VY = ((Math.random() * (-2.6 - -27.5)) + -27.5);
NewParticule.CVY = 2.7;
NewParticule.EvoS = -0.7;
NewParticule.EvoA = -2.6;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(81);
Teinte = new ColorTransform();
DirectColors = ["FF33FF", "6666FF", "6699FF", "CC99FF", "9966FF", "9999FF", "663399", "CC66FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Heart_Crying = 0;
} else {
ParticuleCadence_Heart_Crying++;
};
}
function frame30(){
Moving = "Cible";
Nom = "Chaos_Box";
(parent as MovieClip).CheckCible("Cible");
Target_Chaos_Box = (parent as MovieClip).Cible;
Conteiner_Chaos_Box = (parent as MovieClip).Conteneur;
ParticuleCadence_Chaos_Box = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Box);
}
function frame31(){
Moving = "Statique";
Nom = "Never_Ending_Tunnel";
(parent as MovieClip).CheckCible("Statique");
Target_Never_Ending_Tunnel = (parent as MovieClip).Cible;
Conteiner_Never_Ending_Tunnel = (parent as MovieClip).Conteneur;
ParticuleCadence_Never_Ending_Tunnel = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Never_Ending_Tunnel);
}
public function ParticuleGenerator_Tulipe(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Tulipe >= 0){
P = 0;
while (P <= ParticuleCadence_Tulipe) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Tulipe.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Tulipe);
NewParticule.x = Target_Tulipe.x;
NewParticule.y = Target_Tulipe.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Tulipe);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FF0066", "FF3366", "FF6666", "FF0099", "FF6699", "FF3399"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 10;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = -10;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = [-10, 10];
NewParticule.gotoAndStop(104);
P = (P + 1);
};
ParticuleCadence_Tulipe = 0;
} else {
ParticuleCadence_Tulipe++;
};
}
function frame37(){
Moving = "Cible";
Nom = "Shaker";
(parent as MovieClip).CheckCible("Cible");
Target_Shaker = (parent as MovieClip).Cible;
Conteiner_Shaker = (parent as MovieClip).Conteneur;
ParticuleCadence_Shaker = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Shaker);
}
function frame32(){
Moving = "Statique";
Nom = "Ectoplasme";
(parent as MovieClip).CheckCible("Statique");
Target_Ectoplasme = (parent as MovieClip).Cible;
Conteiner_Ectoplasme = (parent as MovieClip).Conteneur;
ParticuleCadence_Ectoplasme = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Ectoplasme);
}
public function Interrupt_Heart_Crying(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Heart_Crying);
}
function frame34(){
Moving = "Statique";
Nom = "Optical_prisme";
(parent as MovieClip).CheckCible("Statique");
Target_Optical_prisme = (parent as MovieClip).Cible;
Conteiner_Optical_prisme = (parent as MovieClip).Conteneur;
ParticuleCadence_Optical_prisme = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Optical_prisme);
}
function frame36(){
Moving = "Cible";
Nom = "Circus";
(parent as MovieClip).CheckCible("Cible");
Target_Circus = (parent as MovieClip).Cible;
Conteiner_Circus = (parent as MovieClip).Conteneur;
ParticuleCadence_Circus = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Circus);
}
function frame38(){
Moving = "Cible";
Nom = "Sun_Burn";
(parent as MovieClip).CheckCible("Cible");
Target_Sun_Burn = (parent as MovieClip).Cible;
Conteiner_Sun_Burn = (parent as MovieClip).Conteneur;
ParticuleCadence_Sun_Burn = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Sun_Burn);
}
function frame39(){
Moving = "Cible";
Nom = "Chain";
(parent as MovieClip).CheckCible("Cible");
Target_Chain = (parent as MovieClip).Cible;
Conteiner_Chain = (parent as MovieClip).Conteneur;
ParticuleCadence_Chain = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chain);
}
function frame35(){
Moving = "Statique";
Nom = "Watching";
(parent as MovieClip).CheckCible("Statique");
Target_Watching = (parent as MovieClip).Cible;
Conteiner_Watching = (parent as MovieClip).Conteneur;
ParticuleCadence_Watching = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Watching);
}
public function LoopParticule_Blue(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VY = (_local2.VY + _local2.CVY);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Blup(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VY = (_local2.VY + _local2.CVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if ((((_local2.width <= _local2.DestT)) && ((_local2.height <= _local2.DestT)))){
_local2.SelfDestruction(_local2);
};
}
function frame40(){
Moving = "Cible";
Nom = "Aqua_Snake";
(parent as MovieClip).CheckCible("Cible");
Target_Aqua_Snake = (parent as MovieClip).Cible;
Conteiner_Aqua_Snake = (parent as MovieClip).Conteneur;
ParticuleCadence_Aqua_Snake = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Aqua_Snake);
}
function frame44(){
Moving = "Statique";
Nom = "Proteine";
(parent as MovieClip).CheckCible("Statique");
Target_Proteine = (parent as MovieClip).Cible;
Conteiner_Proteine = (parent as MovieClip).Conteneur;
ParticuleCadence_Proteine = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Proteine);
}
function frame45(){
Moving = "Cible";
Nom = "Chaos_Triangle";
(parent as MovieClip).CheckCible("Cible");
Target_Chaos_Triangle = (parent as MovieClip).Cible;
Conteiner_Chaos_Triangle = (parent as MovieClip).Conteneur;
ParticuleCadence_Chaos_Triangle = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Triangle);
}
function frame33(){
Moving = "Statique";
Nom = "Pulsar_prisme";
(parent as MovieClip).CheckCible("Statique");
Target_Pulsar_prisme = (parent as MovieClip).Cible;
Conteiner_Pulsar_prisme = (parent as MovieClip).Conteneur;
ParticuleCadence_Pulsar_prisme = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Pulsar_prisme);
}
function frame47(){
Moving = "Cible";
Nom = "Star_Blow";
(parent as MovieClip).CheckCible("Cible");
Target_Star_Blow = (parent as MovieClip).Cible;
Conteiner_Star_Blow = (parent as MovieClip).Conteneur;
ParticuleCadence_Star_Blow = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Star_Blow);
}
function frame41(){
Moving = "Statique";
Nom = "Trumpet";
(parent as MovieClip).CheckCible("Statique");
Target_Trumpet = (parent as MovieClip).Cible;
Conteiner_Trumpet = (parent as MovieClip).Conteneur;
ParticuleCadence_Trumpet = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Trumpet);
}
function frame42(){
Moving = "Cible";
Nom = "Cholesterol";
(parent as MovieClip).CheckCible("Cible");
Target_Cholesterol = (parent as MovieClip).Cible;
Conteiner_Cholesterol = (parent as MovieClip).Conteneur;
ParticuleCadence_Cholesterol = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Cholesterol);
}
function frame43(){
Moving = "Cible";
Nom = "Wave";
(parent as MovieClip).CheckCible("Cible");
Target_Wave = (parent as MovieClip).Cible;
Conteiner_Wave = (parent as MovieClip).Conteneur;
ParticuleCadence_Wave = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Wave);
}
function frame46(){
Moving = "Cible";
Nom = "Pixel_Lombrik";
(parent as MovieClip).CheckCible("Cible");
Target_Pixel_Lombrik = (parent as MovieClip).Cible;
Conteiner_Pixel_Lombrik = (parent as MovieClip).Conteneur;
ParticuleCadence_Pixel_Lombrik = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Pixel_Lombrik);
}
public function ParticuleGenerator_Optical_prisme(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Optical_prisme >= 0){
P = 0;
while (P <= ParticuleCadence_Optical_prisme) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Optical_prisme.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Optical_prisme);
NewParticule.x = Target_Optical_prisme.x;
NewParticule.y = Target_Optical_prisme.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Optical_prisme);
} catch(e) {
};
};
ModScale = 7;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = -10;
if (Conteiner_Optical_prisme.UpDownEvoR == null){
Conteiner_Optical_prisme.UpDownEvoR = -10;
Conteiner_Optical_prisme.UpDownEvoRValue = 0;
Conteiner_Optical_prisme.UpDownEvoRDirection = 1;
};
Conteiner_Optical_prisme.UpDownEvoRValue = (Conteiner_Optical_prisme.UpDownEvoRValue + Conteiner_Optical_prisme.UpDownEvoRDirection);
Conteiner_Optical_prisme.UpDownEvoRValue = (Conteiner_Optical_prisme.UpDownEvoRValue * 0.8);
Conteiner_Optical_prisme.UpDownEvoR = (Conteiner_Optical_prisme.UpDownEvoR + Conteiner_Optical_prisme.UpDownEvoRValue);
if ((((Conteiner_Optical_prisme.UpDownEvoR > 10)) && ((Conteiner_Optical_prisme.UpDownEvoRDirection == 1)))){
Conteiner_Optical_prisme.UpDownEvoRDirection = -1;
};
if ((((Conteiner_Optical_prisme.UpDownEvoR < -10)) && ((Conteiner_Optical_prisme.UpDownEvoRDirection == -1)))){
Conteiner_Optical_prisme.UpDownEvoRDirection = 1;
};
NewParticule.EvoR = Conteiner_Optical_prisme.UpDownEvoR;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(13);
Teinte = new ColorTransform();
DirectColors = ["9999FF", "99CCFF", "99FFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Optical_prisme = 0;
} else {
ParticuleCadence_Optical_prisme++;
};
}
function frame49(){
Moving = "Cible";
Nom = "Medical";
(parent as MovieClip).CheckCible("Cible");
Target_Medical = (parent as MovieClip).Cible;
Conteiner_Medical = (parent as MovieClip).Conteneur;
ParticuleCadence_Medical = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Medical);
}
public function Interrupt_Red_Target(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Red_Target);
}
public function LoopParticule_Hard_Death(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Space_Ship(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local3 = _local2.rotation;
_local2.rotation = 0;
if (_local2.UpDownSpeedChaosVH == null){
_local2.UpDownSpeedChaosVH = _local2.ChaosVH[0];
_local2.UpDownSpeedChaosVHValue = (Math.abs((_local2.ChaosVH[0] - _local2.ChaosVH[1])) / 10);
_local2.UpDownSpeedChaosVHDirection = 1;
};
_local2.UpDownSpeedChaosVH = (_local2.UpDownSpeedChaosVH + (_local2.UpDownSpeedChaosVHValue * _local2.UpDownSpeedChaosVHDirection));
if ((((_local2.UpDownSpeedChaosVH > _local2.ChaosVH[1])) && ((_local2.UpDownSpeedChaosVHDirection == 1)))){
_local2.UpDownSpeedChaosVHDirection = -1;
_local2.UpDownSpeedChaosVH = _local2.ChaosVH[1];
};
if ((((_local2.UpDownSpeedChaosVH < _local2.ChaosVH[0])) && ((_local2.UpDownSpeedChaosVHDirection == -1)))){
_local2.UpDownSpeedChaosVHDirection = 1;
_local2.UpDownSpeedChaosVH = _local2.ChaosVH[0];
};
_local2.SpeedChaosVH = (_local2.SpeedChaosVH + _local2.UpDownSpeedChaosVH);
_local2.height = (_local2.height + _local2.SpeedChaosVH);
_local2.rotation = _local3;
}
public function LoopParticule_Just_lol(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VY = (_local2.VY + _local2.CVY);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + (_local2.ChaosVS + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + (_local2.ChaosVR + ((Math.random() * 2) - 1)));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
function frame48(){
Moving = "Cible";
Nom = "Comet";
(parent as MovieClip).CheckCible("Cible");
Target_Comet = (parent as MovieClip).Cible;
Conteiner_Comet = (parent as MovieClip).Conteneur;
ParticuleCadence_Comet = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Comet);
}
function frame53(){
Moving = "Cible";
Nom = "Cross";
(parent as MovieClip).CheckCible("Cible");
Target_Cross = (parent as MovieClip).Cible;
Conteiner_Cross = (parent as MovieClip).Conteneur;
ParticuleCadence_Cross = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Cross);
}
function frame54(){
Moving = "Cible";
Nom = "Salvation";
(parent as MovieClip).CheckCible("Cible");
Target_Salvation = (parent as MovieClip).Cible;
Conteiner_Salvation = (parent as MovieClip).Conteneur;
ParticuleCadence_Salvation = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Salvation);
}
function frame55(){
Moving = "Cible";
Nom = "Redding";
(parent as MovieClip).CheckCible("Cible");
Target_Redding = (parent as MovieClip).Cible;
Conteiner_Redding = (parent as MovieClip).Conteneur;
ParticuleCadence_Redding = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Redding);
}
function frame56(){
Moving = "Cible";
Nom = "Astro";
(parent as MovieClip).CheckCible("Cible");
Target_Astro = (parent as MovieClip).Cible;
Conteiner_Astro = (parent as MovieClip).Conteneur;
ParticuleCadence_Astro = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Astro);
}
function frame50(){
Moving = "Statique";
Nom = "Golden_Diez";
(parent as MovieClip).CheckCible("Statique");
Target_Golden_Diez = (parent as MovieClip).Cible;
Conteiner_Golden_Diez = (parent as MovieClip).Conteneur;
ParticuleCadence_Golden_Diez = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Golden_Diez);
}
function frame52(){
Moving = "Statique";
Nom = "Oil_Arcanoid";
(parent as MovieClip).CheckCible("Statique");
Target_Oil_Arcanoid = (parent as MovieClip).Cible;
Conteiner_Oil_Arcanoid = (parent as MovieClip).Conteneur;
ParticuleCadence_Oil_Arcanoid = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Oil_Arcanoid);
}
function frame57(){
Moving = "Cible";
Nom = "Clic_Bubble";
(parent as MovieClip).CheckCible("Cible");
Target_Clic_Bubble = (parent as MovieClip).Cible;
Conteiner_Clic_Bubble = (parent as MovieClip).Conteneur;
ParticuleCadence_Clic_Bubble = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Clic_Bubble);
}
function frame58(){
Moving = "Cible";
Nom = "Black_Hole";
(parent as MovieClip).CheckCible("Cible");
Target_Black_Hole = (parent as MovieClip).Cible;
Conteiner_Black_Hole = (parent as MovieClip).Conteneur;
ParticuleCadence_Black_Hole = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Black_Hole);
}
function frame51(){
Moving = "Statique";
Nom = "Cartoon_Diez";
(parent as MovieClip).CheckCible("Statique");
Target_Cartoon_Diez = (parent as MovieClip).Cible;
Conteiner_Cartoon_Diez = (parent as MovieClip).Conteneur;
ParticuleCadence_Cartoon_Diez = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Cartoon_Diez);
}
public function ParticuleGenerator_A_part_of_me(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_A_part_of_me >= 0){
P = 0;
while (P <= ParticuleCadence_A_part_of_me) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_A_part_of_me.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_A_part_of_me);
NewParticule.x = Target_A_part_of_me.x;
NewParticule.y = Target_A_part_of_me.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_A_part_of_me);
} catch(e) {
};
};
ModScale = 1;
if (Conteiner_A_part_of_me.UpDownWidth == null){
Conteiner_A_part_of_me.UpDownWidth = 1.6;
Conteiner_A_part_of_me.UpDownWidthValue = 0;
Conteiner_A_part_of_me.UpDownWidthDirection = 1;
};
Conteiner_A_part_of_me.UpDownWidthValue = (Conteiner_A_part_of_me.UpDownWidthValue + Conteiner_A_part_of_me.UpDownWidthDirection);
Conteiner_A_part_of_me.UpDownWidthValue = (Conteiner_A_part_of_me.UpDownWidthValue * 0.8);
Conteiner_A_part_of_me.UpDownWidth = (Conteiner_A_part_of_me.UpDownWidth + Conteiner_A_part_of_me.UpDownWidthValue);
if ((((Conteiner_A_part_of_me.UpDownWidth > 5.1)) && ((Conteiner_A_part_of_me.UpDownWidthDirection == 1)))){
Conteiner_A_part_of_me.UpDownWidthDirection = -1;
};
if ((((Conteiner_A_part_of_me.UpDownWidth < 1.6)) && ((Conteiner_A_part_of_me.UpDownWidthDirection == -1)))){
Conteiner_A_part_of_me.UpDownWidthDirection = 1;
};
ModWidth = Conteiner_A_part_of_me.UpDownWidth;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = [-3.1, 2];
NewParticule.gotoAndStop(80);
NewParticule.leTexte = "Ockam";
Teinte = new ColorTransform();
DirectColors = ["FFFFFF", "99FFFF", "CCFFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_A_part_of_me = 0;
} else {
ParticuleCadence_A_part_of_me++;
};
}
function frame59(){
Moving = "Cible";
Nom = "Fire";
(parent as MovieClip).CheckCible("Cible");
Target_Fire = (parent as MovieClip).Cible;
Conteiner_Fire = (parent as MovieClip).Conteneur;
ParticuleCadence_Fire = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Fire);
}
public function LoopParticule_Ectoplasme(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
function frame61(){
Moving = "Cible";
Nom = "Magic";
(parent as MovieClip).CheckCible("Cible");
Target_Magic = (parent as MovieClip).Cible;
Conteiner_Magic = (parent as MovieClip).Conteneur;
ParticuleCadence_Magic = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Magic);
}
function frame62(){
Moving = "Cible";
Nom = "Fog_Moon";
(parent as MovieClip).CheckCible("Cible");
Target_Fog_Moon = (parent as MovieClip).Cible;
Conteiner_Fog_Moon = (parent as MovieClip).Conteneur;
ParticuleCadence_Fog_Moon = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Fog_Moon);
}
public function LoopParticule_Sewn(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VY = (_local2.VY + _local2.CVY);
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_A_part_of_me(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_A_part_of_me);
}
function frame68(){
Moving = "Cible";
Nom = "Afternoon_Star";
(parent as MovieClip).CheckCible("Cible");
Target_Afternoon_Star = (parent as MovieClip).Cible;
Conteiner_Afternoon_Star = (parent as MovieClip).Conteneur;
ParticuleCadence_Afternoon_Star = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Afternoon_Star);
}
function frame69(){
Moving = "Statique";
Nom = "Night_Star";
(parent as MovieClip).CheckCible("Statique");
Target_Night_Star = (parent as MovieClip).Cible;
Conteiner_Night_Star = (parent as MovieClip).Conteneur;
ParticuleCadence_Night_Star = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Night_Star);
}
function frame63(){
Moving = "Cible";
Nom = "Doppler_Effect";
(parent as MovieClip).CheckCible("Cible");
Target_Doppler_Effect = (parent as MovieClip).Cible;
Conteiner_Doppler_Effect = (parent as MovieClip).Conteneur;
ParticuleCadence_Doppler_Effect = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Doppler_Effect);
}
function frame67(){
Moving = "Cible";
Nom = "Morning_Star";
(parent as MovieClip).CheckCible("Cible");
Target_Morning_Star = (parent as MovieClip).Cible;
Conteiner_Morning_Star = (parent as MovieClip).Conteneur;
ParticuleCadence_Morning_Star = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Morning_Star);
}
function frame60(){
Moving = "Cible";
Nom = "Chaos_Hexa";
(parent as MovieClip).CheckCible("Cible");
Target_Chaos_Hexa = (parent as MovieClip).Cible;
Conteiner_Chaos_Hexa = (parent as MovieClip).Conteneur;
ParticuleCadence_Chaos_Hexa = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Hexa);
}
function frame64(){
Moving = "Cible";
Nom = "Buzz_Bble";
(parent as MovieClip).CheckCible("Cible");
Target_Buzz_Bble = (parent as MovieClip).Cible;
Conteiner_Buzz_Bble = (parent as MovieClip).Conteneur;
ParticuleCadence_Buzz_Bble = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Buzz_Bble);
}
function frame66(){
Moving = "Cible";
Nom = "Cristal";
(parent as MovieClip).CheckCible("Cible");
Target_Cristal = (parent as MovieClip).Cible;
Conteiner_Cristal = (parent as MovieClip).Conteneur;
ParticuleCadence_Cristal = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Cristal);
}
public function LoopParticule_Turtle(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Love(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Love >= 0){
P = 0;
while (P <= ParticuleCadence_Love) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Love.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Love);
NewParticule.x = Target_Love.x;
NewParticule.y = Target_Love.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Love);
} catch(e) {
};
};
ModScale = ((Math.random() * (6.9 - 2.8)) + 2.8);
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoR = ((Math.random() * (4.1 - -3.7)) + -3.7);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = [-2.3, 2];
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = -1.3;
NewParticule.gotoAndStop(81);
Teinte = new ColorTransform();
DirectColors = ["FF6666", "FF6699", "FF3300", "FF3366", "FF0099", "FF0066", "FF33FF", "FF0033", "FF0000", "FF66FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Love = 0;
} else {
ParticuleCadence_Love++;
};
}
function frame65(){
Moving = "Cible";
Nom = "Sound_Cast";
(parent as MovieClip).CheckCible("Cible");
Target_Sound_Cast = (parent as MovieClip).Cible;
Conteiner_Sound_Cast = (parent as MovieClip).Conteneur;
ParticuleCadence_Sound_Cast = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Sound_Cast);
}
function frame71(){
Moving = "Statique";
Nom = "Pale_Rotative";
(parent as MovieClip).CheckCible("Statique");
Target_Pale_Rotative = (parent as MovieClip).Cible;
Conteiner_Pale_Rotative = (parent as MovieClip).Conteneur;
ParticuleCadence_Pale_Rotative = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Pale_Rotative);
}
function frame72(){
Moving = "Statique";
Nom = "Knife_Rotative";
(parent as MovieClip).CheckCible("Statique");
Target_Knife_Rotative = (parent as MovieClip).Cible;
Conteiner_Knife_Rotative = (parent as MovieClip).Conteneur;
ParticuleCadence_Knife_Rotative = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Knife_Rotative);
}
function frame73(){
Moving = "Cible";
Nom = "Earth_Rotative";
(parent as MovieClip).CheckCible("Cible");
Target_Earth_Rotative = (parent as MovieClip).Cible;
Conteiner_Earth_Rotative = (parent as MovieClip).Conteneur;
ParticuleCadence_Earth_Rotative = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Earth_Rotative);
}
function frame75(){
Moving = "Cible";
Nom = "Chaos_Ring";
(parent as MovieClip).CheckCible("Cible");
Target_Chaos_Ring = (parent as MovieClip).Cible;
Conteiner_Chaos_Ring = (parent as MovieClip).Conteneur;
ParticuleCadence_Chaos_Ring = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Ring);
}
function frame79(){
Moving = "Cible";
Nom = "Paper";
(parent as MovieClip).CheckCible("Cible");
Target_Paper = (parent as MovieClip).Cible;
Conteiner_Paper = (parent as MovieClip).Conteneur;
ParticuleCadence_Paper = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Paper);
}
function frame74(){
Moving = "Statique";
Nom = "Rose_Rotative";
(parent as MovieClip).CheckCible("Statique");
Target_Rose_Rotative = (parent as MovieClip).Cible;
Conteiner_Rose_Rotative = (parent as MovieClip).Conteneur;
ParticuleCadence_Rose_Rotative = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Rose_Rotative);
}
function frame76(){
Moving = "Cible";
Nom = "Soul_Rotative";
(parent as MovieClip).CheckCible("Cible");
Target_Soul_Rotative = (parent as MovieClip).Cible;
Conteiner_Soul_Rotative = (parent as MovieClip).Conteneur;
ParticuleCadence_Soul_Rotative = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Soul_Rotative);
}
function frame78(){
Moving = "Cible";
Nom = "Comptability";
(parent as MovieClip).CheckCible("Cible");
Target_Comptability = (parent as MovieClip).Cible;
Conteiner_Comptability = (parent as MovieClip).Conteneur;
ParticuleCadence_Comptability = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Comptability);
}
function frame77(){
Moving = "Cible";
Nom = "Matrix";
(parent as MovieClip).CheckCible("Cible");
Target_Matrix = (parent as MovieClip).Cible;
Conteiner_Matrix = (parent as MovieClip).Conteneur;
ParticuleCadence_Matrix = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Matrix);
}
function frame70(){
Moving = "Statique";
Nom = "Rotative";
(parent as MovieClip).CheckCible("Statique");
Target_Rotative = (parent as MovieClip).Cible;
Conteiner_Rotative = (parent as MovieClip).Conteneur;
ParticuleCadence_Rotative = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Rotative);
}
function frame84(){
Moving = "Cible";
Nom = "Hypnotica";
(parent as MovieClip).CheckCible("Cible");
Target_Hypnotica = (parent as MovieClip).Cible;
Conteiner_Hypnotica = (parent as MovieClip).Conteneur;
ParticuleCadence_Hypnotica = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hypnotica);
}
function frame85(){
Moving = "Cible";
Nom = "Seizure_Spiral";
(parent as MovieClip).CheckCible("Cible");
Target_Seizure_Spiral = (parent as MovieClip).Cible;
Conteiner_Seizure_Spiral = (parent as MovieClip).Conteneur;
ParticuleCadence_Seizure_Spiral = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Seizure_Spiral);
}
function frame86(){
Moving = "Cible";
Nom = "Just_lol";
(parent as MovieClip).CheckCible("Cible");
Target_Just_lol = (parent as MovieClip).Cible;
Conteiner_Just_lol = (parent as MovieClip).Conteneur;
ParticuleCadence_Just_lol = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Just_lol);
}
function frame80(){
Moving = "Cible";
Nom = "Cloud";
(parent as MovieClip).CheckCible("Cible");
Target_Cloud = (parent as MovieClip).Cible;
Conteiner_Cloud = (parent as MovieClip).Conteneur;
ParticuleCadence_Cloud = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Cloud);
}
function frame83(){
Moving = "Statique";
Nom = "Sonic";
(parent as MovieClip).CheckCible("Statique");
Target_Sonic = (parent as MovieClip).Cible;
Conteiner_Sonic = (parent as MovieClip).Conteneur;
ParticuleCadence_Sonic = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Sonic);
}
function frame87(){
Moving = "Cible";
Nom = "A_part_of_me";
(parent as MovieClip).CheckCible("Cible");
Target_A_part_of_me = (parent as MovieClip).Cible;
Conteiner_A_part_of_me = (parent as MovieClip).Conteneur;
ParticuleCadence_A_part_of_me = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_A_part_of_me);
}
function frame81(){
Moving = "Cible";
Nom = "Smoke";
(parent as MovieClip).CheckCible("Cible");
Target_Smoke = (parent as MovieClip).Cible;
Conteiner_Smoke = (parent as MovieClip).Conteneur;
ParticuleCadence_Smoke = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Smoke);
}
function frame88(){
Moving = "Cible";
Nom = "Smile";
(parent as MovieClip).CheckCible("Cible");
Target_Smile = (parent as MovieClip).Cible;
Conteiner_Smile = (parent as MovieClip).Conteneur;
ParticuleCadence_Smile = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Smile);
}
public function LoopParticule_Snake(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VY = (_local2.VY + _local2.CVY);
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
function frame82(){
Moving = "Cible";
Nom = "Triforce";
(parent as MovieClip).CheckCible("Cible");
Target_Triforce = (parent as MovieClip).Cible;
Conteiner_Triforce = (parent as MovieClip).Conteneur;
ParticuleCadence_Triforce = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Triforce);
}
public function LoopParticule_Fog_Moon(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VY = (_local2.VY + _local2.CVY);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
}
function frame91(){
Moving = "Cible";
Nom = "Heart_Crying";
(parent as MovieClip).CheckCible("Cible");
Target_Heart_Crying = (parent as MovieClip).Cible;
Conteiner_Heart_Crying = (parent as MovieClip).Conteneur;
ParticuleCadence_Heart_Crying = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Heart_Crying);
}
function frame89(){
Moving = "Cible";
Nom = "Love";
(parent as MovieClip).CheckCible("Cible");
Target_Love = (parent as MovieClip).Cible;
Conteiner_Love = (parent as MovieClip).Conteneur;
ParticuleCadence_Love = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Love);
}
function frame93(){
Moving = "Cible";
Nom = "IceCream";
(parent as MovieClip).CheckCible("Cible");
Target_IceCream = (parent as MovieClip).Cible;
Conteiner_IceCream = (parent as MovieClip).Conteneur;
ParticuleCadence_IceCream = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_IceCream);
}
function frame95(){
Moving = "Cible";
Nom = "IcePulsar";
(parent as MovieClip).CheckCible("Cible");
Target_IcePulsar = (parent as MovieClip).Cible;
Conteiner_IcePulsar = (parent as MovieClip).Conteneur;
ParticuleCadence_IcePulsar = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_IcePulsar);
}
function frame92(){
Moving = "Cible";
Nom = "Ghost";
(parent as MovieClip).CheckCible("Cible");
Target_Ghost = (parent as MovieClip).Cible;
Conteiner_Ghost = (parent as MovieClip).Conteneur;
ParticuleCadence_Ghost = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Ghost);
}
public function ParticuleGenerator_Hard_Ground(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Hard_Ground >= 0){
P = 0;
while (P <= ParticuleCadence_Hard_Ground) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Hard_Ground.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Ground);
NewParticule.x = Target_Hard_Ground.x;
NewParticule.y = Target_Hard_Ground.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Ground);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["663300", "660000", "666600", "669900", "66FF00", "66CC00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = ((Math.random() * (10 - 0)) + 0);
ModWidth = ((Math.random() * (10 - 0)) + 0);
ModHeight = ((Math.random() * (10 - 0)) + 0);
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (360 - 0)) + 0);
NewParticule.alpha = (((Math.random() * (100 - 0)) + 0) / 100);
NewParticule.EvoS = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoW = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoH = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoR = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoA = ((Math.random() * (-1.4 - -10)) + -10);
NewParticule.DestA = 0;
NewParticule.gotoAndStop(108);
P = (P + 1);
};
ParticuleCadence_Hard_Ground = 0;
} else {
ParticuleCadence_Hard_Ground++;
};
}
function frame96(){
Moving = "Cible";
Nom = "FirePulsar";
(parent as MovieClip).CheckCible("Cible");
Target_FirePulsar = (parent as MovieClip).Cible;
Conteiner_FirePulsar = (parent as MovieClip).Conteneur;
ParticuleCadence_FirePulsar = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_FirePulsar);
}
public function ParticuleGenerator_Snake(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Snake >= 0){
P = 0;
while (P <= ParticuleCadence_Snake) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Snake.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Snake);
NewParticule.x = Target_Snake.x;
NewParticule.y = Target_Snake.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Snake);
} catch(e) {
};
};
ModScale = 0.4;
ModWidth = 1;
ModHeight = 1.9;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = 263.8;
NewParticule.alpha = (100 / 100);
NewParticule.DX = 7.4;
NewParticule.CVY = -0.4;
NewParticule.EvoR = -3.1;
NewParticule.EvoA = -3;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(3);
Teinte = new ColorTransform();
DirectColors = ["66FF00", "009900", "33CC00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Snake = 0;
} else {
ParticuleCadence_Snake++;
};
}
function frame99(){
Moving = "Cible";
Nom = "AirPulsar";
(parent as MovieClip).CheckCible("Cible");
Target_AirPulsar = (parent as MovieClip).Cible;
Conteiner_AirPulsar = (parent as MovieClip).Conteneur;
ParticuleCadence_AirPulsar = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_AirPulsar);
}
function frame94(){
Moving = "Cible";
Nom = "Buzz";
(parent as MovieClip).CheckCible("Cible");
Target_Buzz = (parent as MovieClip).Cible;
Conteiner_Buzz = (parent as MovieClip).Conteneur;
ParticuleCadence_Buzz = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Buzz);
}
public function LoopParticule_Polygon_Worm(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
if (_local2.UpDowny == null){
_local2.UpDowny = _local2.ChaosDY[0];
_local2.UpDownyValue = (Math.abs((_local2.ChaosDY[0] - _local2.ChaosDY[1])) / 10);
_local2.UpDownyDirection = 1;
};
_local2.UpDowny = (_local2.UpDowny + (_local2.UpDownyValue * _local2.UpDownyDirection));
if ((((_local2.UpDowny > _local2.ChaosDY[1])) && ((_local2.UpDownyDirection == 1)))){
_local2.UpDownyDirection = -1;
_local2.UpDowny = _local2.ChaosDY[1];
};
if ((((_local2.UpDowny < _local2.ChaosDY[0])) && ((_local2.UpDownyDirection == -1)))){
_local2.UpDownyDirection = 1;
_local2.UpDowny = _local2.ChaosDY[0];
};
_local2.y = (_local2.y + _local2.UpDowny);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + (_local2.ChaosVS + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + (_local2.ChaosVR + ((Math.random() * 2) - 1)));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
function frame98(){
Moving = "Cible";
Nom = "StormPulsar";
(parent as MovieClip).CheckCible("Cible");
Target_StormPulsar = (parent as MovieClip).Cible;
Conteiner_StormPulsar = (parent as MovieClip).Conteneur;
ParticuleCadence_StormPulsar = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_StormPulsar);
}
function frame97(){
Moving = "Cible";
Nom = "EarthPulsar";
(parent as MovieClip).CheckCible("Cible");
Target_EarthPulsar = (parent as MovieClip).Cible;
Conteiner_EarthPulsar = (parent as MovieClip).Conteneur;
ParticuleCadence_EarthPulsar = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_EarthPulsar);
}
public function LoopParticule_Chaos_Text(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + (_local2.ChaosVS + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + (_local2.ChaosVR + ((Math.random() * 2) - 1)));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
function frame90(){
Moving = "Cible";
Nom = "Chaos_Plag";
(parent as MovieClip).CheckCible("Cible");
Target_Chaos_Plag = (parent as MovieClip).Cible;
Conteiner_Chaos_Plag = (parent as MovieClip).Conteneur;
ParticuleCadence_Chaos_Plag = 0;
addEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Plag);
}
public function Interrupt_Golden_Diez(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Golden_Diez);
}
public function ParticuleGenerator_Rainbow_Box(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Rainbow_Box >= 0){
P = 0;
while (P <= ParticuleCadence_Rainbow_Box) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Rainbow_Box.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Rainbow_Box);
NewParticule.x = Target_Rainbow_Box.x;
NewParticule.y = Target_Rainbow_Box.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Rainbow_Box);
} catch(e) {
};
};
ModScale = 10;
ModWidth = 10;
ModHeight = 10;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = -10;
NewParticule.EvoA = -1.8;
NewParticule.DestP = 50;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(2);
Teinte = new ColorTransform();
DirectColors = ["FFFFFF", "FF00FF", "FFFF00", "0000FF", "00FF00", "FF0000", "660099", "33FFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Rainbow_Box = 0;
} else {
ParticuleCadence_Rainbow_Box++;
};
}
public function Interrupt_Aqua_Snake(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Aqua_Snake);
}
public function LoopParticule_Smoke(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VY = (_local2.VY + _local2.CVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
}
public function Interrupt_Blowing_Washer(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Blowing_Washer);
}
public function ParticuleGenerator_Smoke(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Smoke >= 0){
P = 0;
while (P <= ParticuleCadence_Smoke) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Smoke.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Smoke);
NewParticule.x = Target_Smoke.x;
NewParticule.y = Target_Smoke.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Smoke);
} catch(e) {
};
};
ModScale = 3.7;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (0 - 360)) + 360);
NewParticule.alpha = (100 / 100);
NewParticule.CVY = -0.7;
NewParticule.EvoS = 1.2;
NewParticule.EvoA = -3.6;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.gotoAndStop(77);
Teinte = new ColorTransform();
DirectColors = ["663300"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Smoke = 0;
} else {
ParticuleCadence_Smoke++;
};
}
public function Interrupt_Warning(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Warning);
}
public function Interrupt_Nenuphar(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Nenuphar);
}
public function LoopParticule_Hand_Chain(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.y = (_local2.y + _local2.DY);
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VX = (_local2.VX + _local2.CVX);
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.ChaosInstantScale = (_local2.ChaosDS + ((Math.random() * 2) - 1));
_local2.width = (_local2.width + _local2.ChaosInstantScale);
_local2.height = (_local2.height + _local2.ChaosInstantScale);
_local2.rotation = _local3;
_local2.SpeedChaosVA = (_local2.SpeedChaosVA + (_local2.ChaosVA + ((Math.random() * 2) - 1)));
_local2.alpha = (_local2.alpha + (_local2.SpeedChaosVA / 100));
}
public function LoopParticule_Blowing_Washer(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.y = (_local2.y + _local2.DY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_No_Way(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_No_Way >= 0){
P = 0;
while (P <= ParticuleCadence_No_Way) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_No_Way.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_No_Way);
NewParticule.x = Target_No_Way.x;
NewParticule.y = Target_No_Way.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_No_Way);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FF0000", "CC0000", "FF3300", "990000", "CC3300"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 4.7;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 5.9;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(105);
P = (P + 1);
};
ParticuleCadence_No_Way = 0;
} else {
ParticuleCadence_No_Way++;
};
}
public function LoopParticule_Oil_Arcanoid(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Chain(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chain);
}
public function LoopParticule_Magic(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.width <= _local2.DestT){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Pink(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
if (_local2.width <= _local2.DestT){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Magic(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Magic >= 0){
P = 0;
while (P <= ParticuleCadence_Magic) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Magic.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Magic);
NewParticule.x = Target_Magic.x;
NewParticule.y = Target_Magic.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Magic);
} catch(e) {
};
};
ModScale = 2.2;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.VX = ((Math.random() * (2.1 - -3.1)) + -3.1);
NewParticule.VY = ((Math.random() * (1.6 - -3.1)) + -3.1);
NewParticule.EvoS = -0.5;
NewParticule.EvoA = -0.1;
NewParticule.DestT = 1;
NewParticule.gotoAndStop(41);
Teinte = new ColorTransform();
DirectColors = ["6600FF", "330066"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Magic = 0;
} else {
ParticuleCadence_Magic++;
};
}
public function LoopParticule_Snow(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
}
public function LoopParticule_Chaos_Glow(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + (_local2.ChaosVS + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + (_local2.ChaosVR + ((Math.random() * 2) - 1)));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
public function Interrupt_Night_Star(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Night_Star);
}
public function ParticuleGenerator_Hard_Mine(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Hard_Mine >= 0){
P = 0;
while (P <= ParticuleCadence_Hard_Mine) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Hard_Mine.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Mine);
NewParticule.x = Target_Hard_Mine.x;
NewParticule.y = Target_Hard_Mine.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Mine);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["660000", "660033", "660066", "660099", "6600FF", "6600CC"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = ((Math.random() * (10 - 0)) + 0);
ModWidth = ((Math.random() * (10 - 0)) + 0);
ModHeight = ((Math.random() * (10 - 0)) + 0);
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (360 - 0)) + 0);
NewParticule.alpha = (((Math.random() * (100 - 0)) + 0) / 100);
NewParticule.EvoS = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoW = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoH = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoR = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoA = ((Math.random() * (-1.4 - -10)) + -10);
NewParticule.DestA = 0;
NewParticule.gotoAndStop(92);
P = (P + 1);
};
ParticuleCadence_Hard_Mine = 0;
} else {
ParticuleCadence_Hard_Mine++;
};
}
public function LoopParticule_Hard_Rad(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Doppler_Effect(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Doppler_Effect >= 0){
P = 0;
while (P <= ParticuleCadence_Doppler_Effect) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Doppler_Effect.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Doppler_Effect);
NewParticule.x = Target_Doppler_Effect.x;
NewParticule.y = Target_Doppler_Effect.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Doppler_Effect);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVW = 0;
NewParticule.ChaosVW = [-3.4, -0.6];
NewParticule.SpeedChaosVH = 0;
NewParticule.ChaosVH = [-10, 10];
NewParticule.gotoAndStop(48);
P = (P + 1);
};
ParticuleCadence_Doppler_Effect = 0;
} else {
ParticuleCadence_Doppler_Effect++;
};
}
public function ParticuleGenerator_Chaos_Hexa(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Chaos_Hexa >= 0){
P = 0;
while (P <= ParticuleCadence_Chaos_Hexa) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Chaos_Hexa.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Hexa);
NewParticule.x = Target_Chaos_Hexa.x;
NewParticule.y = Target_Chaos_Hexa.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Hexa);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FF9900"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = 0.1;
NewParticule.DestP = ((Math.random() * (0 - 39.5)) + 39.5);
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = 0;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = 0;
NewParticule.gotoAndStop(5);
P = (P + 1);
};
ParticuleCadence_Chaos_Hexa = 0;
} else {
ParticuleCadence_Chaos_Hexa++;
};
}
public function ParticuleGenerator_Nenuphar(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Nenuphar >= 0){
P = 0;
while (P <= ParticuleCadence_Nenuphar) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Nenuphar.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Nenuphar);
NewParticule.x = Target_Nenuphar.x;
NewParticule.y = Target_Nenuphar.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Nenuphar);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FF66CC", "FF99CC", "FFCCCC", "33CC00", "339900"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 4.3;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = 0;
NewParticule.gotoAndStop(110);
P = (P + 1);
};
ParticuleCadence_Nenuphar = 0;
} else {
ParticuleCadence_Nenuphar++;
};
}
public function ParticuleGenerator_Column_Crisal(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Column_Crisal >= 0){
P = 0;
while (P <= ParticuleCadence_Column_Crisal) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Column_Crisal.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Column_Crisal);
NewParticule.x = Target_Column_Crisal.x;
NewParticule.y = Target_Column_Crisal.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Column_Crisal);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["0099CC", "0033CC"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 2.9;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.DX = 12.3;
NewParticule.DY = 23.4;
NewParticule.EvoR = 10;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.ChaosDX = [-10, 4.3];
NewParticule.ChaosDY = [-7.4, 3.3];
NewParticule.gotoAndStop(99);
P = (P + 1);
};
ParticuleCadence_Column_Crisal = 0;
} else {
ParticuleCadence_Column_Crisal++;
};
}
public function Interrupt_Tunnel(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Tunnel);
}
public function LoopParticule_Wall(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Matrix(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Matrix >= 0){
P = 0;
while (P <= ParticuleCadence_Matrix) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Matrix.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Matrix);
NewParticule.x = Target_Matrix.x;
NewParticule.y = Target_Matrix.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Matrix);
} catch(e) {
};
};
NewParticule.x = (NewParticule.x + ((Math.random() * (200 - -200)) + -200));
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.VY = 14.4;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(72);
Teinte = new ColorTransform();
DirectColors = ["006600", "009900", "00CC00", "FFFFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Matrix = 0;
} else {
ParticuleCadence_Matrix++;
};
}
public function ParticuleGenerator_Knife_Rotative(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Knife_Rotative >= 0){
P = 0;
while (P <= ParticuleCadence_Knife_Rotative) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Knife_Rotative.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Knife_Rotative);
NewParticule.x = Target_Knife_Rotative.x;
NewParticule.y = Target_Knife_Rotative.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Knife_Rotative);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_Knife_Rotative.UpDownRotation == null){
Conteiner_Knife_Rotative.UpDownRotation = 0;
Conteiner_Knife_Rotative.UpDownRotationValue = 18;
Conteiner_Knife_Rotative.UpDownRotationDirection = 1;
};
Conteiner_Knife_Rotative.UpDownRotation = (Conteiner_Knife_Rotative.UpDownRotation + (Conteiner_Knife_Rotative.UpDownRotationValue * Conteiner_Knife_Rotative.UpDownRotationDirection));
if ((((Conteiner_Knife_Rotative.UpDownRotation > 360)) && ((Conteiner_Knife_Rotative.UpDownRotationDirection == 1)))){
Conteiner_Knife_Rotative.UpDownRotationDirection = -1;
Conteiner_Knife_Rotative.UpDownRotation = 360;
};
if ((((Conteiner_Knife_Rotative.UpDownRotation < 0)) && ((Conteiner_Knife_Rotative.UpDownRotationDirection == -1)))){
Conteiner_Knife_Rotative.UpDownRotationDirection = 1;
Conteiner_Knife_Rotative.UpDownRotation = 0;
};
NewParticule.rotation = Conteiner_Knife_Rotative.UpDownRotation;
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 10;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(66);
Teinte = new ColorTransform();
DirectColors = ["990000"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Knife_Rotative = 0;
} else {
ParticuleCadence_Knife_Rotative++;
};
}
public function Interrupt_Tank_Bones(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Tank_Bones);
}
public function Interrupt_Brush(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Brush);
}
public function ParticuleGenerator_Hesitance(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Hesitance >= 0){
P = 0;
while (P <= ParticuleCadence_Hesitance) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Hesitance.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Hesitance);
NewParticule.x = Target_Hesitance.x;
NewParticule.y = Target_Hesitance.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Hesitance);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FF6600", "66FF00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 3.2;
if (Conteiner_Hesitance.UpDownWidthHesitance == null){
Conteiner_Hesitance.UpDownWidthHesitance = 0;
Conteiner_Hesitance.UpDownWidthHesitanceValue = 0.5;
Conteiner_Hesitance.UpDownWidthHesitanceDirection = 1;
};
Conteiner_Hesitance.UpDownWidthHesitance = (Conteiner_Hesitance.UpDownWidthHesitance + (Conteiner_Hesitance.UpDownWidthHesitanceValue * Conteiner_Hesitance.UpDownWidthHesitanceDirection));
if ((((Conteiner_Hesitance.UpDownWidthHesitance > 10)) && ((Conteiner_Hesitance.UpDownWidthHesitanceDirection == 1)))){
Conteiner_Hesitance.UpDownWidthHesitanceDirection = -1;
Conteiner_Hesitance.UpDownWidthHesitance = 10;
};
if ((((Conteiner_Hesitance.UpDownWidthHesitance < 0)) && ((Conteiner_Hesitance.UpDownWidthHesitanceDirection == -1)))){
Conteiner_Hesitance.UpDownWidthHesitanceDirection = 1;
Conteiner_Hesitance.UpDownWidthHesitance = 0;
};
ModWidth = Conteiner_Hesitance.UpDownWidthHesitance;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_Hesitance.UpDownRotationHesitance == null){
Conteiner_Hesitance.UpDownRotationHesitance = 0;
Conteiner_Hesitance.UpDownRotationHesitanceValue = 2.585;
Conteiner_Hesitance.UpDownRotationHesitanceDirection = 1;
};
Conteiner_Hesitance.UpDownRotationHesitance = (Conteiner_Hesitance.UpDownRotationHesitance + (Conteiner_Hesitance.UpDownRotationHesitanceValue * Conteiner_Hesitance.UpDownRotationHesitanceDirection));
if ((((Conteiner_Hesitance.UpDownRotationHesitance > 51.7)) && ((Conteiner_Hesitance.UpDownRotationHesitanceDirection == 1)))){
Conteiner_Hesitance.UpDownRotationHesitanceDirection = -1;
Conteiner_Hesitance.UpDownRotationHesitance = 51.7;
};
if ((((Conteiner_Hesitance.UpDownRotationHesitance < 0)) && ((Conteiner_Hesitance.UpDownRotationHesitanceDirection == -1)))){
Conteiner_Hesitance.UpDownRotationHesitanceDirection = 1;
Conteiner_Hesitance.UpDownRotationHesitance = 0;
};
NewParticule.rotation = Conteiner_Hesitance.UpDownRotationHesitance;
NewParticule.alpha = (100 / 100);
NewParticule.EvoR = -3;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(103);
P = (P + 1);
};
ParticuleCadence_Hesitance = 0;
} else {
ParticuleCadence_Hesitance++;
};
}
public function ParticuleGenerator_Spinal_Worm(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Spinal_Worm >= 0){
P = 0;
while (P <= ParticuleCadence_Spinal_Worm) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Spinal_Worm.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Spinal_Worm);
NewParticule.x = Target_Spinal_Worm.x;
NewParticule.y = Target_Spinal_Worm.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Spinal_Worm);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["339900", "33CC00", "33FF00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 1.7;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.DX = -17.4;
NewParticule.EvoH = -1.3;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVW = 0;
NewParticule.ChaosVW = 0;
NewParticule.gotoAndStop(101);
P = (P + 1);
};
ParticuleCadence_Spinal_Worm = 0;
} else {
ParticuleCadence_Spinal_Worm++;
};
}
public function LoopParticule_Heart_Crying(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VY = (_local2.VY + _local2.CVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Rainbow_Hexa(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Rainbow_Hexa >= 0){
P = 0;
while (P <= ParticuleCadence_Rainbow_Hexa) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Rainbow_Hexa.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Rainbow_Hexa);
NewParticule.x = Target_Rainbow_Hexa.x;
NewParticule.y = Target_Rainbow_Hexa.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Rainbow_Hexa);
} catch(e) {
};
};
ModScale = 10;
ModWidth = 10;
ModHeight = 10;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = -10;
NewParticule.EvoH = 10;
NewParticule.EvoA = -1.8;
NewParticule.DestP = 50;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(5);
Teinte = new ColorTransform();
DirectColors = ["FFFFFF", "FF00FF", "FFFF00", "0000FF", "00FF00", "FF0000", "660099", "33FFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Rainbow_Hexa = 0;
} else {
ParticuleCadence_Rainbow_Hexa++;
};
}
public function LoopParticule_Pace(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Rainbow_Hexa(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Rainbow_Hexa);
}
public function ParticuleGenerator_Deep_Quadri(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Deep_Quadri >= 0){
P = 0;
while (P <= ParticuleCadence_Deep_Quadri) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Deep_Quadri.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Deep_Quadri);
NewParticule.x = Target_Deep_Quadri.x;
NewParticule.y = Target_Deep_Quadri.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Deep_Quadri);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 10;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoW = 10;
NewParticule.EvoH = -10;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(2);
Teinte = new ColorTransform();
DirectColors = ["000099"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Deep_Quadri = 0;
} else {
ParticuleCadence_Deep_Quadri++;
};
}
public function LoopParticule_Pixel_Point_2(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.x = (_local2.x + new Array(_local2.ChaosDX[1], _local2.ChaosDX[0])[Math.round((Math.random() * 1))]);
_local2.y = (_local2.y + new Array(_local2.ChaosDY[1], _local2.ChaosDY[0])[Math.round((Math.random() * 1))]);
}
public function LoopParticule_Pixel_Point_3(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.x = (_local2.x + new Array(_local2.ChaosDX[1], _local2.ChaosDX[0])[Math.round((Math.random() * 1))]);
_local2.y = (_local2.y + new Array(_local2.ChaosDY[1], _local2.ChaosDY[0])[Math.round((Math.random() * 1))]);
}
public function ParticuleGenerator_Rose_Rotative(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Rose_Rotative >= 0){
P = 0;
while (P <= ParticuleCadence_Rose_Rotative) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Rose_Rotative.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Rose_Rotative);
NewParticule.x = Target_Rose_Rotative.x;
NewParticule.y = Target_Rose_Rotative.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Rose_Rotative);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_Rose_Rotative.UpDownRotation == null){
Conteiner_Rose_Rotative.UpDownRotation = 0;
Conteiner_Rose_Rotative.UpDownRotationValue = 18;
Conteiner_Rose_Rotative.UpDownRotationDirection = 1;
};
Conteiner_Rose_Rotative.UpDownRotation = (Conteiner_Rose_Rotative.UpDownRotation + (Conteiner_Rose_Rotative.UpDownRotationValue * Conteiner_Rose_Rotative.UpDownRotationDirection));
if ((((Conteiner_Rose_Rotative.UpDownRotation > 360)) && ((Conteiner_Rose_Rotative.UpDownRotationDirection == 1)))){
Conteiner_Rose_Rotative.UpDownRotationDirection = -1;
Conteiner_Rose_Rotative.UpDownRotation = 360;
};
if ((((Conteiner_Rose_Rotative.UpDownRotation < 0)) && ((Conteiner_Rose_Rotative.UpDownRotationDirection == -1)))){
Conteiner_Rose_Rotative.UpDownRotationDirection = 1;
Conteiner_Rose_Rotative.UpDownRotation = 0;
};
NewParticule.rotation = Conteiner_Rose_Rotative.UpDownRotation;
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 10;
NewParticule.EvoW = 10;
NewParticule.EvoH = -8.4;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(68);
Teinte = new ColorTransform();
DirectColors = ["FF66FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Rose_Rotative = 0;
} else {
ParticuleCadence_Rose_Rotative++;
};
}
public function Interrupt_Star_Blow(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Star_Blow);
}
public function ParticuleGenerator_Pixel_Point_2b(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Pixel_Point_2b >= 0){
P = 0;
while (P <= ParticuleCadence_Pixel_Point_2b) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Pixel_Point_2b.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Pixel_Point_2b);
NewParticule.x = Target_Pixel_Point_2b.x;
NewParticule.y = Target_Pixel_Point_2b.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Pixel_Point_2b);
} catch(e) {
};
};
ModScale = 0;
ModWidth = 0.4;
ModHeight = 0.4;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -0.3;
NewParticule.DestP = 50;
NewParticule.DestA = 0;
NewParticule.ChaosDX = [-4.4, 4.5];
NewParticule.ChaosDY = [-4.4, 4.5];
NewParticule.gotoAndStop(2);
Teinte = new ColorTransform();
DirectColors = ["339900", "339933", "33CC33", "33CC00", "33CC66", "339966"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Pixel_Point_2b = 7;
} else {
ParticuleCadence_Pixel_Point_2b++;
};
}
public function LoopParticule_Ghost(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_A_part_of_me(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
if (_local2.UpDownSpeedChaosVR == null){
_local2.UpDownSpeedChaosVR = _local2.ChaosVR[0];
_local2.UpDownSpeedChaosVRValue = 0;
_local2.UpDownSpeedChaosVRDirection = 1;
};
_local2.UpDownSpeedChaosVRValue = (_local2.UpDownSpeedChaosVRValue + _local2.UpDownSpeedChaosVRDirection);
_local2.UpDownSpeedChaosVRValue = (_local2.UpDownSpeedChaosVRValue * 0.8);
_local2.UpDownSpeedChaosVR = (_local2.UpDownSpeedChaosVR + _local2.UpDownSpeedChaosVRValue);
if ((((_local2.UpDownSpeedChaosVR > _local2.ChaosVR[1])) && ((_local2.UpDownSpeedChaosVRDirection == 1)))){
_local2.UpDownSpeedChaosVRDirection = -1;
_local2.UpDownSpeedChaosVR = _local2.ChaosVR[1];
};
if ((((_local2.UpDownSpeedChaosVR < _local2.ChaosVR[0])) && ((_local2.UpDownSpeedChaosVRDirection == -1)))){
_local2.UpDownSpeedChaosVRDirection = 1;
_local2.UpDownSpeedChaosVR = _local2.ChaosVR[0];
};
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + _local2.UpDownSpeedChaosVR);
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
public function ParticuleGenerator_Morning_Star(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Morning_Star >= 0){
P = 0;
while (P <= ParticuleCadence_Morning_Star) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Morning_Star.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Morning_Star);
NewParticule.x = Target_Morning_Star.x;
NewParticule.y = Target_Morning_Star.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Morning_Star);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 10;
if (Conteiner_Morning_Star.UpDownEvoR == null){
Conteiner_Morning_Star.UpDownEvoR = -0.3;
Conteiner_Morning_Star.UpDownEvoRValue = 0;
Conteiner_Morning_Star.UpDownEvoRDirection = 1;
};
Conteiner_Morning_Star.UpDownEvoRValue = (Conteiner_Morning_Star.UpDownEvoRValue + Conteiner_Morning_Star.UpDownEvoRDirection);
Conteiner_Morning_Star.UpDownEvoRValue = (Conteiner_Morning_Star.UpDownEvoRValue * 0.8);
Conteiner_Morning_Star.UpDownEvoR = (Conteiner_Morning_Star.UpDownEvoR + Conteiner_Morning_Star.UpDownEvoRValue);
if ((((Conteiner_Morning_Star.UpDownEvoR > 0.8)) && ((Conteiner_Morning_Star.UpDownEvoRDirection == 1)))){
Conteiner_Morning_Star.UpDownEvoRDirection = -1;
};
if ((((Conteiner_Morning_Star.UpDownEvoR < -0.3)) && ((Conteiner_Morning_Star.UpDownEvoRDirection == -1)))){
Conteiner_Morning_Star.UpDownEvoRDirection = 1;
};
NewParticule.EvoR = Conteiner_Morning_Star.UpDownEvoR;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(56);
Teinte = new ColorTransform();
DirectColors = ["99FFFF", "FFFFFF", "FFFF99"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Morning_Star = 0;
} else {
ParticuleCadence_Morning_Star++;
};
}
public function LoopParticule_Star_Blow(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VX = (_local2.VX + _local2.CVX);
_local2.VY = (_local2.VY + _local2.CVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Ghost(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Ghost >= 0){
P = 0;
while (P <= ParticuleCadence_Ghost) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Ghost.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Ghost);
NewParticule.x = Target_Ghost.x;
NewParticule.y = Target_Ghost.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Ghost);
} catch(e) {
};
};
if (Conteiner_Ghost.UpDownX == null){
Conteiner_Ghost.UpDownX = -22.9;
Conteiner_Ghost.UpDownXValue = 0;
Conteiner_Ghost.UpDownXDirection = 1;
};
Conteiner_Ghost.UpDownXValue = (Conteiner_Ghost.UpDownXValue + Conteiner_Ghost.UpDownXDirection);
Conteiner_Ghost.UpDownXValue = (Conteiner_Ghost.UpDownXValue * 0.8);
Conteiner_Ghost.UpDownX = (Conteiner_Ghost.UpDownX + Conteiner_Ghost.UpDownXValue);
if ((((Conteiner_Ghost.UpDownX > 29.8)) && ((Conteiner_Ghost.UpDownXDirection == 1)))){
Conteiner_Ghost.UpDownXDirection = -1;
};
if ((((Conteiner_Ghost.UpDownX < -22.9)) && ((Conteiner_Ghost.UpDownXDirection == -1)))){
Conteiner_Ghost.UpDownXDirection = 1;
};
NewParticule.x = (NewParticule.x + Conteiner_Ghost.UpDownX);
ModScale = 10;
if (Conteiner_Ghost.UpDownWidth == null){
Conteiner_Ghost.UpDownWidth = 0;
Conteiner_Ghost.UpDownWidthValue = 0;
Conteiner_Ghost.UpDownWidthDirection = 1;
};
Conteiner_Ghost.UpDownWidthValue = (Conteiner_Ghost.UpDownWidthValue + Conteiner_Ghost.UpDownWidthDirection);
Conteiner_Ghost.UpDownWidthValue = (Conteiner_Ghost.UpDownWidthValue * 0.8);
Conteiner_Ghost.UpDownWidth = (Conteiner_Ghost.UpDownWidth + Conteiner_Ghost.UpDownWidthValue);
if ((((Conteiner_Ghost.UpDownWidth > 2.8)) && ((Conteiner_Ghost.UpDownWidthDirection == 1)))){
Conteiner_Ghost.UpDownWidthDirection = -1;
};
if ((((Conteiner_Ghost.UpDownWidth < 0)) && ((Conteiner_Ghost.UpDownWidthDirection == -1)))){
Conteiner_Ghost.UpDownWidthDirection = 1;
};
ModWidth = Conteiner_Ghost.UpDownWidth;
if (Conteiner_Ghost.UpDownHeight == null){
Conteiner_Ghost.UpDownHeight = 0;
Conteiner_Ghost.UpDownHeightValue = 0;
Conteiner_Ghost.UpDownHeightDirection = 1;
};
Conteiner_Ghost.UpDownHeightValue = (Conteiner_Ghost.UpDownHeightValue + Conteiner_Ghost.UpDownHeightDirection);
Conteiner_Ghost.UpDownHeightValue = (Conteiner_Ghost.UpDownHeightValue * 0.8);
Conteiner_Ghost.UpDownHeight = (Conteiner_Ghost.UpDownHeight + Conteiner_Ghost.UpDownHeightValue);
if ((((Conteiner_Ghost.UpDownHeight > 10)) && ((Conteiner_Ghost.UpDownHeightDirection == 1)))){
Conteiner_Ghost.UpDownHeightDirection = -1;
};
if ((((Conteiner_Ghost.UpDownHeight < 0)) && ((Conteiner_Ghost.UpDownHeightDirection == -1)))){
Conteiner_Ghost.UpDownHeightDirection = 1;
};
ModHeight = Conteiner_Ghost.UpDownHeight;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_Ghost.UpDownRotation == null){
Conteiner_Ghost.UpDownRotation = 55.6;
Conteiner_Ghost.UpDownRotationValue = 0;
Conteiner_Ghost.UpDownRotationDirection = 1;
};
Conteiner_Ghost.UpDownRotationValue = (Conteiner_Ghost.UpDownRotationValue + Conteiner_Ghost.UpDownRotationDirection);
Conteiner_Ghost.UpDownRotationValue = (Conteiner_Ghost.UpDownRotationValue * 0.8);
Conteiner_Ghost.UpDownRotation = (Conteiner_Ghost.UpDownRotation + Conteiner_Ghost.UpDownRotationValue);
if ((((Conteiner_Ghost.UpDownRotation > 120.9)) && ((Conteiner_Ghost.UpDownRotationDirection == 1)))){
Conteiner_Ghost.UpDownRotationDirection = -1;
};
if ((((Conteiner_Ghost.UpDownRotation < 55.6)) && ((Conteiner_Ghost.UpDownRotationDirection == -1)))){
Conteiner_Ghost.UpDownRotationDirection = 1;
};
NewParticule.rotation = Conteiner_Ghost.UpDownRotation;
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(82);
Teinte = new ColorTransform();
DirectColors = ["FFFFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Ghost = 0;
} else {
ParticuleCadence_Ghost++;
};
}
public function Interrupt_Morning_Star(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Morning_Star);
}
public function ParticuleGenerator_Pink_Agent(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Pink_Agent >= 0){
P = 0;
while (P <= ParticuleCadence_Pink_Agent) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Pink_Agent.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Pink_Agent);
NewParticule.x = Target_Pink_Agent.x;
NewParticule.y = Target_Pink_Agent.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Pink_Agent);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["0033FF", "0099FF", "0066FF", "FF33FF", "FF66FF", "FF99FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 4.7;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 5.9;
NewParticule.EvoR = 8.9;
NewParticule.EvoA = 0.1;
NewParticule.DestP = 20.3;
NewParticule.gotoAndStop(105);
P = (P + 1);
};
ParticuleCadence_Pink_Agent = 0;
} else {
ParticuleCadence_Pink_Agent++;
};
}
public function ParticuleGenerator_Hard_Song(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Hard_Song >= 0){
P = 0;
while (P <= ParticuleCadence_Hard_Song) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Hard_Song.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Song);
NewParticule.x = Target_Hard_Song.x;
NewParticule.y = Target_Hard_Song.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Song);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FFFF00", "FFFF33", "FFFF66", "FFFF99"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = ((Math.random() * (10 - 0)) + 0);
ModWidth = ((Math.random() * (10 - 0)) + 0);
ModHeight = ((Math.random() * (10 - 0)) + 0);
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (360 - 0)) + 0);
NewParticule.alpha = (((Math.random() * (100 - 0)) + 0) / 100);
NewParticule.EvoS = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoW = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoH = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoR = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoA = ((Math.random() * (-1.4 - -10)) + -10);
NewParticule.DestA = 0;
NewParticule.gotoAndStop(84);
P = (P + 1);
};
ParticuleCadence_Hard_Song = 0;
} else {
ParticuleCadence_Hard_Song++;
};
}
public function ParticuleGenerator_Chaos_Bubble(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Chaos_Bubble >= 0){
P = 0;
while (P <= ParticuleCadence_Chaos_Bubble) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Chaos_Bubble.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Bubble);
NewParticule.x = Target_Chaos_Bubble.x;
NewParticule.y = Target_Chaos_Bubble.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Bubble);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = 0.1;
NewParticule.DestP = ((Math.random() * (0 - 39.5)) + 39.5);
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = 0;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = 0;
NewParticule.gotoAndStop(51);
P = (P + 1);
};
ParticuleCadence_Chaos_Bubble = 0;
} else {
ParticuleCadence_Chaos_Bubble++;
};
}
public function Interrupt_Chaos_Bubble(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Bubble);
}
public function LoopParticule_Tile(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + ((Math.random() * (_local2.ChaosVX[1] - _local2.ChaosVX[0])) + _local2.ChaosVX[0]));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + ((Math.random() * (_local2.ChaosVY[1] - _local2.ChaosVY[0])) + _local2.ChaosVY[0]));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + (_local2.ChaosVR + ((Math.random() * 2) - 1)));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
public function ParticuleGenerator_Chaos_Box(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Chaos_Box >= 0){
P = 0;
while (P <= ParticuleCadence_Chaos_Box) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Chaos_Box.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Box);
NewParticule.x = Target_Chaos_Box.x;
NewParticule.y = Target_Chaos_Box.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Box);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["66CC66"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = 0.1;
NewParticule.DestP = ((Math.random() * (0 - 39.5)) + 39.5);
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = 0;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = 0;
NewParticule.gotoAndStop(2);
P = (P + 1);
};
ParticuleCadence_Chaos_Box = 0;
} else {
ParticuleCadence_Chaos_Box++;
};
}
public function LoopParticule_Metal(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local2.y = (_local2.y + ((Math.random() * (_local2.ChaosDY[1] - _local2.ChaosDY[0])) + _local2.ChaosDY[0]));
_local2.rotation = (_local2.rotation + ((Math.random() * (_local2.ChaosDR[1] - _local2.ChaosDR[0])) + _local2.ChaosDR[0]));
}
public function LoopParticule_Golden_Diez(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Hard_Number(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Hard_Number >= 0){
P = 0;
while (P <= ParticuleCadence_Hard_Number) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Hard_Number.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Number);
NewParticule.x = Target_Hard_Number.x;
NewParticule.y = Target_Hard_Number.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Number);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["0000FF", "0000CC", "000099", "000066", "000033", "000000"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = ((Math.random() * (10 - 0)) + 0);
ModWidth = ((Math.random() * (10 - 0)) + 0);
ModHeight = ((Math.random() * (10 - 0)) + 0);
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (360 - 0)) + 0);
NewParticule.alpha = (((Math.random() * (100 - 0)) + 0) / 100);
NewParticule.EvoS = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoW = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoH = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoR = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoA = ((Math.random() * (-1.4 - -10)) + -10);
NewParticule.DestA = 0;
NewParticule.gotoAndStop(72);
P = (P + 1);
};
ParticuleCadence_Hard_Number = 0;
} else {
ParticuleCadence_Hard_Number++;
};
}
public function LoopParticule_Buzz(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local2.x = (_local2.x + ((Math.random() * (_local2.ChaosDX[1] - _local2.ChaosDX[0])) + _local2.ChaosDX[0]));
_local2.y = (_local2.y + ((Math.random() * (_local2.ChaosDY[1] - _local2.ChaosDY[0])) + _local2.ChaosDY[0]));
_local2.rotation = (_local2.rotation + ((Math.random() * (_local2.ChaosDR[1] - _local2.ChaosDR[0])) + _local2.ChaosDR[0]));
}
public function ParticuleGenerator_Metal(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Metal >= 0){
P = 0;
while (P <= ParticuleCadence_Metal) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Metal.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Metal);
NewParticule.x = Target_Metal.x;
NewParticule.y = Target_Metal.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Metal);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.DX = 15.6;
NewParticule.EvoA = -0.1;
NewParticule.DestP = ((Math.random() * (29.8 - 1.9)) + 1.9);
NewParticule.ChaosDY = [-10, 10];
NewParticule.ChaosDR = [-10, 10];
NewParticule.gotoAndStop(84);
Teinte = new ColorTransform();
DirectColors = ["6666CC", "6699CC", "003366", "333366"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Metal = 0;
} else {
ParticuleCadence_Metal++;
};
}
public function Interrupt_Cross(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Cross);
}
public function LoopParticule_Honey(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Wave(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.y = (_local2.y + _local2.DY);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VY = (_local2.VY + _local2.CVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Chaos_Ring(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Ring);
}
public function Interrupt_Simple(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Simple);
}
public function Interrupt_IceCream(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_IceCream);
}
public function ParticuleGenerator_Honey(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Honey >= 0){
P = 0;
while (P <= ParticuleCadence_Honey) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Honey.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Honey);
NewParticule.x = Target_Honey.x;
NewParticule.y = Target_Honey.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Honey);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.DX = new Array(-22.5, 21.3)[Math.round((Math.random() * 1))];
NewParticule.DestP = 10.5;
NewParticule.gotoAndStop(5);
Teinte = new ColorTransform();
DirectColors = ["FFFF99", "FFFF66", "FFFF00", "FFCC00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Honey = 4.8;
} else {
ParticuleCadence_Honey++;
};
}
public function Interrupt_Jazz(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Jazz);
}
public function Interrupt_Hard_Ground(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Ground);
}
public function LoopParticule_Hard_Kanji(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Hard_Sun(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Sun);
}
public function Interrupt_Rainbow_Box(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Rainbow_Box);
}
public function ParticuleGenerator_Turtle(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Turtle >= 0){
P = 0;
while (P <= ParticuleCadence_Turtle) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Turtle.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Turtle);
NewParticule.x = Target_Turtle.x;
NewParticule.y = Target_Turtle.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Turtle);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 10;
ModHeight = 0;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoW = -10;
NewParticule.EvoH = 10;
NewParticule.EvoR = 7.5;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(2);
Teinte = new ColorTransform();
DirectColors = ["339933"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Turtle = 0;
} else {
ParticuleCadence_Turtle++;
};
}
public function ParticuleGenerator_Prog_and_Design(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Prog_and_Design >= 0){
P = 0;
while (P <= ParticuleCadence_Prog_and_Design) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Prog_and_Design.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Prog_and_Design);
NewParticule.x = Target_Prog_and_Design.x;
NewParticule.y = Target_Prog_and_Design.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Prog_and_Design);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["6666CC", "6699CC", "66CCCC"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(80);
NewParticule.leTexte = "Ockam Razor";
P = (P + 1);
};
ParticuleCadence_Prog_and_Design = 0;
} else {
ParticuleCadence_Prog_and_Design++;
};
}
public function LoopParticule_Spinal(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Tournesol(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Tournesol >= 0){
P = 0;
while (P <= ParticuleCadence_Tournesol) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Tournesol.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Tournesol);
NewParticule.x = Target_Tournesol.x;
NewParticule.y = Target_Tournesol.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Tournesol);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FFCC00", "FFFF00", "FFFF33"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 0;
ModWidth = 0;
ModHeight = 0;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = new Array(32.6, 0)[Math.round((Math.random() * 1))];
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 10;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(104);
P = (P + 1);
};
ParticuleCadence_Tournesol = 0;
} else {
ParticuleCadence_Tournesol++;
};
}
public function Interrupt_Shaker(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Shaker);
}
public function ParticuleGenerator_IceCream(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_IceCream >= 0){
P = 0;
while (P <= ParticuleCadence_IceCream) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_IceCream.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_IceCream);
NewParticule.x = Target_IceCream.x;
NewParticule.y = Target_IceCream.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_IceCream);
} catch(e) {
};
};
ModScale = ((Math.random() * (4.7 - 1.6)) + 1.6);
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.DestP = 25.5;
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.gotoAndStop(31);
Teinte = new ColorTransform();
DirectColors = ["FFCCCC", "FFFFCC"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_IceCream = 0;
} else {
ParticuleCadence_IceCream++;
};
}
public function Interrupt_Tetris(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Tetris);
}
public function Interrupt_Column_Crisal(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Column_Crisal);
}
public function Interrupt_Proteine(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Proteine);
}
public function ParticuleGenerator_Hard_Star(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Hard_Star >= 0){
P = 0;
while (P <= ParticuleCadence_Hard_Star) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Hard_Star.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Star);
NewParticule.x = Target_Hard_Star.x;
NewParticule.y = Target_Hard_Star.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Star);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["66FFFF", "6699FF", "6666FF", "66CCFF", "6633FF", "6600FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = ((Math.random() * (10 - 0)) + 0);
ModWidth = ((Math.random() * (10 - 0)) + 0);
ModHeight = ((Math.random() * (10 - 0)) + 0);
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (360 - 0)) + 0);
NewParticule.alpha = (((Math.random() * (100 - 0)) + 0) / 100);
NewParticule.EvoS = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoW = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoH = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoR = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoA = ((Math.random() * (-1.4 - -10)) + -10);
NewParticule.DestA = 0;
NewParticule.gotoAndStop(109);
P = (P + 1);
};
ParticuleCadence_Hard_Star = 0;
} else {
ParticuleCadence_Hard_Star++;
};
}
public function LoopParticule_Red_Target(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.y = (_local2.y + _local2.DY);
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Hard_Sun(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Hard_Sun >= 0){
P = 0;
while (P <= ParticuleCadence_Hard_Sun) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Hard_Sun.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Sun);
NewParticule.x = Target_Hard_Sun.x;
NewParticule.y = Target_Hard_Sun.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Sun);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FFFF00", "FFCC00", "FF9900", "FF6600", "FF3300", "FF0000"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = ((Math.random() * (10 - 0)) + 0);
ModWidth = ((Math.random() * (10 - 0)) + 0);
ModHeight = ((Math.random() * (10 - 0)) + 0);
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (360 - 0)) + 0);
NewParticule.alpha = (((Math.random() * (100 - 0)) + 0) / 100);
NewParticule.EvoS = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoW = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoH = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoR = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoA = ((Math.random() * (-1.4 - -10)) + -10);
NewParticule.DestA = 0;
NewParticule.gotoAndStop(107);
P = (P + 1);
};
ParticuleCadence_Hard_Sun = 0;
} else {
ParticuleCadence_Hard_Sun++;
};
}
public function LoopParticule_Rainbow_Hexa(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Medusa(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Music_by(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Pixel_Lombrik(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Pixel_Lombrik >= 0){
P = 0;
while (P <= ParticuleCadence_Pixel_Lombrik) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Pixel_Lombrik.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Pixel_Lombrik);
NewParticule.x = Target_Pixel_Lombrik.x;
NewParticule.y = Target_Pixel_Lombrik.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Pixel_Lombrik);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 2.7;
NewParticule.DestP = 12.6;
NewParticule.ChaosDS = 3.5;
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = [-3.6, 1.5];
NewParticule.gotoAndStop(32);
Teinte = new ColorTransform();
DirectColors = ["FF99FF", "FFCCFF", "FF66FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Pixel_Lombrik = 0;
} else {
ParticuleCadence_Pixel_Lombrik++;
};
}
public function ParticuleGenerator_AirPulsar(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_AirPulsar >= 0){
P = 0;
while (P <= ParticuleCadence_AirPulsar) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_AirPulsar.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_AirPulsar);
NewParticule.x = Target_AirPulsar.x;
NewParticule.y = Target_AirPulsar.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_AirPulsar);
} catch(e) {
};
};
if (Conteiner_AirPulsar.UpDownScale == null){
Conteiner_AirPulsar.UpDownScale = 0;
Conteiner_AirPulsar.UpDownScaleValue = 0;
Conteiner_AirPulsar.UpDownScaleDirection = 1;
};
Conteiner_AirPulsar.UpDownScaleValue = (Conteiner_AirPulsar.UpDownScaleValue + Conteiner_AirPulsar.UpDownScaleDirection);
Conteiner_AirPulsar.UpDownScaleValue = (Conteiner_AirPulsar.UpDownScaleValue * 0.8);
Conteiner_AirPulsar.UpDownScale = (Conteiner_AirPulsar.UpDownScale + Conteiner_AirPulsar.UpDownScaleValue);
if ((((Conteiner_AirPulsar.UpDownScale > 10)) && ((Conteiner_AirPulsar.UpDownScaleDirection == 1)))){
Conteiner_AirPulsar.UpDownScaleDirection = -1;
};
if ((((Conteiner_AirPulsar.UpDownScale < 0)) && ((Conteiner_AirPulsar.UpDownScaleDirection == -1)))){
Conteiner_AirPulsar.UpDownScaleDirection = 1;
};
ModScale = Conteiner_AirPulsar.UpDownScale;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_AirPulsar.UpDownRotation == null){
Conteiner_AirPulsar.UpDownRotation = 0;
Conteiner_AirPulsar.UpDownRotationValue = 0;
Conteiner_AirPulsar.UpDownRotationDirection = 1;
};
Conteiner_AirPulsar.UpDownRotationValue = (Conteiner_AirPulsar.UpDownRotationValue + Conteiner_AirPulsar.UpDownRotationDirection);
Conteiner_AirPulsar.UpDownRotationValue = (Conteiner_AirPulsar.UpDownRotationValue * 0.8);
Conteiner_AirPulsar.UpDownRotation = (Conteiner_AirPulsar.UpDownRotation + Conteiner_AirPulsar.UpDownRotationValue);
if ((((Conteiner_AirPulsar.UpDownRotation > 74.2)) && ((Conteiner_AirPulsar.UpDownRotationDirection == 1)))){
Conteiner_AirPulsar.UpDownRotationDirection = -1;
};
if ((((Conteiner_AirPulsar.UpDownRotation < 0)) && ((Conteiner_AirPulsar.UpDownRotationDirection == -1)))){
Conteiner_AirPulsar.UpDownRotationDirection = 1;
};
NewParticule.rotation = Conteiner_AirPulsar.UpDownRotation;
if (Conteiner_AirPulsar.UpDownAlpha == null){
Conteiner_AirPulsar.UpDownAlpha = 9.6;
Conteiner_AirPulsar.UpDownAlphaValue = 0;
Conteiner_AirPulsar.UpDownAlphaDirection = 1;
};
Conteiner_AirPulsar.UpDownAlphaValue = (Conteiner_AirPulsar.UpDownAlphaValue + Conteiner_AirPulsar.UpDownAlphaDirection);
Conteiner_AirPulsar.UpDownAlphaValue = (Conteiner_AirPulsar.UpDownAlphaValue * 0.8);
Conteiner_AirPulsar.UpDownAlpha = (Conteiner_AirPulsar.UpDownAlpha + Conteiner_AirPulsar.UpDownAlphaValue);
if ((((Conteiner_AirPulsar.UpDownAlpha > 100)) && ((Conteiner_AirPulsar.UpDownAlphaDirection == 1)))){
Conteiner_AirPulsar.UpDownAlphaDirection = -1;
};
if ((((Conteiner_AirPulsar.UpDownAlpha < 9.6)) && ((Conteiner_AirPulsar.UpDownAlphaDirection == -1)))){
Conteiner_AirPulsar.UpDownAlphaDirection = 1;
};
NewParticule.alpha = (Conteiner_AirPulsar.UpDownAlpha / 100);
NewParticule.CVX = -0.7;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(50);
Teinte = new ColorTransform();
DirectColors = ["CCCCFF", "FFFFFF", "9999FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_AirPulsar = 0;
} else {
ParticuleCadence_AirPulsar++;
};
}
public function ParticuleGenerator_Incal_Sun(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Incal_Sun >= 0){
P = 0;
while (P <= ParticuleCadence_Incal_Sun) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Incal_Sun.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Incal_Sun);
NewParticule.x = Target_Incal_Sun.x;
NewParticule.y = Target_Incal_Sun.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Incal_Sun);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["000000", "006666", "6600FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 5.9;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoR = 2.7;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = [-3.3, 3.5];
NewParticule.gotoAndStop(107);
P = (P + 1);
};
ParticuleCadence_Incal_Sun = 0;
} else {
ParticuleCadence_Incal_Sun++;
};
}
public function Interrupt_Snake(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Snake);
}
public function Interrupt_Spinal_Worm(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Spinal_Worm);
}
public function LoopParticule_Shower(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VX = (_local2.VX + _local2.CVX);
_local2.VY = (_local2.VY + _local2.CVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Sound_Cast(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Sound_Cast);
}
public function LoopParticule_Vaporing_Circle(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VY = (_local2.VY + _local2.CVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Rain(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Rain);
}
public function Interrupt_Hard_Mine(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Mine);
}
public function Interrupt_Chaos_Plag(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Plag);
}
public function Interrupt_Rainbow_Sphere(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Rainbow_Sphere);
}
public function Interrupt_Rose_Rotative(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Rose_Rotative);
}
public function ParticuleGenerator_Jazz(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Jazz >= 0){
P = 0;
while (P <= ParticuleCadence_Jazz) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Jazz.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Jazz);
NewParticule.x = Target_Jazz.x;
NewParticule.y = Target_Jazz.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Jazz);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.ChaosDX = 0;
NewParticule.ChaosDY = 0;
NewParticule.ChaosDR = 0;
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = 0;
NewParticule.gotoAndStop(84);
Teinte = new ColorTransform();
DirectColors = ["6699FF", "3399FF", "0099FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Jazz = ((Math.random() * (3.7 - -9)) + -9);
} else {
ParticuleCadence_Jazz++;
};
}
public function LoopParticule_Hard_Mine(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Proteine(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Proteine >= 0){
P = 0;
while (P <= ParticuleCadence_Proteine) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Proteine.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Proteine);
NewParticule.x = Target_Proteine.x;
NewParticule.y = Target_Proteine.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Proteine);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 10;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_Proteine.UpDownRotation == null){
Conteiner_Proteine.UpDownRotation = 0;
Conteiner_Proteine.UpDownRotationValue = 0;
Conteiner_Proteine.UpDownRotationDirection = 1;
};
Conteiner_Proteine.UpDownRotationValue = (Conteiner_Proteine.UpDownRotationValue + Conteiner_Proteine.UpDownRotationDirection);
Conteiner_Proteine.UpDownRotationValue = (Conteiner_Proteine.UpDownRotationValue * 0.8);
Conteiner_Proteine.UpDownRotation = (Conteiner_Proteine.UpDownRotation + Conteiner_Proteine.UpDownRotationValue);
if ((((Conteiner_Proteine.UpDownRotation > 62.8)) && ((Conteiner_Proteine.UpDownRotationDirection == 1)))){
Conteiner_Proteine.UpDownRotationDirection = -1;
};
if ((((Conteiner_Proteine.UpDownRotation < 0)) && ((Conteiner_Proteine.UpDownRotationDirection == -1)))){
Conteiner_Proteine.UpDownRotationDirection = 1;
};
NewParticule.rotation = Conteiner_Proteine.UpDownRotation;
NewParticule.alpha = (100 / 100);
NewParticule.DestP = 12.6;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = [-1.5, 0.1];
NewParticule.gotoAndStop(38);
Teinte = new ColorTransform();
DirectColors = ["6699FF", "00CC99", "00CCFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Proteine = 0;
} else {
ParticuleCadence_Proteine++;
};
}
public function Interrupt_Smoke(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Smoke);
}
public function LoopParticule_Rainbow_Sphere(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.width = (_local2.width + _local2.EvoW);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Morning_Star(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Redding(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Redding >= 0){
P = 0;
while (P <= ParticuleCadence_Redding) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Redding.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Redding);
NewParticule.x = Target_Redding.x;
NewParticule.y = Target_Redding.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Redding);
} catch(e) {
};
};
ModScale = 10;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = new Array(43.6, 0)[Math.round((Math.random() * 1))];
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 10;
NewParticule.EvoR = 3.8;
NewParticule.EvoA = -8.4;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(7);
Teinte = new ColorTransform();
DirectColors = ["FF0000", "FF00FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Redding = 0;
} else {
ParticuleCadence_Redding++;
};
}
public function LoopParticule_Vinyl(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Vortex(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Techno(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Techno);
}
public function Interrupt_Hesitance(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hesitance);
}
public function Interrupt_Deep_Quadri(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Deep_Quadri);
}
public function ParticuleGenerator_Sith_Sword(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Sith_Sword >= 0){
P = 0;
while (P <= ParticuleCadence_Sith_Sword) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Sith_Sword.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Sith_Sword);
NewParticule.x = Target_Sith_Sword.x;
NewParticule.y = Target_Sith_Sword.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Sith_Sword);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 10;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.DX = 10.1;
NewParticule.EvoW = 10;
NewParticule.EvoH = -1.4;
NewParticule.EvoA = -5;
NewParticule.DestP = 19.8;
NewParticule.gotoAndStop(8);
Teinte = new ColorTransform();
DirectColors = ["FF0000", "CC0000", "990000"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Sith_Sword = 4.8;
} else {
ParticuleCadence_Sith_Sword++;
};
}
public function ParticuleGenerator_Vinyl(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Vinyl >= 0){
P = 0;
while (P <= ParticuleCadence_Vinyl) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Vinyl.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Vinyl);
NewParticule.x = Target_Vinyl.x;
NewParticule.y = Target_Vinyl.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Vinyl);
} catch(e) {
};
};
ModScale = new Array(10, 0)[Math.round((Math.random() * 1))];
ModWidth = 10;
ModHeight = 10;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = new Array(25.7, 88.4)[Math.round((Math.random() * 1))];
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 1.9;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(94);
Teinte = new ColorTransform();
DirectColors = ["000000", "FFFFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Vinyl = 0;
} else {
ParticuleCadence_Vinyl++;
};
}
public function Interrupt_Magic(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Magic);
}
public function LoopParticule_Hesitance(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Hard_Smoke(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Smoke);
}
public function LoopParticule_Aqua_Snake(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VX = (_local2.VX + _local2.CVX);
_local2.VY = (_local2.VY + _local2.CVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Chaos_Bubble(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + (_local2.ChaosVS + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + (_local2.ChaosVR + ((Math.random() * 2) - 1)));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
public function ParticuleGenerator_Crypted_Radio(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Crypted_Radio >= 0){
P = 0;
while (P <= ParticuleCadence_Crypted_Radio) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Crypted_Radio.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Crypted_Radio);
NewParticule.x = Target_Crypted_Radio.x;
NewParticule.y = Target_Crypted_Radio.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Crypted_Radio);
} catch(e) {
};
};
if (Conteiner_Crypted_Radio.UpDownScaleCryptedRadio == null){
Conteiner_Crypted_Radio.UpDownScaleCryptedRadio = 0;
Conteiner_Crypted_Radio.UpDownScaleCryptedRadioValue = 0.5;
Conteiner_Crypted_Radio.UpDownScaleCryptedRadioDirection = 1;
};
Conteiner_Crypted_Radio.UpDownScaleCryptedRadio = (Conteiner_Crypted_Radio.UpDownScaleCryptedRadio + (Conteiner_Crypted_Radio.UpDownScaleCryptedRadioValue * Conteiner_Crypted_Radio.UpDownScaleCryptedRadioDirection));
if ((((Conteiner_Crypted_Radio.UpDownScaleCryptedRadio > 10)) && ((Conteiner_Crypted_Radio.UpDownScaleCryptedRadioDirection == 1)))){
Conteiner_Crypted_Radio.UpDownScaleCryptedRadioDirection = -1;
Conteiner_Crypted_Radio.UpDownScaleCryptedRadio = 10;
};
if ((((Conteiner_Crypted_Radio.UpDownScaleCryptedRadio < 0)) && ((Conteiner_Crypted_Radio.UpDownScaleCryptedRadioDirection == -1)))){
Conteiner_Crypted_Radio.UpDownScaleCryptedRadioDirection = 1;
Conteiner_Crypted_Radio.UpDownScaleCryptedRadio = 0;
};
ModScale = Conteiner_Crypted_Radio.UpDownScaleCryptedRadio;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.DX = 22;
NewParticule.EvoA = -5;
NewParticule.DestP = 20.2;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = 0;
NewParticule.gotoAndStop(92);
Teinte = new ColorTransform();
DirectColors = ["FFCC33", "FFCC00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Crypted_Radio = 3;
} else {
ParticuleCadence_Crypted_Radio++;
};
}
public function Interrupt_Coquelicot(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Coquelicot);
}
public function ParticuleGenerator_Never_Ending_Tunnel(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Never_Ending_Tunnel >= 0){
P = 0;
while (P <= ParticuleCadence_Never_Ending_Tunnel) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Never_Ending_Tunnel.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Never_Ending_Tunnel);
NewParticule.x = Target_Never_Ending_Tunnel.x;
NewParticule.y = Target_Never_Ending_Tunnel.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Never_Ending_Tunnel);
} catch(e) {
};
};
if (Conteiner_Never_Ending_Tunnel.UpDownX == null){
Conteiner_Never_Ending_Tunnel.UpDownX = -36.3;
Conteiner_Never_Ending_Tunnel.UpDownXValue = 0;
Conteiner_Never_Ending_Tunnel.UpDownXDirection = 1;
};
Conteiner_Never_Ending_Tunnel.UpDownXValue = (Conteiner_Never_Ending_Tunnel.UpDownXValue + Conteiner_Never_Ending_Tunnel.UpDownXDirection);
Conteiner_Never_Ending_Tunnel.UpDownXValue = (Conteiner_Never_Ending_Tunnel.UpDownXValue * 0.8);
Conteiner_Never_Ending_Tunnel.UpDownX = (Conteiner_Never_Ending_Tunnel.UpDownX + Conteiner_Never_Ending_Tunnel.UpDownXValue);
if ((((Conteiner_Never_Ending_Tunnel.UpDownX > 2.1)) && ((Conteiner_Never_Ending_Tunnel.UpDownXDirection == 1)))){
Conteiner_Never_Ending_Tunnel.UpDownXDirection = -1;
};
if ((((Conteiner_Never_Ending_Tunnel.UpDownX < -36.3)) && ((Conteiner_Never_Ending_Tunnel.UpDownXDirection == -1)))){
Conteiner_Never_Ending_Tunnel.UpDownXDirection = 1;
};
NewParticule.x = (NewParticule.x + Conteiner_Never_Ending_Tunnel.UpDownX);
ModScale = 10;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = -7;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(12);
Teinte = new ColorTransform();
DirectColors = ["FF3333"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Never_Ending_Tunnel = 0;
} else {
ParticuleCadence_Never_Ending_Tunnel++;
};
}
public function LoopParticule_Where(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Beetle(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.y = (_local2.y + _local2.DY);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VY = (_local2.VY + _local2.CVY);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Black_Hole(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Black_Hole >= 0){
P = 0;
while (P <= ParticuleCadence_Black_Hole) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Black_Hole.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Black_Hole);
NewParticule.x = Target_Black_Hole.x;
NewParticule.y = Target_Black_Hole.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Black_Hole);
} catch(e) {
};
};
if (Conteiner_Black_Hole.UpDownX == null){
Conteiner_Black_Hole.UpDownX = -29.9;
Conteiner_Black_Hole.UpDownXValue = 0;
Conteiner_Black_Hole.UpDownXDirection = 1;
};
Conteiner_Black_Hole.UpDownXValue = (Conteiner_Black_Hole.UpDownXValue + Conteiner_Black_Hole.UpDownXDirection);
Conteiner_Black_Hole.UpDownXValue = (Conteiner_Black_Hole.UpDownXValue * 0.8);
Conteiner_Black_Hole.UpDownX = (Conteiner_Black_Hole.UpDownX + Conteiner_Black_Hole.UpDownXValue);
if ((((Conteiner_Black_Hole.UpDownX > 55.4)) && ((Conteiner_Black_Hole.UpDownXDirection == 1)))){
Conteiner_Black_Hole.UpDownXDirection = -1;
};
if ((((Conteiner_Black_Hole.UpDownX < -29.9)) && ((Conteiner_Black_Hole.UpDownXDirection == -1)))){
Conteiner_Black_Hole.UpDownXDirection = 1;
};
NewParticule.x = (NewParticule.x + Conteiner_Black_Hole.UpDownX);
if (Conteiner_Black_Hole.UpDownY == null){
Conteiner_Black_Hole.UpDownY = -29.9;
Conteiner_Black_Hole.UpDownYValue = 0;
Conteiner_Black_Hole.UpDownYDirection = 1;
};
Conteiner_Black_Hole.UpDownYValue = (Conteiner_Black_Hole.UpDownYValue + Conteiner_Black_Hole.UpDownYDirection);
Conteiner_Black_Hole.UpDownYValue = (Conteiner_Black_Hole.UpDownYValue * 0.8);
Conteiner_Black_Hole.UpDownY = (Conteiner_Black_Hole.UpDownY + Conteiner_Black_Hole.UpDownYValue);
if ((((Conteiner_Black_Hole.UpDownY > 55.4)) && ((Conteiner_Black_Hole.UpDownYDirection == 1)))){
Conteiner_Black_Hole.UpDownYDirection = -1;
};
if ((((Conteiner_Black_Hole.UpDownY < -29.9)) && ((Conteiner_Black_Hole.UpDownYDirection == -1)))){
Conteiner_Black_Hole.UpDownYDirection = 1;
};
NewParticule.y = (NewParticule.y + Conteiner_Black_Hole.UpDownY);
ModScale = 0.3;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = 46.1;
NewParticule.DX = new Array(-10.8, 10.2)[Math.round((Math.random() * 1))];
NewParticule.DY = new Array(-10.5, 9.6)[Math.round((Math.random() * 1))];
NewParticule.EvoA = -8.9;
NewParticule.DestA = 0;
NewParticule.ChaosDS = [-6.4, 10];
NewParticule.gotoAndStop(39);
Teinte = new ColorTransform();
DirectColors = ["3300FF", "330099", "3366FF", "99CCFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Black_Hole = 8.9;
} else {
ParticuleCadence_Black_Hole++;
};
}
public function LoopParticule_Hard_Ground(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Where(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Where >= 0){
P = 0;
while (P <= ParticuleCadence_Where) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Where.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Where);
NewParticule.x = Target_Where.x;
NewParticule.y = Target_Where.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Where);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["339999", "66CC99", "66FFFF", "0099FF", "99FFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = ((Math.random() * (3.2 - 0)) + 0);
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (360 - 0)) + 0);
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(103);
P = (P + 1);
};
ParticuleCadence_Where = 0;
} else {
ParticuleCadence_Where++;
};
}
public function LoopParticule_Hard_Song(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Night_Star(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.width = (_local2.width + _local2.EvoW);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local3 = _local2.rotation;
_local2.rotation = 0;
if (_local2.UpDownChaosInstantWidth == null){
_local2.UpDownChaosInstantWidth = _local2.ChaosDW[0];
_local2.UpDownChaosInstantWidthValue = 0;
_local2.UpDownChaosInstantWidthDirection = 1;
};
_local2.UpDownChaosInstantWidthValue = (_local2.UpDownChaosInstantWidthValue + _local2.UpDownChaosInstantWidthDirection);
_local2.UpDownChaosInstantWidthValue = (_local2.UpDownChaosInstantWidthValue * 0.8);
_local2.UpDownChaosInstantWidth = (_local2.UpDownChaosInstantWidth + _local2.UpDownChaosInstantWidthValue);
if ((((_local2.UpDownChaosInstantWidth > _local2.ChaosDW[1])) && ((_local2.UpDownChaosInstantWidthDirection == 1)))){
_local2.UpDownChaosInstantWidthDirection = -1;
_local2.UpDownChaosInstantWidth = _local2.ChaosDW[1];
};
if ((((_local2.UpDownChaosInstantWidth < _local2.ChaosDW[0])) && ((_local2.UpDownChaosInstantWidthDirection == -1)))){
_local2.UpDownChaosInstantWidthDirection = 1;
_local2.UpDownChaosInstantWidth = _local2.ChaosDW[0];
};
_local2.ChaosInstantWidth = _local2.UpDownChaosInstantWidth;
_local2.width = (_local2.width + _local2.ChaosInstantWidth);
_local2.ChaosInstantHeight = (_local2.ChaosDH + ((Math.random() * 2) - 1));
_local2.height = (_local2.height + _local2.ChaosInstantHeight);
_local2.rotation = _local3;
}
public function Interrupt_Hard_Song(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Song);
}
public function ParticuleGenerator_Hard_Love(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Hard_Love >= 0){
P = 0;
while (P <= ParticuleCadence_Hard_Love) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Hard_Love.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Love);
NewParticule.x = Target_Hard_Love.x;
NewParticule.y = Target_Hard_Love.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Love);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["CC0000", "CC0033", "CC0066", "CC0099", "CC00CC", "CC00FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = ((Math.random() * (10 - 0)) + 0);
ModWidth = ((Math.random() * (10 - 0)) + 0);
ModHeight = ((Math.random() * (10 - 0)) + 0);
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (360 - 0)) + 0);
NewParticule.alpha = (((Math.random() * (100 - 0)) + 0) / 100);
NewParticule.EvoS = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoW = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoH = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoR = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoA = ((Math.random() * (-1.4 - -10)) + -10);
NewParticule.DestA = 0;
NewParticule.gotoAndStop(81);
P = (P + 1);
};
ParticuleCadence_Hard_Love = 0;
} else {
ParticuleCadence_Hard_Love++;
};
}
public function LoopParticule_Diablo_Uppercut(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
if (_local2.UpDownrotation == null){
_local2.UpDownrotation = _local2.ChaosDR[0];
_local2.UpDownrotationValue = 0;
_local2.UpDownrotationDirection = 1;
};
_local2.UpDownrotationValue = (_local2.UpDownrotationValue + _local2.UpDownrotationDirection);
_local2.UpDownrotationValue = (_local2.UpDownrotationValue * 0.8);
_local2.UpDownrotation = (_local2.UpDownrotation + _local2.UpDownrotationValue);
if ((((_local2.UpDownrotation > _local2.ChaosDR[1])) && ((_local2.UpDownrotationDirection == 1)))){
_local2.UpDownrotationDirection = -1;
_local2.UpDownrotation = _local2.ChaosDR[1];
};
if ((((_local2.UpDownrotation < _local2.ChaosDR[0])) && ((_local2.UpDownrotationDirection == -1)))){
_local2.UpDownrotationDirection = 1;
_local2.UpDownrotation = _local2.ChaosDR[0];
};
_local2.rotation = (_local2.rotation + _local2.UpDownrotation);
}
public function ParticuleGenerator_FirePulsar(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_FirePulsar >= 0){
P = 0;
while (P <= ParticuleCadence_FirePulsar) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_FirePulsar.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_FirePulsar);
NewParticule.x = Target_FirePulsar.x;
NewParticule.y = Target_FirePulsar.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_FirePulsar);
} catch(e) {
};
};
if (Conteiner_FirePulsar.UpDownScale == null){
Conteiner_FirePulsar.UpDownScale = 0;
Conteiner_FirePulsar.UpDownScaleValue = 0;
Conteiner_FirePulsar.UpDownScaleDirection = 1;
};
Conteiner_FirePulsar.UpDownScaleValue = (Conteiner_FirePulsar.UpDownScaleValue + Conteiner_FirePulsar.UpDownScaleDirection);
Conteiner_FirePulsar.UpDownScaleValue = (Conteiner_FirePulsar.UpDownScaleValue * 0.8);
Conteiner_FirePulsar.UpDownScale = (Conteiner_FirePulsar.UpDownScale + Conteiner_FirePulsar.UpDownScaleValue);
if ((((Conteiner_FirePulsar.UpDownScale > 10)) && ((Conteiner_FirePulsar.UpDownScaleDirection == 1)))){
Conteiner_FirePulsar.UpDownScaleDirection = -1;
};
if ((((Conteiner_FirePulsar.UpDownScale < 0)) && ((Conteiner_FirePulsar.UpDownScaleDirection == -1)))){
Conteiner_FirePulsar.UpDownScaleDirection = 1;
};
ModScale = Conteiner_FirePulsar.UpDownScale;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_FirePulsar.UpDownRotation == null){
Conteiner_FirePulsar.UpDownRotation = 0;
Conteiner_FirePulsar.UpDownRotationValue = 0;
Conteiner_FirePulsar.UpDownRotationDirection = 1;
};
Conteiner_FirePulsar.UpDownRotationValue = (Conteiner_FirePulsar.UpDownRotationValue + Conteiner_FirePulsar.UpDownRotationDirection);
Conteiner_FirePulsar.UpDownRotationValue = (Conteiner_FirePulsar.UpDownRotationValue * 0.8);
Conteiner_FirePulsar.UpDownRotation = (Conteiner_FirePulsar.UpDownRotation + Conteiner_FirePulsar.UpDownRotationValue);
if ((((Conteiner_FirePulsar.UpDownRotation > 74.2)) && ((Conteiner_FirePulsar.UpDownRotationDirection == 1)))){
Conteiner_FirePulsar.UpDownRotationDirection = -1;
};
if ((((Conteiner_FirePulsar.UpDownRotation < 0)) && ((Conteiner_FirePulsar.UpDownRotationDirection == -1)))){
Conteiner_FirePulsar.UpDownRotationDirection = 1;
};
NewParticule.rotation = Conteiner_FirePulsar.UpDownRotation;
if (Conteiner_FirePulsar.UpDownAlpha == null){
Conteiner_FirePulsar.UpDownAlpha = 10.1;
Conteiner_FirePulsar.UpDownAlphaValue = 0;
Conteiner_FirePulsar.UpDownAlphaDirection = 1;
};
Conteiner_FirePulsar.UpDownAlphaValue = (Conteiner_FirePulsar.UpDownAlphaValue + Conteiner_FirePulsar.UpDownAlphaDirection);
Conteiner_FirePulsar.UpDownAlphaValue = (Conteiner_FirePulsar.UpDownAlphaValue * 0.8);
Conteiner_FirePulsar.UpDownAlpha = (Conteiner_FirePulsar.UpDownAlpha + Conteiner_FirePulsar.UpDownAlphaValue);
if ((((Conteiner_FirePulsar.UpDownAlpha > 100)) && ((Conteiner_FirePulsar.UpDownAlphaDirection == 1)))){
Conteiner_FirePulsar.UpDownAlphaDirection = -1;
};
if ((((Conteiner_FirePulsar.UpDownAlpha < 10.1)) && ((Conteiner_FirePulsar.UpDownAlphaDirection == -1)))){
Conteiner_FirePulsar.UpDownAlphaDirection = 1;
};
NewParticule.alpha = (Conteiner_FirePulsar.UpDownAlpha / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.gotoAndStop(41);
Teinte = new ColorTransform();
DirectColors = ["FFFF33", "FF6600", "FF3300"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_FirePulsar = 0;
} else {
ParticuleCadence_FirePulsar++;
};
}
public function ParticuleGenerator_Rain(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Rain >= 0){
P = 0;
while (P <= ParticuleCadence_Rain) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Rain.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Rain);
NewParticule.x = Target_Rain.x;
NewParticule.y = Target_Rain.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Rain);
} catch(e) {
};
};
NewParticule.x = (NewParticule.x + ((Math.random() * (200 - -200)) + -200));
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.VX = ((Math.random() * (3.8 - -3.5)) + -3.5);
NewParticule.VY = 5.9;
NewParticule.CVY = 1.5;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(93);
Teinte = new ColorTransform();
DirectColors = ["3366FF", "3333FF", "3300FF", "3300CC", "3333CC"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Rain = 0;
} else {
ParticuleCadence_Rain++;
};
}
public function LoopParticule_Rainbow_Box(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Hard_Number(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Number);
}
public function Interrupt_Prog_and_Design(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Prog_and_Design);
}
public function LoopParticule_Tank_Bones(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.y = (_local2.y + _local2.DY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Chaos_Box(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Box);
}
public function ParticuleGenerator_Chaos_Triangle(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Chaos_Triangle >= 0){
P = 0;
while (P <= ParticuleCadence_Chaos_Triangle) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Chaos_Triangle.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Triangle);
NewParticule.x = Target_Chaos_Triangle.x;
NewParticule.y = Target_Chaos_Triangle.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Triangle);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FFFF00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = 0.1;
NewParticule.DestP = ((Math.random() * (0 - 39.5)) + 39.5);
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = 0;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = 0;
NewParticule.gotoAndStop(3);
P = (P + 1);
};
ParticuleCadence_Chaos_Triangle = 0;
} else {
ParticuleCadence_Chaos_Triangle++;
};
}
public function Interrupt_Kawaii(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Kawaii);
}
public function LoopParticule_Chaos_Box(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + (_local2.ChaosVS + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + (_local2.ChaosVR + ((Math.random() * 2) - 1)));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
public function Interrupt_Ghost(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Ghost);
}
public function LoopParticule_Reggae(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
}
public function ParticuleGenerator_Ocean_Box(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Ocean_Box >= 0){
P = 0;
while (P <= ParticuleCadence_Ocean_Box) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Ocean_Box.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Ocean_Box);
NewParticule.x = Target_Ocean_Box.x;
NewParticule.y = Target_Ocean_Box.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Ocean_Box);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 3.4;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.CVY = 2.2;
NewParticule.EvoR = 3.9;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(2);
Teinte = new ColorTransform();
DirectColors = ["66CC99"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Ocean_Box = 0;
} else {
ParticuleCadence_Ocean_Box++;
};
}
public function ParticuleGenerator_Chaos_Cube(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Chaos_Cube >= 0){
P = 0;
while (P <= ParticuleCadence_Chaos_Cube) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Chaos_Cube.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Cube);
NewParticule.x = Target_Chaos_Cube.x;
NewParticule.y = Target_Chaos_Cube.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Cube);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["339966"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = 0.1;
NewParticule.DestP = ((Math.random() * (0 - 39.5)) + 39.5);
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = 0;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = 0;
NewParticule.gotoAndStop(97);
P = (P + 1);
};
ParticuleCadence_Chaos_Cube = 0;
} else {
ParticuleCadence_Chaos_Cube++;
};
}
public function ParticuleGenerator_Hard_Stop(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Hard_Stop >= 0){
P = 0;
while (P <= ParticuleCadence_Hard_Stop) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Hard_Stop.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Stop);
NewParticule.x = Target_Hard_Stop.x;
NewParticule.y = Target_Hard_Stop.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Stop);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["FF3300", "FF0000", "CC3300", "CC0000", "990000", "993300"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = ((Math.random() * (10 - 0)) + 0);
ModWidth = ((Math.random() * (10 - 0)) + 0);
ModHeight = ((Math.random() * (10 - 0)) + 0);
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (360 - 0)) + 0);
NewParticule.alpha = (((Math.random() * (100 - 0)) + 0) / 100);
NewParticule.EvoS = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoW = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoH = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoR = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoA = ((Math.random() * (-1.4 - -10)) + -10);
NewParticule.DestA = 0;
NewParticule.gotoAndStop(105);
P = (P + 1);
};
ParticuleCadence_Hard_Stop = 0;
} else {
ParticuleCadence_Hard_Stop++;
};
}
public function ParticuleGenerator_Flower_Cube(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Flower_Cube >= 0){
P = 0;
while (P <= ParticuleCadence_Flower_Cube) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Flower_Cube.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Flower_Cube);
NewParticule.x = Target_Flower_Cube.x;
NewParticule.y = Target_Flower_Cube.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Flower_Cube);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 3.2;
NewParticule.EvoR = 10;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(2);
Teinte = new ColorTransform();
DirectColors = ["CC0099"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Flower_Cube = 0;
} else {
ParticuleCadence_Flower_Cube++;
};
}
public function Interrupt_Edelweis(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Edelweis);
}
public function LoopParticule_Redding(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Circus(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Space_Ship(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Space_Ship >= 0){
P = 0;
while (P <= ParticuleCadence_Space_Ship) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Space_Ship.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Space_Ship);
NewParticule.x = Target_Space_Ship.x;
NewParticule.y = Target_Space_Ship.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Space_Ship);
} catch(e) {
};
};
ModScale = 10;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_Space_Ship.UpDownRotation == null){
Conteiner_Space_Ship.UpDownRotation = 73;
Conteiner_Space_Ship.UpDownRotationValue = 1.44;
Conteiner_Space_Ship.UpDownRotationDirection = 1;
};
Conteiner_Space_Ship.UpDownRotation = (Conteiner_Space_Ship.UpDownRotation + (Conteiner_Space_Ship.UpDownRotationValue * Conteiner_Space_Ship.UpDownRotationDirection));
if ((((Conteiner_Space_Ship.UpDownRotation > 101.8)) && ((Conteiner_Space_Ship.UpDownRotationDirection == 1)))){
Conteiner_Space_Ship.UpDownRotationDirection = -1;
Conteiner_Space_Ship.UpDownRotation = 101.8;
};
if ((((Conteiner_Space_Ship.UpDownRotation < 73)) && ((Conteiner_Space_Ship.UpDownRotationDirection == -1)))){
Conteiner_Space_Ship.UpDownRotationDirection = 1;
Conteiner_Space_Ship.UpDownRotation = 73;
};
NewParticule.rotation = Conteiner_Space_Ship.UpDownRotation;
NewParticule.alpha = (100 / 100);
NewParticule.EvoW = -10;
NewParticule.EvoH = 10;
NewParticule.EvoA = -0.4;
NewParticule.DestP = 12.5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVH = 0;
NewParticule.ChaosVH = [-2.4, 5.8];
NewParticule.gotoAndStop(90);
Teinte = new ColorTransform();
DirectColors = ["66CCFF", "6699FF", "99CCFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Space_Ship = 0;
} else {
ParticuleCadence_Space_Ship++;
};
}
public function LoopParticule_Spinal_Worm(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVW = (_local2.SpeedChaosVW + (_local2.ChaosVW + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVW);
_local2.rotation = _local3;
}
public function Interrupt_Pixel_Lombrik(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Pixel_Lombrik);
}
public function ParticuleGenerator_Hard_Death(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Hard_Death >= 0){
P = 0;
while (P <= ParticuleCadence_Hard_Death) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Hard_Death.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Death);
NewParticule.x = Target_Hard_Death.x;
NewParticule.y = Target_Hard_Death.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Hard_Death);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["660033", "660000", "FF0000", "FF0033", "000000", "000033"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = ((Math.random() * (10 - 0)) + 0);
ModWidth = ((Math.random() * (10 - 0)) + 0);
ModHeight = ((Math.random() * (10 - 0)) + 0);
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = ((Math.random() * (360 - 0)) + 0);
NewParticule.alpha = (((Math.random() * (100 - 0)) + 0) / 100);
NewParticule.EvoS = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoW = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoH = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoR = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoA = ((Math.random() * (-1.4 - -10)) + -10);
NewParticule.DestA = 0;
NewParticule.gotoAndStop(114);
P = (P + 1);
};
ParticuleCadence_Hard_Death = 0;
} else {
ParticuleCadence_Hard_Death++;
};
}
public function Interrupt_Metal(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Metal);
}
public function ParticuleGenerator_Ectoplasme(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Ectoplasme >= 0){
P = 0;
while (P <= ParticuleCadence_Ectoplasme) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Ectoplasme.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Ectoplasme);
NewParticule.x = Target_Ectoplasme.x;
NewParticule.y = Target_Ectoplasme.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Ectoplasme);
} catch(e) {
};
};
if (Conteiner_Ectoplasme.UpDownY == null){
Conteiner_Ectoplasme.UpDownY = -32;
Conteiner_Ectoplasme.UpDownYValue = 0;
Conteiner_Ectoplasme.UpDownYDirection = 1;
};
Conteiner_Ectoplasme.UpDownYValue = (Conteiner_Ectoplasme.UpDownYValue + Conteiner_Ectoplasme.UpDownYDirection);
Conteiner_Ectoplasme.UpDownYValue = (Conteiner_Ectoplasme.UpDownYValue * 0.8);
Conteiner_Ectoplasme.UpDownY = (Conteiner_Ectoplasme.UpDownY + Conteiner_Ectoplasme.UpDownYValue);
if ((((Conteiner_Ectoplasme.UpDownY > 38.3)) && ((Conteiner_Ectoplasme.UpDownYDirection == 1)))){
Conteiner_Ectoplasme.UpDownYDirection = -1;
};
if ((((Conteiner_Ectoplasme.UpDownY < -32)) && ((Conteiner_Ectoplasme.UpDownYDirection == -1)))){
Conteiner_Ectoplasme.UpDownYDirection = 1;
};
NewParticule.y = (NewParticule.y + Conteiner_Ectoplasme.UpDownY);
ModScale = 7;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_Ectoplasme.UpDownRotation == null){
Conteiner_Ectoplasme.UpDownRotation = 0;
Conteiner_Ectoplasme.UpDownRotationValue = 0;
Conteiner_Ectoplasme.UpDownRotationDirection = 1;
};
Conteiner_Ectoplasme.UpDownRotationValue = (Conteiner_Ectoplasme.UpDownRotationValue + Conteiner_Ectoplasme.UpDownRotationDirection);
Conteiner_Ectoplasme.UpDownRotationValue = (Conteiner_Ectoplasme.UpDownRotationValue * 0.8);
Conteiner_Ectoplasme.UpDownRotation = (Conteiner_Ectoplasme.UpDownRotation + Conteiner_Ectoplasme.UpDownRotationValue);
if ((((Conteiner_Ectoplasme.UpDownRotation > 360)) && ((Conteiner_Ectoplasme.UpDownRotationDirection == 1)))){
Conteiner_Ectoplasme.UpDownRotationDirection = -1;
};
if ((((Conteiner_Ectoplasme.UpDownRotation < 0)) && ((Conteiner_Ectoplasme.UpDownRotationDirection == -1)))){
Conteiner_Ectoplasme.UpDownRotationDirection = 1;
};
NewParticule.rotation = Conteiner_Ectoplasme.UpDownRotation;
NewParticule.alpha = (100 / 100);
NewParticule.EvoW = 5.2;
NewParticule.EvoH = -5.3;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(15);
Teinte = new ColorTransform();
DirectColors = ["CCFFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Ectoplasme = 0;
} else {
ParticuleCadence_Ectoplasme++;
};
}
public function Interrupt_Never_Ending_Tunnel(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Never_Ending_Tunnel);
}
public function ParticuleGenerator_Deep_Impact(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Deep_Impact >= 0){
P = 0;
while (P <= ParticuleCadence_Deep_Impact) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Deep_Impact.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Deep_Impact);
NewParticule.x = Target_Deep_Impact.x;
NewParticule.y = Target_Deep_Impact.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Deep_Impact);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["000033", "003366", "006699", "00CCFF", "0099CC"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 4.4;
ModWidth = 1;
ModHeight = ((Math.random() * (6.5 - 1.2)) + 1.2);
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoR = 10;
NewParticule.EvoA = -7.8;
NewParticule.DestA = 0;
NewParticule.ChaosDW = 3.7;
NewParticule.ChaosDH = -6.1;
NewParticule.SpeedChaosVW = 0;
NewParticule.ChaosVW = 5.7;
NewParticule.gotoAndStop(102);
P = (P + 1);
};
ParticuleCadence_Deep_Impact = 0;
} else {
ParticuleCadence_Deep_Impact++;
};
}
public function ParticuleGenerator_Edelweis(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Edelweis >= 0){
P = 0;
while (P <= ParticuleCadence_Edelweis) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Edelweis.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Edelweis);
NewParticule.x = Target_Edelweis.x;
NewParticule.y = Target_Edelweis.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Edelweis);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["66CC99", "FFFFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
if (Conteiner_Edelweis.UpDownScaleEdelweiss == null){
Conteiner_Edelweis.UpDownScaleEdelweiss = 5.4;
Conteiner_Edelweis.UpDownScaleEdelweissValue = 0.07;
Conteiner_Edelweis.UpDownScaleEdelweissDirection = 1;
};
Conteiner_Edelweis.UpDownScaleEdelweiss = (Conteiner_Edelweis.UpDownScaleEdelweiss + (Conteiner_Edelweis.UpDownScaleEdelweissValue * Conteiner_Edelweis.UpDownScaleEdelweissDirection));
if ((((Conteiner_Edelweis.UpDownScaleEdelweiss > 6.8)) && ((Conteiner_Edelweis.UpDownScaleEdelweissDirection == 1)))){
Conteiner_Edelweis.UpDownScaleEdelweissDirection = -1;
Conteiner_Edelweis.UpDownScaleEdelweiss = 6.8;
};
if ((((Conteiner_Edelweis.UpDownScaleEdelweiss < 5.4)) && ((Conteiner_Edelweis.UpDownScaleEdelweissDirection == -1)))){
Conteiner_Edelweis.UpDownScaleEdelweissDirection = 1;
Conteiner_Edelweis.UpDownScaleEdelweiss = 5.4;
};
ModScale = Conteiner_Edelweis.UpDownScaleEdelweiss;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoR = 1.8;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(104);
P = (P + 1);
};
ParticuleCadence_Edelweis = 0;
} else {
ParticuleCadence_Edelweis++;
};
}
public function Interrupt_Tournesol(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Tournesol);
}
public function LoopParticule_Deep_Quadri(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Yellow(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Yellow);
}
public function Interrupt_Honey(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Honey);
}
public function LoopParticule_Zen(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
}
public function LoopParticule_Music(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
}
public function Interrupt_Tic_Fish(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Tic_Fish);
}
public function LoopParticule_Tournesol(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Bubble(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Bubble);
}
public function LoopParticule_Nenuphar(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + (_local2.ChaosVS + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
}
public function LoopParticule_Sonic(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Super_Nova(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Super_Nova);
}
public function Interrupt_High_Demake_Up(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_High_Demake_Up);
}
public function Interrupt_Sub_Zero_Combo(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Sub_Zero_Combo);
}
public function LoopParticule_Cloud(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VX = (_local2.VX + _local2.CVX);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
}
public function ParticuleGenerator_Music(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Music >= 0){
P = 0;
while (P <= ParticuleCadence_Music) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Music.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Music);
NewParticule.x = Target_Music.x;
NewParticule.y = Target_Music.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Music);
} catch(e) {
};
};
NewParticule.x = (NewParticule.x + ((Math.random() * (-19.2 - 14.8)) + 14.8));
ModScale = 1.6;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.VX = ((Math.random() * (8.5 - 2.7)) + 2.7);
NewParticule.EvoA = -3.9;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = -0.5;
NewParticule.gotoAndStop(84);
Teinte = new ColorTransform();
DirectColors = ["FFFF00", "CC9900", "FF9900", "FFCC33"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Music = 0;
} else {
ParticuleCadence_Music++;
};
}
public function ParticuleGenerator_Sonic(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Sonic >= 0){
P = 0;
while (P <= ParticuleCadence_Sonic) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Sonic.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Sonic);
NewParticule.x = Target_Sonic.x;
NewParticule.y = Target_Sonic.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Sonic);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_Sonic.UpDownRotation == null){
Conteiner_Sonic.UpDownRotation = 0;
Conteiner_Sonic.UpDownRotationValue = 0;
Conteiner_Sonic.UpDownRotationDirection = 1;
};
Conteiner_Sonic.UpDownRotationValue = (Conteiner_Sonic.UpDownRotationValue + Conteiner_Sonic.UpDownRotationDirection);
Conteiner_Sonic.UpDownRotationValue = (Conteiner_Sonic.UpDownRotationValue * 0.8);
Conteiner_Sonic.UpDownRotation = (Conteiner_Sonic.UpDownRotation + Conteiner_Sonic.UpDownRotationValue);
if ((((Conteiner_Sonic.UpDownRotation > 360)) && ((Conteiner_Sonic.UpDownRotationDirection == 1)))){
Conteiner_Sonic.UpDownRotationDirection = -1;
};
if ((((Conteiner_Sonic.UpDownRotation < 0)) && ((Conteiner_Sonic.UpDownRotationDirection == -1)))){
Conteiner_Sonic.UpDownRotationDirection = 1;
};
NewParticule.rotation = Conteiner_Sonic.UpDownRotation;
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 10;
if (Conteiner_Sonic.UpDownEvoR == null){
Conteiner_Sonic.UpDownEvoR = -10;
Conteiner_Sonic.UpDownEvoRValue = 0;
Conteiner_Sonic.UpDownEvoRDirection = 1;
};
Conteiner_Sonic.UpDownEvoRValue = (Conteiner_Sonic.UpDownEvoRValue + Conteiner_Sonic.UpDownEvoRDirection);
Conteiner_Sonic.UpDownEvoRValue = (Conteiner_Sonic.UpDownEvoRValue * 0.8);
Conteiner_Sonic.UpDownEvoR = (Conteiner_Sonic.UpDownEvoR + Conteiner_Sonic.UpDownEvoRValue);
if ((((Conteiner_Sonic.UpDownEvoR > 10)) && ((Conteiner_Sonic.UpDownEvoRDirection == 1)))){
Conteiner_Sonic.UpDownEvoRDirection = -1;
};
if ((((Conteiner_Sonic.UpDownEvoR < -10)) && ((Conteiner_Sonic.UpDownEvoRDirection == -1)))){
Conteiner_Sonic.UpDownEvoRDirection = 1;
};
NewParticule.EvoR = Conteiner_Sonic.UpDownEvoR;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(78);
Teinte = new ColorTransform();
DirectColors = ["3300CC", "3333CC", "3333FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Sonic = 0;
} else {
ParticuleCadence_Sonic++;
};
}
public function ParticuleGenerator_Spinal(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Spinal >= 0){
P = 0;
while (P <= ParticuleCadence_Spinal) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Spinal.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Spinal);
NewParticule.x = Target_Spinal.x;
NewParticule.y = Target_Spinal.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Spinal);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 0;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoW = -10;
NewParticule.EvoH = 10;
NewParticule.EvoR = 7.5;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(2);
Teinte = new ColorTransform();
DirectColors = ["3399CC", "66FFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Spinal = 0;
} else {
ParticuleCadence_Spinal++;
};
}
public function LoopParticule_Smiley(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.width <= _local2.DestT){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
}
public function ParticuleGenerator_Cloud(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Cloud >= 0){
P = 0;
while (P <= ParticuleCadence_Cloud) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Cloud.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Cloud);
NewParticule.x = Target_Cloud.x;
NewParticule.y = Target_Cloud.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Cloud);
} catch(e) {
};
};
ModScale = 3.7;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.CVX = ((Math.random() * (-0.5 - 1.6)) + 1.6);
NewParticule.EvoA = -1.6;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = -0.8;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.gotoAndStop(77);
Teinte = new ColorTransform();
DirectColors = ["FFFFFF", "99FFFF", "CCFFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Cloud = 0;
} else {
ParticuleCadence_Cloud++;
};
}
public function Interrupt_AirPulsar(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_AirPulsar);
}
public function ParticuleGenerator_Soul_Rotative(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Soul_Rotative >= 0){
P = 0;
while (P <= ParticuleCadence_Soul_Rotative) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Soul_Rotative.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Soul_Rotative);
NewParticule.x = Target_Soul_Rotative.x;
NewParticule.y = Target_Soul_Rotative.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Soul_Rotative);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_Soul_Rotative.UpDownRotation == null){
Conteiner_Soul_Rotative.UpDownRotation = 0;
Conteiner_Soul_Rotative.UpDownRotationValue = 18;
Conteiner_Soul_Rotative.UpDownRotationDirection = 1;
};
Conteiner_Soul_Rotative.UpDownRotation = (Conteiner_Soul_Rotative.UpDownRotation + (Conteiner_Soul_Rotative.UpDownRotationValue * Conteiner_Soul_Rotative.UpDownRotationDirection));
if ((((Conteiner_Soul_Rotative.UpDownRotation > 360)) && ((Conteiner_Soul_Rotative.UpDownRotationDirection == 1)))){
Conteiner_Soul_Rotative.UpDownRotationDirection = -1;
Conteiner_Soul_Rotative.UpDownRotation = 360;
};
if ((((Conteiner_Soul_Rotative.UpDownRotation < 0)) && ((Conteiner_Soul_Rotative.UpDownRotationDirection == -1)))){
Conteiner_Soul_Rotative.UpDownRotationDirection = 1;
Conteiner_Soul_Rotative.UpDownRotation = 0;
};
NewParticule.rotation = Conteiner_Soul_Rotative.UpDownRotation;
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = -6.5;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVW = 0;
NewParticule.ChaosVW = [-3.3, 10];
NewParticule.SpeedChaosVH = 0;
NewParticule.ChaosVH = [-10, 10];
NewParticule.gotoAndStop(69);
Teinte = new ColorTransform();
DirectColors = ["660099"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Soul_Rotative = 0;
} else {
ParticuleCadence_Soul_Rotative++;
};
}
public function LoopParticule_High_Demake_Up(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.x = (_local2.x + ((Math.random() * (_local2.ChaosDX[1] - _local2.ChaosDX[0])) + _local2.ChaosDX[0]));
_local2.y = (_local2.y + ((Math.random() * (_local2.ChaosDY[1] - _local2.ChaosDY[0])) + _local2.ChaosDY[0]));
}
public function LoopParticule_Hard_Star(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Buzz_Bble(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Buzz_Bble >= 0){
P = 0;
while (P <= ParticuleCadence_Buzz_Bble) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Buzz_Bble.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Buzz_Bble);
NewParticule.x = Target_Buzz_Bble.x;
NewParticule.y = Target_Buzz_Bble.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Buzz_Bble);
} catch(e) {
};
};
NewParticule.x = (NewParticule.x + ((Math.random() * (25.5 - -32)) + -32));
NewParticule.y = (NewParticule.y + ((Math.random() * (21.2 - -34.1)) + -34.1));
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.ChaosDX = [-3, 3];
NewParticule.ChaosDY = [-3, 3];
NewParticule.gotoAndStop(51);
Teinte = new ColorTransform();
DirectColors = ["6666CC", "FFFF00", "3300CC", "FFFF99"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Buzz_Bble = 0;
} else {
ParticuleCadence_Buzz_Bble++;
};
}
public function Interrupt_Incal_Sun(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Incal_Sun);
}
public function Interrupt_Earth_Rotative(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Earth_Rotative);
}
public function Interrupt_Hard_Star(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Star);
}
public function LoopParticule_AirPulsar(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VX = (_local2.VX + _local2.CVX);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Sub_Zero_Combo(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Chaos_Ring(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + (_local2.ChaosVS + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + (_local2.ChaosVR + ((Math.random() * 2) - 1)));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
public function LoopParticule_Incal_Sun(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local3 = _local2.rotation;
_local2.rotation = 0;
if (_local2.UpDownSpeedChaosVS == null){
_local2.UpDownSpeedChaosVS = _local2.ChaosVS[0];
_local2.UpDownSpeedChaosVSValue = 0;
_local2.UpDownSpeedChaosVSDirection = 1;
};
_local2.UpDownSpeedChaosVSValue = (_local2.UpDownSpeedChaosVSValue + _local2.UpDownSpeedChaosVSDirection);
_local2.UpDownSpeedChaosVSValue = (_local2.UpDownSpeedChaosVSValue * 0.8);
_local2.UpDownSpeedChaosVS = (_local2.UpDownSpeedChaosVS + _local2.UpDownSpeedChaosVSValue);
if ((((_local2.UpDownSpeedChaosVS > _local2.ChaosVS[1])) && ((_local2.UpDownSpeedChaosVSDirection == 1)))){
_local2.UpDownSpeedChaosVSDirection = -1;
_local2.UpDownSpeedChaosVS = _local2.ChaosVS[1];
};
if ((((_local2.UpDownSpeedChaosVS < _local2.ChaosVS[0])) && ((_local2.UpDownSpeedChaosVSDirection == -1)))){
_local2.UpDownSpeedChaosVSDirection = 1;
_local2.UpDownSpeedChaosVS = _local2.ChaosVS[0];
};
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + _local2.UpDownSpeedChaosVS);
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
}
public function LoopParticule_Fire(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.VX = ((_local2.VX) || (0));
_local2.x = (_local2.x + _local2.VX);
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.width <= _local2.DestT){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Chaos_Text(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Chaos_Text >= 0){
P = 0;
while (P <= ParticuleCadence_Chaos_Text) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Chaos_Text.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Text);
NewParticule.x = Target_Chaos_Text.x;
NewParticule.y = Target_Chaos_Text.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Text);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["66CC66"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = 0.1;
NewParticule.DestP = ((Math.random() * (0 - 39.5)) + 39.5);
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = 0;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = 0;
NewParticule.gotoAndStop(80);
NewParticule.leTexte = "My Text";
P = (P + 1);
};
ParticuleCadence_Chaos_Text = 0;
} else {
ParticuleCadence_Chaos_Text++;
};
}
public function Interrupt_Hard_Honey(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Honey);
}
public function ParticuleGenerator_Medusa(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Medusa >= 0){
P = 0;
while (P <= ParticuleCadence_Medusa) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Medusa.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Medusa);
NewParticule.x = Target_Medusa.x;
NewParticule.y = Target_Medusa.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Medusa);
} catch(e) {
};
};
ModScale = 5.7;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 10;
if (Conteiner_Medusa.UpDownEvoR == null){
Conteiner_Medusa.UpDownEvoR = -3.4;
Conteiner_Medusa.UpDownEvoRValue = 0.33;
Conteiner_Medusa.UpDownEvoRDirection = 1;
};
Conteiner_Medusa.UpDownEvoR = (Conteiner_Medusa.UpDownEvoR + (Conteiner_Medusa.UpDownEvoRValue * Conteiner_Medusa.UpDownEvoRDirection));
if ((((Conteiner_Medusa.UpDownEvoR > 3.2)) && ((Conteiner_Medusa.UpDownEvoRDirection == 1)))){
Conteiner_Medusa.UpDownEvoRDirection = -1;
Conteiner_Medusa.UpDownEvoR = 3.2;
};
if ((((Conteiner_Medusa.UpDownEvoR < -3.4)) && ((Conteiner_Medusa.UpDownEvoRDirection == -1)))){
Conteiner_Medusa.UpDownEvoRDirection = 1;
Conteiner_Medusa.UpDownEvoR = -3.4;
};
NewParticule.EvoR = Conteiner_Medusa.UpDownEvoR;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(90);
Teinte = new ColorTransform();
DirectColors = ["660099", "660066", "6666CC", "6633CC", "6699CC"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Medusa = 0;
} else {
ParticuleCadence_Medusa++;
};
}
public function LoopParticule_Earth_Rotative(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Bric_Broc(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Bric_Broc >= 0){
P = 0;
while (P <= ParticuleCadence_Bric_Broc) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Bric_Broc.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Bric_Broc);
NewParticule.x = Target_Bric_Broc.x;
NewParticule.y = Target_Bric_Broc.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Bric_Broc);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.VX = ((Math.random() * (6.9 - -5.7)) + -5.7);
NewParticule.VY = ((Math.random() * (-0.5 - -19.3)) + -19.3);
NewParticule.CVY = 1.2;
NewParticule.EvoR = ((Math.random() * (4.7 - -4.7)) + -4.7);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(97);
Teinte = new ColorTransform();
DirectColors = ["FFCC00", "FF3300", "6666CC"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Bric_Broc = 0;
} else {
ParticuleCadence_Bric_Broc++;
};
}
public function Interrupt_Crypted_Radio(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Crypted_Radio);
}
public function ParticuleGenerator_Tic_Fish(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Tic_Fish >= 0){
P = 0;
while (P <= ParticuleCadence_Tic_Fish) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Tic_Fish.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Tic_Fish);
NewParticule.x = Target_Tic_Fish.x;
NewParticule.y = Target_Tic_Fish.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Tic_Fish);
} catch(e) {
};
};
if (Conteiner_Tic_Fish.UpDownY == null){
Conteiner_Tic_Fish.UpDownY = 19.6;
Conteiner_Tic_Fish.UpDownYValue = 0;
Conteiner_Tic_Fish.UpDownYDirection = 1;
};
Conteiner_Tic_Fish.UpDownYValue = (Conteiner_Tic_Fish.UpDownYValue + Conteiner_Tic_Fish.UpDownYDirection);
Conteiner_Tic_Fish.UpDownYValue = (Conteiner_Tic_Fish.UpDownYValue * 0.8);
Conteiner_Tic_Fish.UpDownY = (Conteiner_Tic_Fish.UpDownY + Conteiner_Tic_Fish.UpDownYValue);
if ((((Conteiner_Tic_Fish.UpDownY > 134.8)) && ((Conteiner_Tic_Fish.UpDownYDirection == 1)))){
Conteiner_Tic_Fish.UpDownYDirection = -1;
};
if ((((Conteiner_Tic_Fish.UpDownY < 19.6)) && ((Conteiner_Tic_Fish.UpDownYDirection == -1)))){
Conteiner_Tic_Fish.UpDownYDirection = 1;
};
NewParticule.y = (NewParticule.y + Conteiner_Tic_Fish.UpDownY);
ModScale = 4.1;
if (Conteiner_Tic_Fish.UpDownWidth == null){
Conteiner_Tic_Fish.UpDownWidth = 0;
Conteiner_Tic_Fish.UpDownWidthValue = 0;
Conteiner_Tic_Fish.UpDownWidthDirection = 1;
};
Conteiner_Tic_Fish.UpDownWidthValue = (Conteiner_Tic_Fish.UpDownWidthValue + Conteiner_Tic_Fish.UpDownWidthDirection);
Conteiner_Tic_Fish.UpDownWidthValue = (Conteiner_Tic_Fish.UpDownWidthValue * 0.8);
Conteiner_Tic_Fish.UpDownWidth = (Conteiner_Tic_Fish.UpDownWidth + Conteiner_Tic_Fish.UpDownWidthValue);
if ((((Conteiner_Tic_Fish.UpDownWidth > 10)) && ((Conteiner_Tic_Fish.UpDownWidthDirection == 1)))){
Conteiner_Tic_Fish.UpDownWidthDirection = -1;
};
if ((((Conteiner_Tic_Fish.UpDownWidth < 0)) && ((Conteiner_Tic_Fish.UpDownWidthDirection == -1)))){
Conteiner_Tic_Fish.UpDownWidthDirection = 1;
};
ModWidth = Conteiner_Tic_Fish.UpDownWidth;
if (Conteiner_Tic_Fish.UpDownHeight == null){
Conteiner_Tic_Fish.UpDownHeight = 6.7;
Conteiner_Tic_Fish.UpDownHeightValue = 0;
Conteiner_Tic_Fish.UpDownHeightDirection = 1;
};
Conteiner_Tic_Fish.UpDownHeightValue = (Conteiner_Tic_Fish.UpDownHeightValue + Conteiner_Tic_Fish.UpDownHeightDirection);
Conteiner_Tic_Fish.UpDownHeightValue = (Conteiner_Tic_Fish.UpDownHeightValue * 0.8);
Conteiner_Tic_Fish.UpDownHeight = (Conteiner_Tic_Fish.UpDownHeight + Conteiner_Tic_Fish.UpDownHeightValue);
if ((((Conteiner_Tic_Fish.UpDownHeight > 10)) && ((Conteiner_Tic_Fish.UpDownHeightDirection == 1)))){
Conteiner_Tic_Fish.UpDownHeightDirection = -1;
};
if ((((Conteiner_Tic_Fish.UpDownHeight < 6.7)) && ((Conteiner_Tic_Fish.UpDownHeightDirection == -1)))){
Conteiner_Tic_Fish.UpDownHeightDirection = 1;
};
ModHeight = Conteiner_Tic_Fish.UpDownHeight;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(85);
Teinte = new ColorTransform();
DirectColors = ["3366FF", "3399FF", "3366CC"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Tic_Fish = 0;
} else {
ParticuleCadence_Tic_Fish++;
};
}
public function Interrupt_Shuriken(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Shuriken);
}
public function LoopParticule_Zip(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.y = (_local2.y + _local2.DY);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Seizure_Spiral(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Seizure_Spiral);
}
public function ParticuleGenerator_Hand_Chain(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Hand_Chain >= 0){
P = 0;
while (P <= ParticuleCadence_Hand_Chain) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Hand_Chain.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Hand_Chain);
NewParticule.x = Target_Hand_Chain.x;
NewParticule.y = Target_Hand_Chain.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Hand_Chain);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["336666", "339966"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.DX = 10.7;
NewParticule.DY = 10.2;
NewParticule.CVX = -1.9;
NewParticule.EvoR = 6.9;
NewParticule.EvoA = -0.3;
NewParticule.DestP = 18.9;
NewParticule.ChaosDS = 0;
NewParticule.SpeedChaosVA = 0;
NewParticule.ChaosVA = 0;
NewParticule.gotoAndStop(105);
P = (P + 1);
};
ParticuleCadence_Hand_Chain = 0;
} else {
ParticuleCadence_Hand_Chain++;
};
}
public function ParticuleGenerator_Shower(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Shower >= 0){
P = 0;
while (P <= ParticuleCadence_Shower) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Shower.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Shower);
NewParticule.x = Target_Shower.x;
NewParticule.y = Target_Shower.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Shower);
} catch(e) {
};
};
ModScale = 2.7;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.VX = 5.9;
NewParticule.VY = -2.5;
NewParticule.CVY = 1.2;
NewParticule.CVX = -0.2;
NewParticule.EvoS = 0.3;
NewParticule.EvoR = ((Math.random() * (10 - -10)) + -10);
NewParticule.EvoA = ((Math.random() * (-3.1 - -6.1)) + -6.1);
NewParticule.DestA = 0;
NewParticule.gotoAndStop(90);
Teinte = new ColorTransform();
DirectColors = ["CCCCFF", "99CCFF", "99FFFF", "CCFFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Shower = 0;
} else {
ParticuleCadence_Shower++;
};
}
public function ParticuleGenerator_Rainbow_Point(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Rainbow_Point >= 0){
P = 0;
while (P <= ParticuleCadence_Rainbow_Point) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Rainbow_Point.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Rainbow_Point);
NewParticule.x = Target_Rainbow_Point.x;
NewParticule.y = Target_Rainbow_Point.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Rainbow_Point);
} catch(e) {
};
};
ModScale = 0;
ModWidth = 0.2;
ModHeight = 0.2;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -1.8;
NewParticule.DestP = 50;
NewParticule.DestA = 0;
NewParticule.ChaosDX = [-0.9, 0.8];
NewParticule.ChaosDY = [-0.8, 0.7];
NewParticule.gotoAndStop(2);
Teinte = new ColorTransform();
DirectColors = ["FFFFFF", "FF00FF", "FFFF00", "0000FF", "00FF00", "FF0000"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Rainbow_Point = 7;
} else {
ParticuleCadence_Rainbow_Point++;
};
}
public function LoopParticule_Hard_Number(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Triforce(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Triforce);
}
public function LoopParticule_Seizure_Spiral(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Comptability(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Comptability >= 0){
P = 0;
while (P <= ParticuleCadence_Comptability) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Comptability.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Comptability);
NewParticule.x = Target_Comptability.x;
NewParticule.y = Target_Comptability.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Comptability);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.ChaosDX = [-10, 10];
NewParticule.ChaosDY = [-10, 10];
NewParticule.gotoAndStop(72);
Teinte = new ColorTransform();
DirectColors = ["CC9900", "FF9900", "FFCC66", "FFCC33"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Comptability = 0;
} else {
ParticuleCadence_Comptability++;
};
}
public function Interrupt_Prisme(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Prisme);
}
public function Interrupt_Comptability(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Comptability);
}
public function ParticuleGenerator_Chaos_Glow(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Chaos_Glow >= 0){
P = 0;
while (P <= ParticuleCadence_Chaos_Glow) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Chaos_Glow.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Glow);
NewParticule.x = Target_Chaos_Glow.x;
NewParticule.y = Target_Chaos_Glow.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Chaos_Glow);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["339900"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = 0.1;
NewParticule.DestP = ((Math.random() * (0 - 39.5)) + 39.5);
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = 0;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = 0;
NewParticule.gotoAndStop(45);
P = (P + 1);
};
ParticuleCadence_Chaos_Glow = 0;
} else {
ParticuleCadence_Chaos_Glow++;
};
}
public function LoopParticule_Column_Crisal(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.x = (_local2.x + _local2.DX);
_local2.y = (_local2.y + _local2.DY);
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
if (_local2.UpDownx == null){
_local2.UpDownx = _local2.ChaosDX[0];
_local2.UpDownxValue = 0;
_local2.UpDownxDirection = 1;
};
_local2.UpDownxValue = (_local2.UpDownxValue + _local2.UpDownxDirection);
_local2.UpDownxValue = (_local2.UpDownxValue * 0.8);
_local2.UpDownx = (_local2.UpDownx + _local2.UpDownxValue);
if ((((_local2.UpDownx > _local2.ChaosDX[1])) && ((_local2.UpDownxDirection == 1)))){
_local2.UpDownxDirection = -1;
_local2.UpDownx = _local2.ChaosDX[1];
};
if ((((_local2.UpDownx < _local2.ChaosDX[0])) && ((_local2.UpDownxDirection == -1)))){
_local2.UpDownxDirection = 1;
_local2.UpDownx = _local2.ChaosDX[0];
};
_local2.x = (_local2.x + _local2.UpDownx);
if (_local2.UpDowny == null){
_local2.UpDowny = _local2.ChaosDY[0];
_local2.UpDownyValue = 0;
_local2.UpDownyDirection = 1;
};
_local2.UpDownyValue = (_local2.UpDownyValue + _local2.UpDownyDirection);
_local2.UpDownyValue = (_local2.UpDownyValue * 0.8);
_local2.UpDowny = (_local2.UpDowny + _local2.UpDownyValue);
if ((((_local2.UpDowny > _local2.ChaosDY[1])) && ((_local2.UpDownyDirection == 1)))){
_local2.UpDownyDirection = -1;
_local2.UpDowny = _local2.ChaosDY[1];
};
if ((((_local2.UpDowny < _local2.ChaosDY[0])) && ((_local2.UpDownyDirection == -1)))){
_local2.UpDownyDirection = 1;
_local2.UpDowny = _local2.ChaosDY[0];
};
_local2.y = (_local2.y + _local2.UpDowny);
}
public function Interrupt_Redding(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Redding);
}
public function ParticuleGenerator_Pale_Rotative(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Pale_Rotative >= 0){
P = 0;
while (P <= ParticuleCadence_Pale_Rotative) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Pale_Rotative.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Pale_Rotative);
NewParticule.x = Target_Pale_Rotative.x;
NewParticule.y = Target_Pale_Rotative.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Pale_Rotative);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_Pale_Rotative.UpDownRotation == null){
Conteiner_Pale_Rotative.UpDownRotation = 0;
Conteiner_Pale_Rotative.UpDownRotationValue = 18;
Conteiner_Pale_Rotative.UpDownRotationDirection = 1;
};
Conteiner_Pale_Rotative.UpDownRotation = (Conteiner_Pale_Rotative.UpDownRotation + (Conteiner_Pale_Rotative.UpDownRotationValue * Conteiner_Pale_Rotative.UpDownRotationDirection));
if ((((Conteiner_Pale_Rotative.UpDownRotation > 360)) && ((Conteiner_Pale_Rotative.UpDownRotationDirection == 1)))){
Conteiner_Pale_Rotative.UpDownRotationDirection = -1;
Conteiner_Pale_Rotative.UpDownRotation = 360;
};
if ((((Conteiner_Pale_Rotative.UpDownRotation < 0)) && ((Conteiner_Pale_Rotative.UpDownRotationDirection == -1)))){
Conteiner_Pale_Rotative.UpDownRotationDirection = 1;
Conteiner_Pale_Rotative.UpDownRotation = 0;
};
NewParticule.rotation = Conteiner_Pale_Rotative.UpDownRotation;
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 10;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(62);
Teinte = new ColorTransform();
DirectColors = ["6699FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Pale_Rotative = 0;
} else {
ParticuleCadence_Pale_Rotative++;
};
}
public function ParticuleGenerator_Clic_Bubble(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Clic_Bubble >= 0){
P = 0;
while (P <= ParticuleCadence_Clic_Bubble) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Clic_Bubble.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Clic_Bubble);
NewParticule.x = Target_Clic_Bubble.x;
NewParticule.y = Target_Clic_Bubble.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Clic_Bubble);
} catch(e) {
};
};
ModScale = 4.9;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.EvoS = 1.5;
if (Conteiner_Clic_Bubble.UpDownEvoR == null){
Conteiner_Clic_Bubble.UpDownEvoR = -10;
Conteiner_Clic_Bubble.UpDownEvoRValue = 1;
Conteiner_Clic_Bubble.UpDownEvoRDirection = 1;
};
Conteiner_Clic_Bubble.UpDownEvoR = (Conteiner_Clic_Bubble.UpDownEvoR + (Conteiner_Clic_Bubble.UpDownEvoRValue * Conteiner_Clic_Bubble.UpDownEvoRDirection));
if ((((Conteiner_Clic_Bubble.UpDownEvoR > 10)) && ((Conteiner_Clic_Bubble.UpDownEvoRDirection == 1)))){
Conteiner_Clic_Bubble.UpDownEvoRDirection = -1;
Conteiner_Clic_Bubble.UpDownEvoR = 10;
};
if ((((Conteiner_Clic_Bubble.UpDownEvoR < -10)) && ((Conteiner_Clic_Bubble.UpDownEvoRDirection == -1)))){
Conteiner_Clic_Bubble.UpDownEvoRDirection = 1;
Conteiner_Clic_Bubble.UpDownEvoR = -10;
};
NewParticule.EvoR = Conteiner_Clic_Bubble.UpDownEvoR;
NewParticule.EvoA = -5;
NewParticule.DestT = 295.6;
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = [-0.9, 1.6];
NewParticule.SpeedChaosVA = 0;
NewParticule.ChaosVA = [-10, 10];
NewParticule.gotoAndStop(21);
Teinte = new ColorTransform();
DirectColors = ["0000FF", "6699FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Clic_Bubble = -3.8;
} else {
ParticuleCadence_Clic_Bubble++;
};
}
public function LoopParticule_Green(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Vortex(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Vortex >= 0){
P = 0;
while (P <= ParticuleCadence_Vortex) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Vortex.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Vortex);
NewParticule.x = Target_Vortex.x;
NewParticule.y = Target_Vortex.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Vortex);
} catch(e) {
};
};
ModScale = 10;
ModWidth = 10;
ModHeight = 10;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_Vortex.UpDownRotation == null){
Conteiner_Vortex.UpDownRotation = 0;
Conteiner_Vortex.UpDownRotationValue = 18;
Conteiner_Vortex.UpDownRotationDirection = 1;
};
Conteiner_Vortex.UpDownRotation = (Conteiner_Vortex.UpDownRotation + (Conteiner_Vortex.UpDownRotationValue * Conteiner_Vortex.UpDownRotationDirection));
if ((((Conteiner_Vortex.UpDownRotation > 360)) && ((Conteiner_Vortex.UpDownRotationDirection == 1)))){
Conteiner_Vortex.UpDownRotationDirection = -1;
Conteiner_Vortex.UpDownRotation = 360;
};
if ((((Conteiner_Vortex.UpDownRotation < 0)) && ((Conteiner_Vortex.UpDownRotationDirection == -1)))){
Conteiner_Vortex.UpDownRotationDirection = 1;
Conteiner_Vortex.UpDownRotation = 0;
};
NewParticule.rotation = Conteiner_Vortex.UpDownRotation;
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = -10;
if (Conteiner_Vortex.UpDownEvoA == null){
Conteiner_Vortex.UpDownEvoA = -10;
Conteiner_Vortex.UpDownEvoAValue = 0.44;
Conteiner_Vortex.UpDownEvoADirection = 1;
};
Conteiner_Vortex.UpDownEvoA = (Conteiner_Vortex.UpDownEvoA + (Conteiner_Vortex.UpDownEvoAValue * Conteiner_Vortex.UpDownEvoADirection));
if ((((Conteiner_Vortex.UpDownEvoA > -1.2)) && ((Conteiner_Vortex.UpDownEvoADirection == 1)))){
Conteiner_Vortex.UpDownEvoADirection = -1;
Conteiner_Vortex.UpDownEvoA = -1.2;
};
if ((((Conteiner_Vortex.UpDownEvoA < -10)) && ((Conteiner_Vortex.UpDownEvoADirection == -1)))){
Conteiner_Vortex.UpDownEvoADirection = 1;
Conteiner_Vortex.UpDownEvoA = -10;
};
NewParticule.EvoA = Conteiner_Vortex.UpDownEvoA;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(90);
Teinte = new ColorTransform();
DirectColors = ["330066", "330099", "3300CC", "3366FF", "3333FF", "3399FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Vortex = 0;
} else {
ParticuleCadence_Vortex++;
};
}
public function ParticuleGenerator_Shuriken(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Shuriken >= 0){
P = 0;
while (P <= ParticuleCadence_Shuriken) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Shuriken.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Shuriken);
NewParticule.x = Target_Shuriken.x;
NewParticule.y = Target_Shuriken.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Shuriken);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.rotation = new Array(89.7, 1.9)[Math.round((Math.random() * 1))];
NewParticule.alpha = (100 / 100);
NewParticule.EvoW = 10;
NewParticule.EvoR = -3.4;
NewParticule.EvoA = -6.6;
NewParticule.DestP = 19.8;
NewParticule.gotoAndStop(8);
Teinte = new ColorTransform();
DirectColors = ["6666FF", "66CCFF", "0099FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Shuriken = 4.8;
} else {
ParticuleCadence_Shuriken++;
};
}
public function Next(){
var _local1 = this;
_local1[("Interrupt_" + Nom)]();
}
public function ParticuleGenerator_Green(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Green >= 0){
P = 0;
while (P <= ParticuleCadence_Green) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Green.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Green);
NewParticule.x = Target_Green.x;
NewParticule.y = Target_Green.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Green);
} catch(e) {
};
};
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 3;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(1);
Teinte = new ColorTransform();
DirectColors = ["66FF00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Green = 0;
} else {
ParticuleCadence_Green++;
};
}
public function Interrupt_Chaos_Pyra(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Chaos_Pyra);
}
public function ParticuleGenerator_Triforce(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Triforce >= 0){
P = 0;
while (P <= ParticuleCadence_Triforce) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Triforce.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Triforce);
NewParticule.x = Target_Triforce.x;
NewParticule.y = Target_Triforce.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Triforce);
} catch(e) {
};
};
ModScale = 2.8;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = 2.4;
NewParticule.EvoA = -7.2;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVS = 0;
NewParticule.ChaosVS = 0;
NewParticule.gotoAndStop(63);
Teinte = new ColorTransform();
DirectColors = ["FFCC00", "FFFF33", "FFFF00"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Triforce = 0;
} else {
ParticuleCadence_Triforce++;
};
}
public function Interrupt_Afternoon_Star(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Afternoon_Star);
}
public function Interrupt_Watching(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Watching);
}
public function Interrupt_Vinyl(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Vinyl);
}
public function LoopParticule_Afternoon_Star(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVW = (_local2.SpeedChaosVW + (_local2.ChaosVW + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVW);
_local2.rotation = _local3;
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + (_local2.ChaosVR + ((Math.random() * 2) - 1)));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
public function LoopParticule_Sound_Cast(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + ((Math.random() * (_local2.ChaosVX[1] - _local2.ChaosVX[0])) + _local2.ChaosVX[0]));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + (_local2.ChaosVS + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
}
public function Interrupt_Hard_Love(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Love);
}
public function LoopParticule_Chaos_Plag(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + (_local2.ChaosVS + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + (_local2.ChaosVR + ((Math.random() * 2) - 1)));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
public function ParticuleGenerator_Lyla_Windows(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Lyla_Windows >= 0){
P = 0;
while (P <= ParticuleCadence_Lyla_Windows) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Lyla_Windows.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Lyla_Windows);
NewParticule.x = Target_Lyla_Windows.x;
NewParticule.y = Target_Lyla_Windows.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Lyla_Windows);
} catch(e) {
};
};
NewParticule.x = (NewParticule.x + new Array(34, -36.3)[Math.round((Math.random() * 1))]);
NewParticule.y = (NewParticule.y + new Array(34, -36.3)[Math.round((Math.random() * 1))]);
ModScale = 4.9;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = -2.9;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(12);
Teinte = new ColorTransform();
DirectColors = ["CC66FF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Lyla_Windows = 0;
} else {
ParticuleCadence_Lyla_Windows++;
};
}
public function ParticuleGenerator_Beetle(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Beetle >= 0){
P = 0;
while (P <= ParticuleCadence_Beetle) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Beetle.addChild(NewParticule);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Beetle);
NewParticule.x = Target_Beetle.x;
NewParticule.y = Target_Beetle.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Beetle);
} catch(e) {
};
};
ModScale = 0.4;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.DX = new Array(-9, 9)[Math.round((Math.random() * 1))];
NewParticule.DY = new Array(-9.2, 9.1)[Math.round((Math.random() * 1))];
NewParticule.CVY = new Array(-2, 2)[Math.round((Math.random() * 1))];
NewParticule.EvoA = -8.1;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(4);
Teinte = new ColorTransform();
DirectColors = ["333399", "663399"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Beetle = 4.8;
} else {
ParticuleCadence_Beetle++;
};
}
public function Interrupt_Lyla_Windows(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Lyla_Windows);
}
public function ParticuleGenerator_Zen(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Zen >= 0){
P = 0;
while (P <= ParticuleCadence_Zen) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Zen.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Zen);
NewParticule.x = Target_Zen.x;
NewParticule.y = Target_Zen.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Zen);
} catch(e) {
};
};
NewParticule.x = (NewParticule.x + ((Math.random() * (-25.6 - 52.5)) + 52.5));
NewParticule.y = (NewParticule.y + ((Math.random() * (-25.6 - 68.2)) + 68.2));
ModScale = 3;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoA = -2.8;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVX = 0;
NewParticule.ChaosVX = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = 0;
NewParticule.gotoAndStop(88);
Teinte = new ColorTransform();
DirectColors = ["6633CC"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Zen = 0;
} else {
ParticuleCadence_Zen++;
};
}
public function LoopParticule_Hard_Love(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function LoopParticule_Rose_Rotative(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Cosmetic_Hypno(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Cosmetic_Hypno);
}
public function Interrupt_Flower_Cube(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Flower_Cube);
}
public function ParticuleGenerator_Hypnotica(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Hypnotica >= 0){
P = 0;
while (P <= ParticuleCadence_Hypnotica) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Hypnotica.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Hypnotica);
NewParticule.x = Target_Hypnotica.x;
NewParticule.y = Target_Hypnotica.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Hypnotica);
} catch(e) {
};
};
NewParticule.x = (NewParticule.x + ((Math.random() * (51.6 - -52.8)) + -52.8));
NewParticule.y = (NewParticule.y + ((Math.random() * (51.6 - -52.8)) + -52.8));
ModScale = 7.8;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = -3.5;
NewParticule.EvoR = ((Math.random() * (-4.6 - -10)) + -10);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(79);
Teinte = new ColorTransform();
DirectColors = ["FFFFFF", "660099"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Hypnotica = 0;
} else {
ParticuleCadence_Hypnotica++;
};
}
public function ParticuleGenerator_StormPulsar(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_StormPulsar >= 0){
P = 0;
while (P <= ParticuleCadence_StormPulsar) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_StormPulsar.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_StormPulsar);
NewParticule.x = Target_StormPulsar.x;
NewParticule.y = Target_StormPulsar.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_StormPulsar);
} catch(e) {
};
};
if (Conteiner_StormPulsar.UpDownScale == null){
Conteiner_StormPulsar.UpDownScale = 0;
Conteiner_StormPulsar.UpDownScaleValue = 0;
Conteiner_StormPulsar.UpDownScaleDirection = 1;
};
Conteiner_StormPulsar.UpDownScaleValue = (Conteiner_StormPulsar.UpDownScaleValue + Conteiner_StormPulsar.UpDownScaleDirection);
Conteiner_StormPulsar.UpDownScaleValue = (Conteiner_StormPulsar.UpDownScaleValue * 0.8);
Conteiner_StormPulsar.UpDownScale = (Conteiner_StormPulsar.UpDownScale + Conteiner_StormPulsar.UpDownScaleValue);
if ((((Conteiner_StormPulsar.UpDownScale > 10)) && ((Conteiner_StormPulsar.UpDownScaleDirection == 1)))){
Conteiner_StormPulsar.UpDownScaleDirection = -1;
};
if ((((Conteiner_StormPulsar.UpDownScale < 0)) && ((Conteiner_StormPulsar.UpDownScaleDirection == -1)))){
Conteiner_StormPulsar.UpDownScaleDirection = 1;
};
ModScale = Conteiner_StormPulsar.UpDownScale;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
if (Conteiner_StormPulsar.UpDownRotation == null){
Conteiner_StormPulsar.UpDownRotation = 0;
Conteiner_StormPulsar.UpDownRotationValue = 0;
Conteiner_StormPulsar.UpDownRotationDirection = 1;
};
Conteiner_StormPulsar.UpDownRotationValue = (Conteiner_StormPulsar.UpDownRotationValue + Conteiner_StormPulsar.UpDownRotationDirection);
Conteiner_StormPulsar.UpDownRotationValue = (Conteiner_StormPulsar.UpDownRotationValue * 0.8);
Conteiner_StormPulsar.UpDownRotation = (Conteiner_StormPulsar.UpDownRotation + Conteiner_StormPulsar.UpDownRotationValue);
if ((((Conteiner_StormPulsar.UpDownRotation > 74.2)) && ((Conteiner_StormPulsar.UpDownRotationDirection == 1)))){
Conteiner_StormPulsar.UpDownRotationDirection = -1;
};
if ((((Conteiner_StormPulsar.UpDownRotation < 0)) && ((Conteiner_StormPulsar.UpDownRotationDirection == -1)))){
Conteiner_StormPulsar.UpDownRotationDirection = 1;
};
NewParticule.rotation = Conteiner_StormPulsar.UpDownRotation;
if (Conteiner_StormPulsar.UpDownAlpha == null){
Conteiner_StormPulsar.UpDownAlpha = 9.6;
Conteiner_StormPulsar.UpDownAlphaValue = 0;
Conteiner_StormPulsar.UpDownAlphaDirection = 1;
};
Conteiner_StormPulsar.UpDownAlphaValue = (Conteiner_StormPulsar.UpDownAlphaValue + Conteiner_StormPulsar.UpDownAlphaDirection);
Conteiner_StormPulsar.UpDownAlphaValue = (Conteiner_StormPulsar.UpDownAlphaValue * 0.8);
Conteiner_StormPulsar.UpDownAlpha = (Conteiner_StormPulsar.UpDownAlpha + Conteiner_StormPulsar.UpDownAlphaValue);
if ((((Conteiner_StormPulsar.UpDownAlpha > 100)) && ((Conteiner_StormPulsar.UpDownAlphaDirection == 1)))){
Conteiner_StormPulsar.UpDownAlphaDirection = -1;
};
if ((((Conteiner_StormPulsar.UpDownAlpha < 9.6)) && ((Conteiner_StormPulsar.UpDownAlphaDirection == -1)))){
Conteiner_StormPulsar.UpDownAlphaDirection = 1;
};
NewParticule.alpha = (Conteiner_StormPulsar.UpDownAlpha / 100);
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVR = 0;
NewParticule.ChaosVR = [-2.5, 3.2];
NewParticule.gotoAndStop(43);
Teinte = new ColorTransform();
DirectColors = ["CCFF00", "FFFF00", "FFFF66", "FFFFCC", "FFFFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_StormPulsar = 0;
} else {
ParticuleCadence_StormPulsar++;
};
}
public function LoopParticule_Love(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + ((Math.random() * (_local2.ChaosVX[1] - _local2.ChaosVX[0])) + _local2.ChaosVX[0]));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
}
public function LoopParticule_Cosmetic_Hypno(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.SpeedChaosVS = (_local2.SpeedChaosVS + (_local2.ChaosVS + ((Math.random() * 2) - 1)));
_local2.width = (_local2.width + _local2.SpeedChaosVS);
_local2.height = (_local2.height + _local2.SpeedChaosVS);
_local2.rotation = _local3;
}
public function LoopParticule_Hard_Smoke(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Watching(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Watching >= 0){
P = 0;
while (P <= ParticuleCadence_Watching) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Watching.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Watching);
NewParticule.x = Target_Watching.x;
NewParticule.y = Target_Watching.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Watching);
} catch(e) {
};
};
NewParticule.x = (NewParticule.x + new Array(53.2, -12.8)[Math.round((Math.random() * 1))]);
ModScale = new Array(4.9, 3.2)[Math.round((Math.random() * 1))];
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.EvoS = -1.5;
NewParticule.EvoR = 1.4;
NewParticule.EvoA = -5;
NewParticule.DestA = 0;
NewParticule.gotoAndStop(15);
Teinte = new ColorTransform();
DirectColors = ["6699FF", "FFFFCC"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Watching = 1.9;
} else {
ParticuleCadence_Watching++;
};
}
public function Interrupt_Orange(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Orange);
}
public function Interrupt_Where(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Where);
}
public function Interrupt_Ocean_Box(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Ocean_Box);
}
public function Interrupt_Tulipe(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Tulipe);
}
public function Interrupt_Hard_Stop(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Hard_Stop);
}
public function LoopParticule_Ocean_Box(_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
_local2.VY = ((_local2.VY) || (0));
_local2.y = (_local2.y + _local2.VY);
_local2.VY = (_local2.VY + _local2.CVY);
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function ParticuleGenerator_Classic(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var Teinte:ColorTransform;
var DirectColors:Array;
var event = _arg1;
if (ParticuleCadence_Classic >= 0){
P = 0;
while (P <= ParticuleCadence_Classic) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Classic.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Classic);
NewParticule.x = Target_Classic.x;
NewParticule.y = Target_Classic.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Classic);
} catch(e) {
};
};
ModScale = 1.6;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (100 / 100);
NewParticule.VX = 8.6;
NewParticule.EvoA = -3.9;
NewParticule.DestA = 0;
NewParticule.SpeedChaosVY = 0;
NewParticule.ChaosVY = [-0.8, 1.1];
NewParticule.gotoAndStop(84);
Teinte = new ColorTransform();
DirectColors = ["66FFFF", "99FFFF", "CCFFFF", "FFFFFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
P = (P + 1);
};
ParticuleCadence_Classic = ((Math.random() * (0 - -6.3)) + -6.3);
} else {
ParticuleCadence_Classic++;
};
}
public function ParticuleGenerator_Zip(_arg1:Event){
var P:int;
var Particule:*;
var NewParticule:*;
var Teinte:ColorTransform;
var DirectColors:Array;
var ModScale:Number;
var ModWidth:Number;
var ModHeight:Number;
var event = _arg1;
if (ParticuleCadence_Zip >= 0){
P = 0;
while (P <= ParticuleCadence_Zip) {
Particule = Part;
NewParticule = new (Particule);
Conteiner_Zip.addChildAt(NewParticule, 0);
NewParticule.addEventListener(Event.ENTER_FRAME, LoopParticule_Zip);
NewParticule.x = Target_Zip.x;
NewParticule.y = Target_Zip.y;
NewParticule.SelfDestruction = function (_arg1){
var Element = _arg1;
try {
Element.parent.removeChild(Element);
Element.removeEventListener(Event.ENTER_FRAME, LoopParticule_Zip);
} catch(e) {
};
};
Teinte = new ColorTransform();
DirectColors = ["66CCFF"];
Teinte.color = uint(("0x" + DirectColors[Math.round((Math.random() * (DirectColors.length - 1)))]));
NewParticule.transform.colorTransform = Teinte;
if (Conteiner_Zip.UpDownXZip == null){
Conteiner_Zip.UpDownXZip = -12.8;
Conteiner_Zip.UpDownXZipValue = 1.595;
Conteiner_Zip.UpDownXZipDirection = 1;
};
Conteiner_Zip.UpDownXZip = (Conteiner_Zip.UpDownXZip + (Conteiner_Zip.UpDownXZipValue * Conteiner_Zip.UpDownXZipDirection));
if ((((Conteiner_Zip.UpDownXZip > 19.1)) && ((Conteiner_Zip.UpDownXZipDirection == 1)))){
Conteiner_Zip.UpDownXZipDirection = -1;
Conteiner_Zip.UpDownXZip = 19.1;
};
if ((((Conteiner_Zip.UpDownXZip < -12.8)) && ((Conteiner_Zip.UpDownXZipDirection == -1)))){
Conteiner_Zip.UpDownXZipDirection = 1;
Conteiner_Zip.UpDownXZip = -12.8;
};
NewParticule.x = (NewParticule.x + Conteiner_Zip.UpDownXZip);
ModScale = 1;
ModWidth = 1;
ModHeight = 1;
NewParticule.width = (NewParticule.width * (ModScale + ModWidth));
NewParticule.height = (NewParticule.height * (ModScale + ModHeight));
NewParticule.alpha = (80 / 100);
NewParticule.DY = 16.6;
NewParticule.EvoA = -0.2;
NewParticule.DestP = 14.7;
NewParticule.gotoAndStop(108);
P = (P + 1);
};
ParticuleCadence_Zip = 0;
} else {
ParticuleCadence_Zip++;
};
}
public function LoopParticule_Coquelicot(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.rotation = _local3;
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVR = (_local2.SpeedChaosVR + (_local2.ChaosVR + ((Math.random() * 2) - 1)));
_local2.rotation = (_local2.rotation + _local2.SpeedChaosVR);
}
public function LoopParticule_IceCream(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local2.DestP--;
if (_local2.DestP <= 0){
_local2.SelfDestruction(_local2);
};
_local2.SpeedChaosVX = (_local2.SpeedChaosVX + (_local2.ChaosVX + ((Math.random() * 2) - 1)));
_local2.x = (_local2.x + _local2.SpeedChaosVX);
_local2.SpeedChaosVY = (_local2.SpeedChaosVY + (_local2.ChaosVY + ((Math.random() * 2) - 1)));
_local2.y = (_local2.y + _local2.SpeedChaosVY);
}
public function LoopParticule_Hard_Stop(_arg1:Event){
var _local2:*;
var _local3:Number;
_local2 = _arg1.target;
_local3 = _local2.rotation;
_local2.rotation = 0;
_local2.width = (_local2.width + _local2.EvoS);
_local2.height = (_local2.height + _local2.EvoS);
_local2.width = (_local2.width + _local2.EvoW);
_local2.height = (_local2.height + _local2.EvoH);
_local2.rotation = _local3;
_local2.rotation = (_local2.rotation + _local2.EvoR);
_local2.alpha = (_local2.alpha + (_local2.EvoA / 100));
if (_local2.alpha <= (_local2.DestA / 100)){
_local2.SelfDestruction(_local2);
};
}
public function Interrupt_Deep_Impact(){
removeEventListener(Event.ENTER_FRAME, ParticuleGenerator_Deep_Impact);
}
}
}//package CursorFx_fla
Section 15
//Timeline_2 (CursorFx_fla.Timeline_2)
package CursorFx_fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
import flash.system.*;
public dynamic class Timeline_2 extends MovieClip {
public const FRAME_RATE_ADJUST:Boolean = true;
public const LOADER_FRAME_RATE:Number = 30;
public const AUTO_PLAY:Boolean = false;
public var bar:MovieClip;
public var loadingComplete:Boolean;
public var movieFrameRate:Number;
public var initialized:Boolean;
public function Timeline_2(){
addFrameScript(0, frame1, 2, frame3);
}
public function init():void{
if (initialized){
return;
};
gotoAndStop(1);
movieFrameRate = 0;
if (((FRAME_RATE_ADJUST) && (stage))){
movieFrameRate = stage.frameRate;
stage.frameRate = LOADER_FRAME_RATE;
};
initialized = true;
stop();
if (((root) && ((root is MovieClip)))){
MovieClip(root).stop();
};
loadingComplete = false;
addEventListener(Event.ENTER_FRAME, enterFrameHandler, false, 0, true);
if (meetsVersion([9, 0, 28, 0])){
addEventListener(Event.REMOVED_FROM_STAGE, cleanup, false, 0, true);
};
enterFrameHandler();
}
public function enterFrameHandler(_arg1:Event=null):void{
var _local2:Number;
if (((((!(movieFrameRate)) && (FRAME_RATE_ADJUST))) && (stage))){
movieFrameRate = stage.frameRate;
stage.frameRate = LOADER_FRAME_RATE;
};
if (!loadingComplete){
_local2 = 0;
if (loaderInfo){
_local2 = (loaderInfo.bytesLoaded / loaderInfo.bytesTotal);
};
if (bar){
bar.scaleX = _local2;
};
if (_local2 == 1){
loadingComplete = true;
if (AUTO_PLAY){
startMovie();
} else {
gotoAndPlay("loaded");
};
};
};
}
public function meetsVersion(_arg1:Array):Boolean{
var _local2:Array;
var _local3:uint;
_local2 = String(Capabilities.version.split(" ")[1]).split(",");
_local3 = 0;
while (_local3 < _arg1.length) {
if (uint(_local2[_local3]) > _arg1[_local3]){
return (true);
};
if (uint(_local2[_local3]) < _arg1[_local3]){
return (false);
};
_local3++;
};
return (true);
}
function frame3(){
startMovie();
stop();
}
function frame1(){
initialized = false;
init();
}
public function ngButtonClickHandler(_arg1:Event):void{
navigateToURL(new URLRequest("http://www.newgrounds.com"), "_blank");
}
public function cleanup(_arg1:Event=null){
if (initialized){
removeEventListener(Event.ENTER_FRAME, enterFrameHandler);
if (meetsVersion([9, 0, 28, 0])){
removeEventListener(Event.REMOVED_FROM_STAGE, cleanup);
};
if (movieFrameRate){
stage.frameRate = movieFrameRate;
movieFrameRate = 0;
};
};
initialized = false;
}
public function startMovie():void{
cleanup();
if (((root) && ((root is MovieClip)))){
MovieClip(root).play();
};
dispatchEvent(new Event(Event.COMPLETE));
}
}
}//package CursorFx_fla
Section 16
//WorldTools (drOIde.Global.WorldTools)
package drOIde.Global {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import drOIde.VorteX.*;
import flash.geom.*;
import flash.utils.*;
public class WorldTools extends Vortex {
var TableauAide:Object;
public function WorldTools(){
TableauAide = {Introduction:["►►►►►►►►►►►►►► WORLD TOOLS ◄◄◄◄◄◄◄◄◄◄◄◄◄◄", "Version 0.0.5", "Dernière mise à jour le 09/02/04", "", "——————————————————————————————————————————————————————————————————————————————————————————————", "", "►►►►►►►►►► DESCRPTION", "", "Ce script contient un grand nombre de méthodes et fonction pour gagner du temps puisqu'elles", "servent de racourcis pour un grand nombre d'utilisation redondante du code ActionScript.", "", "Utiliser la WorldTools permet de s'apargner la tâche d'avoir à réécrire constemment les même", "code pour les même actions.", "", "En outre, ce script permet également d'utiliser des fonctions simplifiées pour obtenir des résultats", "qu'on ne saurait pas forcemment réaliser soi-même avec le code ActionScript 3.", "", "——————————————————————————————————————————————————————————————————————————————————————————————", "", "►►►►►►►►►► FONCTIONS", "", "▼▼▼ GET ▼▼▼", "► GetClees", "► GetChemin", "", "▼▼▼ SET ▼▼▼", "► TakeAll", "► ExtractAll", "► Mimetisme", "► DefaultNotVoid", "► Conglomerat", "", "▼▼▼ MAKE OBJECT ▼▼▼", "► CloneObject", "", "▼▼▼ STRING ▼▼▼", "► ConversionCaractère", "► PoppingEspace", "► BoucleCaractère", "", "▼▼▼ NUMBER ▼▼▼", "► Random", "", "▼▼▼ ARRAY ▼▼▼", "► TabOrdreObject", "► RandomArray", "", "▼▼▼ TRACING ▼▼▼", "► TraceObject", "► TraceEnsemble", "", "▼▼▼ CONVERSION ▼▼▼", "► Array2Object", "", "▼▼▼ INCRUSTATION ▼▼▼", "► InsertionClip", "► NewElement", "► NewBouton", "", "▼▼▼ MODIFICATION VISUEL ▼▼▼", "► Next", "► Keep", "► Homotethie", "► HomotethieBy", "► GoDirection", "► SetColor", "► AngleFluide", "► RandomFrame", "", "▼▼▼ TRYGONOMETRIE ▼▼▼", "► RegardTo", "► GimmeDistance", "", "▼▼▼ LAUNCHING ▼▼▼", "► Launch", "► MultiLaunch", "", "——————————————————————————————————————————————————————————————————————————————————————————————", "", "Pour connaitre un ensemble de fonctions ou une fonction particulière en détail, utilisez la fonction", "Aide() en y ajoutant le nom de l'élément en question.", "Exemple : Aide(GET) ou Aide(TraceObject)", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], Erreur:["AIDE Erreur ►►►►►►►►►►►►►► Dans la demande : ", "", "Vérifiez que vous avez tapé un nom correct d'ensemble de fonctions ou de fonction particulière.", "Vous devez respecter les majuscules et les minuscules.", "Les noms des ensembles de fonctions sont toujours en majuscules ( Exemple : Aide(GET) ).", "Les noms des fonctions particulières sont en majuscules et minuscules ( Exemple : Aide(TraceObject) ).", "", "Vous obtiendrez la liste des ensembles de fonctions et fonctions particulières en faisant \"Aide()\"", "——————————————————————————————————————————————————————————————————————————————————————————————"], GET:["Ensemble de Fonction ►►►►►►►►►►►►►► GET :", "", "Les fonctions \"Get\" servent à récupérer des données ou des paramètres. Elles permettent de trouver des valeurs", "dans des clips, des objets ou tout autres éléments.", "", "Liste :", "", "►►► GetClees", "Récupére le nombres d'éléments dans un Objet ou récupére leur contenu sous forme de tableau.", "", "►►► GetChemin", "Récupére une donnée au sein d'un objet ou d'un clip à partir d'un chemin d'accés donné sous forme de tableau à", "plusieurs chaînes de caractères ou directement à partir d'une chaîne de caractère.", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], SET:["Ensemble de Fonction ►►►►►►►►►►►►►► SET :", "", "Les fonctions \"Set\" permettent d'appliquer des données ou des paramètres à un objets, clip, etc. On les utilisent", "pour changer la valeur de variable ou de paramètres (pouvant être visuels) de Clip.", "", "Liste :", "", "►►► TakeAll", "Récupére l'ensemble des clées d'un objet et les appliques à un autre objet, ou à un Clip. En les appliquant à un clip.", "Les clées peuvent devenir les paramètres du clip (Ex : rotation, x, etc.)", "", "►►► ExtractAll", "Récupére, sous forme d'objet, un ensemble de paramètres issues d'un autre objet ou d'un clip ainsi que leurs valeurs.", "Les paramètres récupérés pouvant être des données de clip comme x, height, rotation, etc.", "", "►►► Mimetisme", "Applique une série de paramètres d'un clip ou objet à un autre.", "", "►►► DefaultNotVoid", "Vérifie l'état d'une variable et retourne une valeur par défaut si la variable est null, undefined ou vide.", "", "►►► Conglomerat", "Multiplie l'état d'un paramètre afin de créer des valeurs cumulative de ce paramètre.", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], MAKE_OBJECT:["Ensemble de Fonction ►►►►►►►►►►►►►► MAKE OBJECT :", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], STRING:["Ensemble de Fonction ►►►►►►►►►►►►►► STRING :", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], NUMBER:["Ensemble de Fonction ►►►►►►►►►►►►►► NUMBER :", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], ARRAY:["Ensemble de Fonction ►►►►►►►►►►►►►► ARRAY :", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], TRACING:["Ensemble de Fonction ►►►►►►►►►►►►►► TRACING :", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], CONVERSION:["Ensemble de Fonction ►►►►►►►►►►►►►► CONVERSION :", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], INCRUSTATION:["Ensemble de Fonction ►►►►►►►►►►►►►► INCRUSTATION :", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], MODIFICATION_VISUEL:["Ensemble de Fonction ►►►►►►►►►►►►►► MODIFICATION VISUEL :", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], TRYGONOMETRIE:["Ensemble de Fonction ►►►►►►►►►►►►►► TRYGONOMETRIE :", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], LAUNCHING:["Ensemble de Fonction ►►►►►►►►►►►►►► LAUNCHING :", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], GetClees:["Fonction ►►►►►►►►►►►►►► GetClees :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], GetChemin:["Fonction ►►►►►►►►►►►►►► GetChemin :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], TakeAll:["Fonction ►►►►►►►►►►►►►► TakeAll :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], ExtractAll:["Fonction ►►►►►►►►►►►►►► ExtractAll :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], DefaultNotVoid:["Fonction ►►►►►►►►►►►►►► DefaultNotVoid :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], Conglomerat:["Fonction ►►►►►►►►►►►►►► Conglomerat :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], SetText:["Fonction ►►►►►►►►►►►►►► SetText :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], CloneObject:["Fonction ►►►►►►►►►►►►►► CloneObject :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], ConversionCaractère:["Fonction ►►►►►►►►►►►►►► ConversionCaractère :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], PoppingEspace:["Fonction ►►►►►►►►►►►►►► PoppingEspace :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], BoucleCaractère:["Fonction ►►►►►►►►►►►►►► BoucleCaractère :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], Random:["Fonction ►►►►►►►►►►►►►► Random :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], TabOrdreObject:["Fonction ►►►►►►►►►►►►►► TabOrdreObject :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], RandomArray:["Fonction ►►►►►►►►►►►►►► RandomArray :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], TraceObject:["Fonction ►►►►►►►►►►►►►► TraceObject :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], TraceEnsemble:["Fonction ►►►►►►►►►►►►►► TraceEnsemble :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], Array2Object:["Fonction ►►►►►►►►►►►►►► Array2Object :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], InsertionClip:["Fonction ►►►►►►►►►►►►►► InsertionClip :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], NewElement:["Fonction ►►►►►►►►►►►►►► NewElement :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], NewBouton:["Fonction ►►►►►►►►►►►►►► NewBouton :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], Next:["Fonction ►►►►►►►►►►►►►► Next :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], Keep:["Fonction ►►►►►►►►►►►►►► Keep :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], Homotethie:["Fonction ►►►►►►►►►►►►►► Homotethie :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], HomotethieBy:["Fonction ►►►►►►►►►►►►►► HomotethieBy :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], GoDirection:["Fonction ►►►►►►►►►►►►►► GoDirection :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], SetColor:["Fonction ►►►►►►►►►►►►►► SetColor :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], AngleFluide:["Fonction ►►►►►►►►►►►►►► AngleFluide :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], RandomFrame:["Fonction ►►►►►►►►►►►►►► RandomFrame :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], RegardTo:["Fonction ►►►►►►►►►►►►►► RegardTo :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], GimmeDistance:["Fonction ►►►►►►►►►►►►►► GimmeDistance :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], Launch:["Fonction ►►►►►►►►►►►►►► Launch :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"], MultiLaunch:["Fonction ►►►►►►►►►►►►►► MultiLaunch :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "——————————————————————————————————————————————————————————————————————————————————————————————"]};
super();
}
public function Conglomerat(_arg1, _arg2:String, _arg3, _arg4:String="Gain", _arg5=null, _arg6=null, _arg7=true){
var _local8:Object;
var _local9:int;
var _local10:*;
var _local11:*;
var _local12:*;
if (_arg5 == null){
_arg5 = Boolean;
};
_local8 = new Object();
_local9 = 0;
_local10 = new (_arg5);
if (_arg1[(_arg2 + "Conglo")] == null){
if (_arg4 == "Gain"){
_arg1[(_arg2 + "Conglo")] = new Object();
} else {
if (_arg7){
TraceErreur("WorldTools", "Conglomerat", [(((("Le Conglomerat de la valeur \"" + _arg2) + "\" dans l'élément ") + _arg1) + " n'éxiste pas."), "Pour créer le conglomerat de cet état, vous devez spécifier \"Gain\" dans l'argument du type", "(4eme arguments) lors de la première utilisation de la fonction Conglomerat()"]);
};
};
return (_arg3);
};
if (_arg1[(_arg2 + "Conglo")][_arg4] == null){
_arg1[(_arg2 + "Conglo")][_arg4] = new (_arg5);
};
_arg1[(_arg2 + "Conglo")][_arg4] = _arg3;
for (_local11 in _arg1[(_arg2 + "Conglo")]) {
if (_local8[_arg1[(_arg2 + "Conglo")][_local11]] == null){
_local8[_arg1[(_arg2 + "Conglo")][_local11]] = new Array();
_local8[_arg1[(_arg2 + "Conglo")][_local11]].Numero = new int(1);
_local8[_arg1[(_arg2 + "Conglo")][_local11]].Gain = _arg1[(_arg2 + "Conglo")][_local11];
} else {
_local8[_arg1[(_arg2 + "Conglo")][_local11]].Numero++;
};
};
for (_local12 in _local8) {
if (_local8[_local12].Numero > _local9){
_local9 = _local8[_local12].Numero;
_local10 = _local8[_local12].Gain;
};
if (_local8[_local12].Gain == _arg6){
return (_local8[_local12].Gain);
};
};
return (_local10);
}
public function CloneObject(_arg1:Object, _arg2:Object=null, _arg3:Array=null):Object{
var _local4:Object;
var _local5:*;
_arg3 = DefaultNotVoid(_arg3, []);
if (_arg2 == null){
_local4 = new Object();
} else {
_local4 = _arg2;
};
for (_local5 in _arg1) {
if (_arg3.indexOf(_local5) == -1){
if ((((typeof(_arg1[_local5]) == "object")) && ((_arg1[_local5][0] == null)))){
_local4[_local5] = new Object();
CloneObject(_arg1[_local5], _local4[_local5], _arg3);
} else {
_local4[_local5] = _arg1[_local5];
};
};
};
return (_local4);
}
public function FreshArray(_arg1:Array, _arg2=null):Array{
var _local3:int;
_local3 = 0;
while (_local3 < _arg1.length) {
if (_arg2 == null){
if (_arg1[_local3] == null){
_arg1.splice(_local3, 1);
_local3--;
};
} else {
if (_arg1[_local3] == _arg2){
_arg1.splice(_local3, 1);
_local3--;
};
};
_local3++;
};
return (_arg1);
}
public function BoucleCaractère(_arg1:String, _arg2:int, _arg3:String):String{
var _local4:Array;
_local4 = new Array();
while (_arg1.length > 0) {
_local4.push(_arg1.substr(0, _arg2));
_arg1 = _arg1.substr((_arg2 + 1));
};
return (_local4.join(_arg3));
}
public function Next(_arg1:String, _arg2, _arg3:Object, _arg4:Number=10, _arg5:Number=0.5, _arg6:String="Constant"):void{
var K:*;
var Nom = _arg1;
var Element = _arg2;
var Changement = _arg3;
var Vitesse = _arg4;
var Bump = _arg5;
var Type = _arg6;
try {
Element.removeEventListener(Event.ENTER_FRAME, Element[Nom]);
} catch(e) {
};
Element[(Nom + "Actuel")] = new Object();
Element[(Nom + "Decompte")] = {Numero:100, Palier:0};
Element[(Nom + "Changement")] = Changement;
Element[(Nom + "Palier")] = new Object();
Element[(Nom + "Decompte")].Palier = (100 / Vitesse);
for (K in Changement) {
Element[(Nom + "Actuel")][K] = Element[K];
Element[(Nom + "Palier")][K] = ((Changement[K] - Element[K]) / Vitesse);
};
Element[Nom] = function (_arg1:Event){
var _local2:*;
var _local3:Boolean;
var _local4:String;
_local2 = _arg1.target;
_local3 = false;
for (_local4 in _local2[(Nom + "Actuel")]) {
if (Type == "Constant"){
_local2[(Nom + "Actuel")][_local4] = (_local2[(Nom + "Actuel")][_local4] + Element[(Nom + "Palier")][_local4]);
} else {
if (Type == "Deceleration"){
_local2[(Nom + "Actuel")][_local4] = (_local2[(Nom + "Actuel")][_local4] + ((_local2[(Nom + "Changement")][_local4] - _local2[(Nom + "Actuel")][_local4]) / Vitesse));
};
};
};
TakeAll(_local2, _local2[(Nom + "Actuel")]);
if (Type == "Constant"){
_local2[(Nom + "Decompte")].Numero = (_local2[(Nom + "Decompte")].Numero - _local2[(Nom + "Decompte")].Palier);
} else {
if (Type == "Deceleration"){
_local2[(Nom + "Decompte")].Numero = (_local2[(Nom + "Decompte")].Numero + ((_local2[(Nom + "Decompte")].Numero * -1) / Vitesse));
};
};
if (_local2[(Nom + "Decompte")].Numero <= Bump){
Element.removeEventListener(Event.ENTER_FRAME, Element[Nom]);
TakeAll(_local2, _local2[(Nom + "Changement")]);
};
};
Element.addEventListener(Event.ENTER_FRAME, Element[Nom]);
}
private function EtatBoutonInitialisation(_arg1, _arg2, _arg3){
var Fonction:Object;
var Forme:Object;
var Cible = _arg1;
var Etat = _arg2;
var Evenement = _arg3;
Fonction = Cible.EtatBouton.Fonction[Etat];
Forme = Cible.EtatBouton.Forme[Etat];
if (Fonction){
if (Fonction.Argument){
Fonction.Argument.Cible = Cible;
};
};
Cible.EtatBouton[Etat] = function (_arg1){
var _local2:String;
Cible.EtatBouton.Etat = Etat;
if (Fonction){
Launch(Fonction);
};
if (Forme){
_local2 = ("gotoAnd" + ((Forme.Frame.split(" - ").length)<=1) ? "Stop" : "Play");
var _local3 = Cible;
_local3[_local2](Forme.Frame.split(" - ")[0]);
};
};
try {
Cible.addEventListener(MouseEvent[Evenement], Cible.EtatBouton[Etat]);
} catch(e) {
};
Cible[Etat] = function (){
var _local1 = Cible.EtatBouton;
_local1[Etat](null);
};
if (Forme){
if (Forme.Initial){
var _local5 = Cible;
_local5[Etat]();
};
};
if (Forme){
if (Forme.Frame.split(" - ").length > 1){
return (Etat);
};
return (null);
//unresolved jump
};
return (null);
}
public function Random(_arg1:Number=0, _arg2:Number=1, _arg3:Boolean=false):Number{
var _local4:Number;
_local4 = ((Math.random() * (_arg2 - _arg1)) + _arg1);
return ((_arg3) ? Math.round(_local4) : _local4);
}
public function NewBouton(_arg1:Class, _arg2, _arg3:Object=null, _arg4:Object=null, _arg5:Object=null, _arg6:Object=null, _arg7:Object=null, _arg8:Object=null){
var Bouton:*;
var Lev:int;
var Element = _arg1;
var Cible = _arg2;
var Etat = _arg3;
var Fonction = _arg4;
var Arguments = _arg5;
var CibleFonction = _arg6;
var Parametres = _arg7;
var Forme = _arg8;
Bouton = NewElement(Element, Cible);
Bouton.Etat = ((Etat) || (new Object()));
Bouton.Fonction = ((Fonction) || (new Object()));
Bouton.Arguments = ((Arguments) || (new Object()));
Bouton.CibleFonction = ((CibleFonction) || (new Object()));
Bouton.Forme = ((Forme) || (new Object()));
Parametres = ((Parametres) || (new Object()));
if (Parametres.Actif != null){
Bouton.Actif = Parametres.Actif;
} else {
Bouton.Actif = true;
};
if (Parametres.Levier != null){
Bouton.Levier = Parametres.Levier;
Bouton.AutresLevier = new Array();
Lev = 0;
while (Lev < Parametres.lesLeviers.length) {
Bouton.AutresLevier.push(Parametres.lesLeviers[Lev]);
Parametres.lesLeviers[Lev].AutresLevier.push(Bouton);
Lev = (Lev + 1);
};
};
Bouton.Down = function (){
var i:int;
if (Bouton.Actif){
if (Bouton.Etat.Down){
var _local2 = Bouton;
_local2[("gotoAnd" + ((Bouton.Etat.Down.split(" - ")[1]) || ("Stop")))](Bouton.Etat.Down.split(" - ")[0]);
};
if (Bouton.Forme.Down){
TakeAll(Bouton, Bouton.Forme.Down);
};
if (Bouton.Fonction.Down){
i = 0;
while (i < Bouton.Fonction.Down.length) {
if (Bouton.Arguments.Down[i] != null){
try {
_local2 = Bouton.Fonction.Down;
_local2[i](Bouton.Arguments.Down[i]);
} catch(e) {
var _local3 = ((Bouton.CibleFonction.Down[i]) || (Bouton));
_local3[Bouton.Fonction.Down[i]](Bouton.Arguments.Down[i]);
};
} else {
try {
_local2 = Bouton.Fonction.Down;
_local2[i]();
} catch(e) {
_local3 = ((Bouton.CibleFonction.Down[i]) || (Bouton));
_local3[Bouton.Fonction.Down[i]]();
};
};
i = (i + 1);
};
};
};
};
Bouton.Up = function (){
var i:int;
var j:int;
var k:int;
if (Bouton.Actif){
if (Bouton.Etat.RollOver){
var _local2 = Bouton;
_local2[("gotoAnd" + ((Bouton.Etat.RollOver.split(" - ")[1]) || ("Stop")))](Bouton.Etat.RollOver.split(" - ")[0]);
} else {
if (Bouton.Etat.Normal){
_local2 = Bouton;
_local2[("gotoAnd" + ((Bouton.Etat.Normal.split(" - ")[1]) || ("Stop")))](Bouton.Etat.Normal.split(" - ")[0]);
};
};
if (Bouton.Fonction.Up){
i = 0;
while (i < Bouton.Fonction.Up.length) {
try {
_local2 = Bouton.Fonction.Up;
_local2[i](Bouton.Arguments.Up[i]);
} catch(e) {
var _local3 = ((Bouton.CibleFonction.Up[i]) || (Bouton));
_local3[Bouton.Fonction.Up[i]](Bouton.Arguments.Up[i]);
};
i = (i + 1);
};
};
if (Bouton.Levier != null){
Bouton.Levier = !(Bouton.Levier);
Bouton.DesactiveAutreLevier();
if (Bouton.Levier){
if (Bouton.Etat.Actif){
_local2 = Bouton;
_local2[("gotoAnd" + ((Bouton.Etat.Actif.split(" - ")[1]) || ("Stop")))](Bouton.Etat.Actif.split(" - ")[0]);
};
};
if (Bouton.Levier){
if (Bouton.Forme.Actif){
TakeAll(Bouton, Bouton.Forme.Actif);
};
if (Bouton.Fonction.LevierOn){
j = 0;
while (j < Bouton.Fonction.LevierOn.length) {
try {
_local2 = Bouton.Fonction.LevierOn;
_local2[j](Bouton.Arguments.LevierOn[j]);
} catch(e) {
_local3 = ((Bouton.CibleFonction.LevierOn[j]) || (Bouton));
_local3[Bouton.Fonction.LevierOn[j]](Bouton.Arguments.LevierOn[j]);
};
j = (j + 1);
};
};
} else {
if (Bouton.Forme.Normal){
TakeAll(Bouton, Bouton.Forme.Normal);
};
if (Bouton.Fonction.LevierOff){
k = 0;
while (k < Bouton.Fonction.LevierOff.length) {
try {
_local2 = Bouton.Fonction.LevierOff;
_local2[k](Bouton.Arguments.LevierOff[k]);
} catch(e) {
_local3 = ((Bouton.CibleFonction.LevierOff[k]) || (Bouton));
_local3[Bouton.Fonction.LevierOff[k]](Bouton.Arguments.LevierOff[k]);
};
k = (k + 1);
};
};
};
} else {
if (Bouton.Forme.Normal){
TakeAll(Bouton, Bouton.Forme.Normal);
};
};
};
};
Bouton.Over = function (){
var i:int;
if (Bouton.Actif){
if (Bouton.Etat.RollOver){
var _local2 = Bouton;
_local2[("gotoAnd" + ((Bouton.Etat.RollOver.split(" - ")[1]) || ("Stop")))](Bouton.Etat.RollOver.split(" - ")[0]);
};
if (Bouton.Forme.RollOver){
TakeAll(Bouton, Bouton.Forme.RollOver);
};
if (Bouton.Levier){
if (Bouton.Etat.RollOverActif){
_local2 = Bouton;
_local2[("gotoAnd" + ((Bouton.Etat.RollOverActif.split(" - ")[1]) || ("Stop")))](Bouton.Etat.RollOverActif.split(" - ")[0]);
};
};
if (Bouton.Fonction.RollOver){
i = 0;
while (i < Bouton.Fonction.RollOver.length) {
try {
_local2 = Bouton.Fonction.RollOver;
_local2[i](Bouton.Arguments.RollOver[i]);
} catch(e) {
var _local3 = ((Bouton.CibleFonction.RollOver[i]) || (Bouton));
_local3[Bouton.Fonction.RollOver[i]](Bouton.Arguments.RollOver[i]);
};
i = (i + 1);
};
};
};
};
Bouton.Out = function (){
var i:int;
if (Bouton.Actif){
if (Bouton.Levier){
if (Bouton.Etat.Actif){
var _local2 = Bouton;
_local2[("gotoAnd" + ((Bouton.Etat.Actif.split(" - ")[1]) || ("Stop")))](Bouton.Etat.Actif.split(" - ")[0]);
};
if (Bouton.Forme.Actif){
TakeAll(Bouton, Bouton.Forme.Actif);
};
} else {
if (Bouton.Etat.Normal){
_local2 = Bouton;
_local2[("gotoAnd" + ((Bouton.Etat.Normal.split(" - ")[1]) || ("Stop")))](Bouton.Etat.Normal.split(" - ")[0]);
};
if (Bouton.Forme.Normal){
TakeAll(Bouton, Bouton.Forme.Normal);
};
};
if (Bouton.Fonction.RollOut){
i = 0;
while (i < Bouton.Fonction.RollOut.length) {
try {
_local2 = Bouton.Fonction.RollOut;
_local2[i](Bouton.Arguments.RollOut[i]);
} catch(e) {
var _local3 = ((Bouton.CibleFonction.RollOut[i]) || (Bouton));
_local3[Bouton.Fonction.RollOut[i]](Bouton.Arguments.RollOut[i]);
};
i = (i + 1);
};
};
};
};
Bouton.Active = function (_arg1){
if (_arg1){
if (Bouton.Etat.Normal){
var _local2 = Bouton;
_local2[("gotoAnd" + ((Bouton.Etat.Normal.split(" - ")[1]) || ("Stop")))](Bouton.Etat.Normal.split(" - ")[0]);
};
} else {
if (Bouton.Etat.Inactif){
_local2 = Bouton;
_local2[("gotoAnd" + ((Bouton.Etat.Inactif.split(" - ")[1]) || ("Stop")))](Bouton.Etat.Inactif.split(" - ")[0]);
};
};
Bouton.Actif = _arg1;
};
Bouton.ActiveLevier = function (_arg1){
var i:int;
var j:int;
var Etat = _arg1;
if (!Etat){
if (Bouton.Etat.Normal){
var _local3 = Bouton;
_local3[("gotoAnd" + ((Bouton.Etat.Normal.split(" - ")[1]) || ("Stop")))](Bouton.Etat.Normal.split(" - ")[0]);
};
if (Bouton.Fonction.LevierOff){
i = 0;
while (i < Bouton.Fonction.LevierOff.length) {
try {
_local3 = Bouton.Fonction.LevierOff;
_local3[i](Bouton.Arguments.LevierOff[i]);
} catch(e) {
var _local4 = ((Bouton.CibleFonction.LevierOff[i]) || (Bouton));
_local4[Bouton.Fonction.LevierOff[i]](Bouton.Arguments.LevierOff[i]);
};
i = (i + 1);
};
};
} else {
if (Bouton.Etat.Actif){
_local3 = Bouton;
_local3[("gotoAnd" + ((Bouton.Etat.Actif.split(" - ")[1]) || ("Stop")))](Bouton.Etat.Actif.split(" - ")[0]);
};
Bouton.DesactiveAutreLevier();
if (Bouton.Fonction.LevierOn){
j = 0;
while (j < Bouton.Fonction.LevierOn.length) {
try {
_local3 = Bouton.Fonction.LevierOn;
_local3[j](Bouton.Arguments.LevierOn[j]);
} catch(e) {
_local4 = ((Bouton.CibleFonction.LevierOn[j]) || (Bouton));
_local4[Bouton.Fonction.LevierOn[j]](Bouton.Arguments.LevierOn[j]);
};
j = (j + 1);
};
};
};
Bouton.Levier = Etat;
};
Bouton.DesactiveAutreLevier = function (){
var _local1:int;
_local1 = 0;
while (_local1 < Bouton.AutresLevier.length) {
if (Bouton.AutresLevier[_local1].Levier){
Bouton.AutresLevier[_local1].ActiveLevier(false);
};
_local1++;
};
};
Bouton.AutoDestruction = function (){
Bouton.parent.removeChild(Bouton);
Bouton = null;
};
Bouton.addEventListener(MouseEvent.MOUSE_DOWN, Bouton.Down);
Bouton.addEventListener(MouseEvent.MOUSE_UP, Bouton.Up);
Bouton.addEventListener(MouseEvent.MOUSE_OVER, Bouton.Over);
Bouton.addEventListener(MouseEvent.MOUSE_OUT, Bouton.Out);
TakeAll(Bouton, Parametres);
return (Bouton);
}
public function MultiLaunch(_arg1:Object):void{
var _local2:int;
var _local3:Object;
if (_arg1 != null){
if (_arg1.Fonction){
if (typeof(_arg1.Fonction) == "object"){
_local2 = 0;
while (_local2 < _arg1.Fonction.length) {
Launch({Cible:_arg1.Cible[_local2], Fonction:_arg1.Fonction[_local2], Argument:_arg1.Argument[_local2]});
_local2++;
};
} else {
Launch({Cible:_arg1.Cible, Fonction:_arg1.Fonction, Argument:_arg1.Argument});
};
} else {
for (_local3 in _arg1) {
if (_arg1[_local3] != null){
Launch({Cible:_arg1[_local3].Cible, Fonction:_arg1[_local3].Fonction, Argument:_arg1[_local3].Argument});
};
};
};
};
}
public function RandomArray(_arg1:Array){
var _local2:int;
_local2 = (Math.random() * _arg1.length);
return (_arg1[_local2]);
}
public function GetClees(_arg1:Object, _arg2:String="Nombre", _arg3=null, _arg4=true){
var _local5:*;
var _local6:*;
_arg3 = ((_arg3) || ([]));
if (typeof(_arg3) == "string"){
_arg3 = [_arg3];
};
if (_arg2 == "Nombre"){
_local5 = 0;
} else {
if (_arg2 == "Tableau"){
_local5 = [];
} else {
if (_arg4){
TraceErreur("WorldTools", "GetClees", [(("\"" + _arg2) + "\" a été mis comme second argument, à savoir le type de valeur renvoyée."), "Ce type de renvoie n'éxiste pas, seules sont pris en compte : \"Nombre\" et \"Tableau\"."]);
return ("");
};
};
};
for (_local6 in _arg1) {
if (_arg3.indexOf(_local6) == -1){
if (_arg2 == "Nombre"){
_local5++;
} else {
if (_arg2 == "Tableau"){
_local5.push(_local6);
};
};
};
};
return (_local5);
}
private function EtatBoutonBoucle(_arg1, _arg2):void{
if (_arg1.EtatBouton.Etat == _arg2){
if (_arg1.currentFrame == _arg1.EtatBouton.Forme[_arg2].Frame.split(" - ")[1]){
if (_arg1.EtatBouton.Forme[_arg2].Frame.split(" - ")[2] == "Boucle"){
_arg1.gotoAndPlay(_arg1.EtatBouton.Forme[_arg2].Frame.split(" - ")[0]);
} else {
_arg1.stop();
};
};
};
}
public function SetColor(_arg1, _arg2):void{
var _local3:ColorTransform;
if (typeof(_arg2) == "string"){
_arg2 = int(_arg2);
};
_local3 = new ColorTransform();
_local3.color = _arg2;
_arg1.transform.colorTransform = _local3;
}
public function GoDirection(_arg1, _arg2=0, _arg3:Number=1, _arg4:Number=1){
var _local5:Number;
_local5 = ((typeof(_arg2))=="number") ? _arg2 : (_arg2.rotation * _arg4);
_arg1.x = (_arg1.x + (Math.cos(((_local5 / 180) * Math.PI)) * _arg3));
_arg1.y = (_arg1.y + (Math.sin(((_local5 / 180) * Math.PI)) * _arg3));
return (_arg1);
}
public function NewElement(_arg1:Class, _arg2, _arg3:Object=null){
var NouvelElement:*;
var Element = _arg1;
var Cible = _arg2;
var Etat = _arg3;
try {
NouvelElement = new (Element);
Cible.addChild(NouvelElement);
TakeAll(NouvelElement, DefaultNotVoid(Etat, {}));
return (NouvelElement);
} catch(e) {
trace((((("Erreur dans 'NewElement' : L'élément '" + Element) + "' n'éxiste pas ou ne peut pas être placé dans ") + Cible) + "."));
return (null);
};
}
public function TraceEnsemble(_arg1:Array):void{
var _local2:String;
var _local3:int;
_local2 = "";
while (_local3 < _arg1.length) {
_local2 = (_local2 + _arg1[_local3]);
if (_local3 != (_arg1.length - 1)){
_local2 = (_local2 + "\r");
};
_local3++;
};
trace(_local2);
}
function AngleFluide(_arg1:MovieClip, _arg2:Number=0, _arg3:Number=10){
var _local4:Number;
var _local5:Number;
_local4 = ((_arg2)>0) ? _arg2 : (360 + _arg2);
_local5 = ((_arg1.rotation)>0) ? _arg1.rotation : (360 + _arg1.rotation);
_local5 = (_local5 + ((_local4 - _local5) / _arg3));
_arg1.rotation = _local5;
}
public function RandomFrame(_arg1:MovieClip, _arg2:String="Stop", _arg3:int=-1, _arg4:int=0):void{
var _local5:int;
_arg3 = ((_arg3)!=-1) ? _arg3 : _arg1.totalFrames;
_local5 = (Math.random() * (((_arg3 - _arg4) + 1) + _arg4));
var _local6 = _arg1;
_local6[("gotoAnd" + _arg2)](_local5);
}
public function EtatBouton(_arg1, _arg2:Object=null, _arg3:Object=null):void{
var Cible = _arg1;
var Fonction = _arg2;
var Forme = _arg3;
Cible.EtatBouton = new Object();
Cible.EtatBouton.Fonction = ((Fonction) || (new Object()));
Cible.EtatBouton.Forme = ((Forme) || (new Object()));
Cible.AnimationPlay = new Array();
Forme.Initial = ((Forme.Initial) || ({Frame:"1"}));
Cible.AnimationPlay.push(EtatBoutonInitialisation(Cible, "RollOver", "MOUSE_OVER"));
Cible.AnimationPlay.push(EtatBoutonInitialisation(Cible, "RollOut", "MOUSE_OUT"));
Cible.AnimationPlay.push(EtatBoutonInitialisation(Cible, "MouseDown", "MOUSE_DOWN"));
Cible.AnimationPlay.push(EtatBoutonInitialisation(Cible, "MouseUp", "MOUSE_UP"));
Cible.AnimationPlay.push(EtatBoutonInitialisation(Cible, "Initial", "NULL"));
Cible.AnimationPlay = FreshArray(Cible.AnimationPlay);
if (Cible.EtatBouton.Etat == null){
Cible.Initial();
};
if (Cible.AnimationPlay.length > 0){
Cible.EtatBouton.Boucle = function (_arg1){
var _local2:int;
while (_local2 < Cible.AnimationPlay.length) {
EtatBoutonBoucle(Cible, Cible.AnimationPlay[_local2]);
_local2++;
};
};
Cible.addEventListener(Event.ENTER_FRAME, Cible.EtatBouton.Boucle);
};
}
public function InsertionClip(_arg1:String=null, _arg2:Boolean=true){
var _local3:*;
var _local4:Class;
if (_arg1){
_local4 = (getDefinitionByName(_arg1) as Class);
_local3 = new (_local4);
} else {
if (_arg2){
_local3 = new MovieClip();
} else {
return (false);
};
};
return (_local3);
}
public function ExtractAll(_arg1, _arg2:Array=null):Object{
var _local3:Object;
var _local4:String;
_arg2 = DefaultNotVoid(_arg2, ["x", "y", "rotation", "alpha", "visible", "width", "height"]);
_local3 = new Object();
for (_local4 in _arg2) {
_local3[_arg2[_local4]] = _arg1[_arg2[_local4]];
};
return (_local3);
}
public function FusionArray(_arg1:Array, _arg2:Array):Array{
var _local3:int;
_local3 = 0;
while (_local3 < _arg2.length) {
_arg1.push(_arg2[_local3]);
_local3++;
};
return (_arg1);
}
public function GetChemin(_arg1, _arg2=null, _arg3=true){
var _local4:*;
var _local5:String;
if (_arg2 == null){
return (_arg1);
};
if (typeof(_arg2) == "string"){
_arg2 = _arg2.split(".");
};
_local4 = _arg1;
for (_local5 in _arg2) {
_local4 = _local4[_arg2[_local5]];
};
if ((((_local4 == undefined)) && (_arg3))){
TraceErreur("WorldTools", "GetChemin", [((("Le chemin d'accés : \"" + _arg2) + "\" est introuvable sur ") + _arg1)]);
_local4 = "";
};
return (_local4);
}
public function GimmeDistance(_arg1, _arg2):Number{
var _local3:Number;
_local3 = ((Math.abs((_arg1.x - _arg2.x)) * Math.abs((_arg1.x - _arg2.x))) + (Math.abs((_arg1.y - _arg2.y)) * Math.abs((_arg1.y - _arg2.y))));
return (Math.sqrt(_local3));
}
public function RegardTo(_arg1, _arg2, _arg3:Number=0):Number{
return ((((Math.atan2((_arg1.y - _arg2.y), (_arg1.x - _arg2.x)) * 180) / Math.PI) + _arg3));
}
public function ConversionCaractère(_arg1:String, _arg2:String, _arg3:String=""):String{
var _local4:String;
var _local5:int;
var _local6:Array;
var _local7:String;
_local4 = "";
_local5 = 0;
_local6 = _arg1.split(_arg2);
for (_local7 in _local6) {
_local4 = (_local4 + _local6[_local7]);
_local5++;
if (_local5 < _local6.length){
_local4 = (_local4 + _arg3);
};
};
return (_local4);
}
public function DefaultNotVoid(_arg1, _arg2=undefined){
if ((((((_arg1 == null)) || ((_arg1 == undefined)))) || ((_arg1 == "")))){
return (_arg2);
};
return (_arg1);
}
public function TakeAll(_arg1, _arg2:Object, _arg3=null, _arg4:Object=null):void{
var _local5:*;
_arg3 = DefaultNotVoid(_arg3, []);
_arg4 = ((_arg4) || (new Object()));
if (typeof(_arg3) == "string"){
_arg3 = [_arg3];
};
for (_local5 in _arg2) {
if (_arg3.indexOf(_local5) == -1){
if (typeof(_arg1[_local5]) != "boolean"){
_arg1[_local5] = _arg2[_local5];
} else {
if ((((_arg2[_local5] == "true")) || ((_arg2[_local5] == true)))){
_arg1[_local5] = true;
} else {
_arg1[_local5] = false;
};
};
if (((!(isNaN(Number(_arg1[_local5])))) && (!((_arg4.Multiplicateur == null))))){
_arg1[_local5] = (_arg1[_local5] * _arg4.Multiplicateur);
};
};
};
}
public function Keep(_arg1, _arg2, _arg3:String, _arg4:String="Négatif"):void{
var Element = _arg1;
var Cible = _arg2;
var Etat = _arg3;
var Type = _arg4;
Element[("Keep" + Etat)] = new Object();
Element[("Keep" + Etat)].Memory = Element[Etat];
Element[("Keep" + Etat)].MemoryCible = Cible[Etat];
Element[("Keep" + Etat)].Type = Type;
Element[("Keeping" + Etat)] = function (_arg1:Event){
var _local2:*;
_local2 = _arg1.target;
if (_local2[("Keep" + Etat)].Type == "Négatif"){
_local2[Etat] = ((Cible[Etat] * -1) - _local2[("Keep" + Etat)].Memory);
} else {
if (_local2[("Keep" + Etat)].Type == "Proportionnel"){
_local2[Etat] = (_local2[("Keep" + Etat)].Memory / (Cible[Etat] / _local2[("Keep" + Etat)].MemoryCible));
};
};
};
Element.addEventListener(Event.ENTER_FRAME, Element[("Keeping" + Etat)]);
}
public function Fluidite(_arg1:Number, _arg2:Number, _arg3:Number=10, _arg4:Number=1):Number{
var _local5:Number;
_local5 = ((_arg2 - _arg1) / _arg3);
if (Math.abs(_local5) > _arg4){
return (_local5);
};
return (0);
}
public function HomotethieBy(_arg1, _arg2:Number, _arg3:String):void{
if (_arg3 == "Max"){
Homotethie(_arg1, _arg2, ((_arg1.width)>_arg1.height) ? "width" : "height");
} else {
Homotethie(_arg1, _arg2, ((_arg1.width)>_arg1.height) ? "height" : "width");
};
}
public function TraceErreur(_arg1:String, _arg2:String, _arg3:Array):void{
var _local4:Array;
_local4 = ["——————————————————————————————————————————————————————", ((("Erreur dans la fonction " + _arg2) + "() de ") + _arg1)];
_local4 = FusionArray(_local4, _arg3);
_local4 = FusionArray(_local4, ["——————————————————————————————————————————————————————"]);
TraceEnsemble(_local4);
}
public function Aide(_arg1:String="Introduction"):void{
var _local2:Array;
_arg1 = PoppingEspace(_arg1);
if (!TableauAide[_arg1]){
_local2 = TableauAide.Erreur;
_local2[0] = (_local2[0] + _arg1);
_arg1 = "Erreur";
} else {
_local2 = TableauAide[_arg1];
};
TraceEnsemble(_local2);
}
public function Homotethie(_arg1, _arg2:Number, _arg3:String="width"):void{
var _local4:Number;
_local4 = (_arg2 / _arg1[_arg3]);
_arg1.width = (_arg1.width * _local4);
_arg1.height = (_arg1.height * _local4);
}
public function TabOrdreObjet(_arg1:Array, _arg2:String, _arg3:String="Croissant"):Array{
var _local4:Array;
var _local5:int;
var _local6:Number;
var _local7:int;
_local4 = new Array();
while (_arg1.length > 0) {
_local6 = 0;
_local7 = 0;
while (_local7 < _arg1.length) {
if (_arg1[_local7][_arg2] > _local6){
_local5 = _local7;
_local6 = _arg1[_local7][_arg2];
};
_local7++;
};
_local4.push(_arg1.splice(_local5, 1));
};
if (_arg3 == "Décroissant"){
_local4.reverse();
};
return (_local4);
}
public function Array2Object(_arg1:Array, _arg2:Object=null):Object{
var _local3:*;
_arg2 = ((_arg2) || (new Object()));
for (_local3 in _arg1) {
_arg2[_arg1[_local3][0]] = new _arg1[_local3][1](((_arg1[_local3][2]) || (null)));
if (_arg1[_local3][3] != null){
Array2Object(_arg1[_local3][3], _arg2[_arg1[_local3][0]]);
};
};
return (_arg2);
}
public function PoppingEspace(_arg1:String):String{
if (_arg1.charAt(0) == " "){
_arg1 = _arg1.substring(1);
};
if (_arg1.charAt((_arg1.length - 1)) == " "){
_arg1 = _arg1.substring((_arg1.length - 1), 0);
};
_arg1 = _arg1.split(" ").join("_");
return (_arg1);
}
public function Launch(_arg1:Object):void{
var Element = _arg1;
try {
var _local3 = Element.Cible;
_local3[Element.Fonction](Element.Argument);
} catch(e) {
try {
var _local4 = Element.Cible;
_local4[Element.Fonction]();
} catch(e) {
};
};
}
public function TraceObject(_arg1:Object, _arg2:String=" ", _arg3:Boolean=true, _arg4:int=0):void{
var _local5:String;
var _local6:int;
var _local7:String;
var _local8:*;
_local6 = _arg4;
_local7 = "";
while (_local6--) {
_local7 = (_local7 + _arg2);
};
for (_local8 in _arg1) {
if (_arg1[_local8] != null){
if (typeof(_arg1[_local8]) == "object"){
if (_arg1[_local8][0]){
_local5 = "[ array ]";
} else {
_local5 = "[ object ]";
};
trace(((_local7 + (_arg3) ? _local5 : "") + _local8));
TraceObject(_arg1[_local8], _arg2, _arg3, (_arg4 + 1));
} else {
trace(((((_local7 + _local8) + " : ") + (_arg3) ? (("[ " + typeof(_arg1[_local8])) + " ]") : "") + _arg1[_local8]));
};
};
};
}
public function Mimetisme(_arg1, _arg2, _arg3:Array=null):void{
TakeAll(_arg1, ExtractAll(_arg2, _arg3));
}
}
}//package drOIde.Global
Section 17
//EchoProcess (drOIde.Sound.EchoProcess)
package drOIde.Sound {
import flash.events.*;
import flash.media.*;
import drOIde.Global.*;
import flash.net.*;
import flash.utils.*;
public class EchoProcess extends WorldTools {
private var levierBuffering:Boolean;// = false
var TableauAide:Object;
private var Retardement:Array;
private var Arret:Array;
private var Channel:Object;
private var nombreSon:int;// = 0
private var zoneFonctionBuffering;
private var Transfo:Object;
private var volumeGlobal:Number;// = 100
private var fonctionBuffering:String;
private var Son:Object;
private var Buffering:Object;
private var volumeGlobalFluide:Number;// = 100
private var nombreSonChargé:int;// = 0
public function EchoProcess(_arg1:String="", _arg2=""){
Retardement = new Array();
Arret = new Array();
volumeGlobal = 100;
volumeGlobalFluide = 100;
nombreSon = 0;
nombreSonChargé = 0;
levierBuffering = false;
TableauAide = {Introduction:["►►►►►►►►►►►►►► ANIM TOOLS ◄◄◄◄◄◄◄◄◄◄◄◄◄◄", "Version 0.0.5", "Dernière mise à jour le 09/02/04", "", "—————♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫—————————————————————————————", "", "►►►►►►►►►► DESCRPTION", "", "", "", "—————♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫—————————————————————————————", "", "►►►►►►►►►► FONCTIONS", "", "▼▼▼ ??? ▼▼▼", "► ?", "", "—————♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫—————————————————————————————", "", "Pour connaitre un ensemble de fonctions ou une fonction particulière en détail, utilisez la fonction", "Aide() en y ajoutant le nom de l'élément en question.", "Exemple : Aide(GET) ou Aide(TraceObject)", "", "—————♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫—————————————————————————————"], Erreur:["AIDE Erreur ►►►►►►►►►►►►►► Dans la demande : ", "", "Vérifiez que vous avez tapé un nom correct d'ensemble de fonctions ou de fonction particulière.", "Vous devez respecter les majuscules et les minuscules.", "Les noms des ensembles de fonctions sont toujours en majuscules ( Exemple : Aide(GET) ).", "Les noms des fonctions particulières sont en majuscules et minuscules ( Exemple : Aide(TraceObject) ).", "", "Vous obtiendrez la liste des ensembles de fonctions et fonctions particulières en faisant \"Aide()\"", "—————♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫—————————————————————————————"], ANIMATION_SIMPLE:["Ensemble de Fonction ►►►►►►►►►►►►►► ANIMATION SIMPLE :", "", "En attente...", "", "—————♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫—————————————————————————————"], LancementControl:["Fonction ►►►►►►►►►►►►►► LancementControl :", "Niveau de Manipulation : Amateur", "", "En attente...", "", "—————♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫♪♫—————————————————————————————"]};
super();
Son = new Object();
Channel = new Object();
Transfo = new Object();
Buffering = new Object();
fonctionBuffering = _arg1;
zoneFonctionBuffering = _arg2;
}
public function ModifieVolumeGroupe(_arg1:String, _arg2:Number):void{
Son[_arg1].parametres.Volume = (Son[_arg1].parametres.VolumeActuel = _arg2);
}
public function StopSon(_arg1:String, _arg2:String, _arg3:String):void{
if (Channel[(_arg2 + _arg3)] != null){
Channel[(_arg2 + _arg3)].stop();
Channel[(_arg2 + _arg3)] = null;
Channel[((_arg2 + _arg3) + "Objet")] = null;
Transfo[(_arg2 + _arg3)] = null;
if (Son[_arg1][_arg2].ActionFin){
var _local4 = Son[_arg1][_arg2].ActionFin.Cible;
_local4[Son[_arg1][_arg2].ActionFin.Fonction](null);
};
MultiLaunch(Son[_arg1][_arg2].Actions.Fin);
};
}
public function StopAllSound():void{
var _local1:*;
var _local2:String;
var _local3:String;
for (_local1 in Channel) {
if (((!((Channel[_local1] == null))) && ((_local1.split("Objet").length > 1)))){
_local2 = Channel[_local1].groupe;
_local3 = Channel[_local1].nom;
if (Son[_local2][_local3].ActionFin){
var _local6 = Son[_local2][_local3].ActionFin.Cible;
_local6[Son[_local2][_local3].ActionFin.Fonction](null);
};
MultiLaunch(Son[_local2][_local3].Actions.Fin);
};
Channel[_local1] = null;
};
SoundMixer.stopAll();
}
private function BufferingConversion():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:*;
_local1 = 0;
_local2 = 0;
_local3 = 0;
for (_local4 in Buffering) {
_local1 = (_local1 + Buffering[_local4].Total);
_local2 = (_local2 + Buffering[_local4].Load);
_local3 = (_local3 + Buffering[_local4].Pourcentage);
};
_local3 = (_local3 / nombreSon);
var _local5 = zoneFonctionBuffering;
_local5[fonctionBuffering](_local3, _local2, _local1);
}
public function NouveauSon(_arg1:String, _arg2:String, _arg3, _arg4:Object="", _arg5:String="mp3"):void{
if (Son[_arg1] == null){
Son[_arg1] = new Object();
};
Son[_arg1][_arg2] = new Object();
nombreSon++;
if ((_arg4 is String)){
_arg4 = new Object();
};
Son[_arg1][_arg2].Depart = ((_arg4.Depart)!=null) ? _arg4.Depart : 0;
Son[_arg1][_arg2].Fin = ((_arg4.Fin)!=null) ? _arg4.Fin : null;
Son[_arg1][_arg2].Loop = ((_arg4.Loop)!=null) ? _arg4.Loop : 0;
Son[_arg1][_arg2].Volume = ((_arg4.Volume)!=null) ? _arg4.Volume : 100;
Son[_arg1][_arg2].ActionDebut = ((_arg4.ActionDebut)!=null) ? _arg4.ActionDebut : null;
Son[_arg1][_arg2].ActionFin = ((_arg4.ActionFin)!=null) ? _arg4.ActionFin : null;
Son[_arg1][_arg2].Actions = new Object();
Son[_arg1][_arg2].Actions.Debut = new Object();
Son[_arg1][_arg2].Actions.Fin = new Object();
if (typeof(_arg3) == "string"){
Son[_arg1][_arg2].Son = new Sound(new URLRequest(((_arg3 + ".") + _arg5)));
} else {
if (typeof(_arg3) == "object"){
Son[_arg1][_arg2].Son = new (_arg3);
};
};
Son[_arg1][_arg2].Son.addEventListener(ProgressEvent.PROGRESS, LoadingSon);
}
public function GetNombreSon():Object{
var _local1:Object;
_local1 = new Object();
_local1.Son = nombreSon;
_local1.Chargé = nombreSonChargé;
return (_local1);
}
public function NouveauGroupe(_arg1:String, _arg2:Object=""):void{
Son[_arg1] = new Object();
if ((_arg2 is String)){
Son[_arg1].parametres = new Object();
} else {
Son[_arg1].parametres = _arg2;
if (Son[_arg1].parametres.Volume != null){
Son[_arg1].parametres.VolumeActuel = Son[_arg1].parametres.Volume;
};
};
}
public function JoueSon(_arg1:String, _arg2:String, _arg3:String="Chanel", _arg4:Number=0, _arg5:Object=""):SoundChannel{
var levierSon:Boolean;
var groupe = _arg1;
var nom = _arg2;
var nomChannel = _arg3;
var Temps = _arg4;
var Parametres = _arg5;
if ((Parametres is String)){
Parametres = new Object();
};
if (Son[groupe][nom] != null){
if (Parametres.Retardement == null){
levierSon = false;
if (Temps == 0){
levierSon = true;
} else {
if (Channel[(nom + nomChannel)] == null){
levierSon = true;
} else {
if (Channel[(nom + nomChannel)].position >= (Son[groupe][nom].Son.length - Temps)){
levierSon = true;
};
};
};
if (levierSon){
Channel[(nom + nomChannel)] = new SoundChannel();
Channel[((nom + nomChannel) + "Objet")] = new Object();
Transfo[(nom + nomChannel)] = new SoundTransform();
Channel[((nom + nomChannel) + "Objet")].groupe = groupe;
Channel[((nom + nomChannel) + "Objet")].nom = nom;
Channel[(nom + nomChannel)] = Son[groupe][nom].Son.play(Son[groupe][nom].Depart, Son[groupe][nom].Loop);
Transfo[(nom + nomChannel)] = Channel[(nom + nomChannel)].soundTransform;
Transfo[(nom + nomChannel)].volume = (((((Son[groupe][nom].Volume / 100) * Aspiration(Parametres.Volume, 100)) / 100) * Aspiration(Son[groupe].parametres.Volume, 100)) / 100);
Channel[(nom + nomChannel)].soundTransform = Transfo[(nom + nomChannel)];
if (Son[groupe][nom].Fin != null){
Arret[Arret.length] = new Object();
Arret[(Arret.length - 1)].Interval = new uint();
Arret[(Arret.length - 1)].Interval = setInterval(ArretSon, Son[groupe][nom].Fin, Channel[(nom + nomChannel)], Arret[(Arret.length - 1)]);
};
if (Son[groupe][nom].ActionDebut){
var _local7 = Son[groupe][nom].ActionDebut.Cible;
_local7[Son[groupe][nom].ActionDebut.Fonction]();
};
MultiLaunch(Son[groupe][nom].Actions.Debut);
Channel[((nom + nomChannel) + "Objet")].FonctionFin = function (_arg1){
MultiLaunch(Son[groupe][nom].Actions.Fin);
Channel[(nom + nomChannel)] = null;
Channel[((nom + nomChannel) + "Objet")] = null;
Transfo[(nom + nomChannel)] = null;
};
Channel[(nom + nomChannel)].addEventListener(Event.SOUND_COMPLETE, Channel[((nom + nomChannel) + "Objet")].FonctionFin);
if (Son[groupe][nom].ActionFin){
Channel[(nom + nomChannel)].addEventListener(Event.SOUND_COMPLETE, Son[groupe][nom].ActionFin.Cible[Son[groupe][nom].ActionFin.Fonction]);
};
};
} else {
Retardement[Retardement.length] = new Object();
Retardement[(Retardement.length - 1)].Interval = new uint();
Retardement[(Retardement.length - 1)].Interval = setInterval(JoueSonRetardement, Parametres.Retardement, groupe, nom, nomChannel, Temps, Parametres, Retardement[(Retardement.length - 1)]);
};
};
return (Channel[(nom + nomChannel)]);
}
public function SupprimeAction(_arg1:String, _arg2:String, _arg3:String):void{
Son[_arg1][_arg2].Actions.Debut[_arg3] = null;
Son[_arg1][_arg2].Actions.Fin[_arg3] = null;
}
private function ArretSon():void{
arguments[0].stop();
clearInterval(arguments[1].Interval);
}
private function LoadingSon(_arg1:ProgressEvent):void{
var _local2:Number;
var _local3:uint;
_local2 = (_arg1.bytesLoaded / _arg1.bytesTotal);
_local3 = Math.round((100 * _local2));
if (_local3 >= 100){
_arg1.target.removeEventListener(ProgressEvent.PROGRESS, LoadingSon);
nombreSonChargé++;
};
Buffering[_arg1.bytesTotal] = new Object();
Buffering[_arg1.bytesTotal].Total = _arg1.bytesTotal;
Buffering[_arg1.bytesTotal].Load = _arg1.bytesLoaded;
Buffering[_arg1.bytesTotal].Pourcentage = _local3;
if (((!((fonctionBuffering == ""))) && (levierBuffering))){
BufferingConversion();
};
}
public function AjoutAction(_arg1:String, _arg2:String, _arg3:String, _arg4:Object=null, _arg5:Object=null):void{
Son[_arg1][_arg2].Actions.Debut[_arg3] = _arg4;
Son[_arg1][_arg2].Actions.Fin[_arg3] = _arg5;
}
public function Control(_arg1):void{
if (Math.abs((volumeGlobal - volumeGlobalFluide)) > 0.5){
volumeGlobal = (volumeGlobal + ((volumeGlobalFluide - volumeGlobal) / 10));
SoundMixer.soundTransform = new SoundTransform((volumeGlobal / 100));
} else {
if (volumeGlobal != volumeGlobalFluide){
volumeGlobal = volumeGlobalFluide;
SoundMixer.soundTransform = new SoundTransform((volumeGlobal / 100));
};
};
}
public function ModifieVolumeChannel(_arg1:SoundChannel, _arg2:Number):void{
_arg1.soundTransform = new SoundTransform((_arg2 / 100));
}
public function CheckBuffering(_arg1:Boolean=true):void{
levierBuffering = _arg1;
}
private function JoueSonRetardement():void{
var _local2:Object;
_local2 = arguments[4];
_local2.Retardement = null;
JoueSon(arguments[0], arguments[1], arguments[2], arguments[3], _local2);
clearInterval(arguments[5].Interval);
}
public function LancementControl():void{
addEventListener(Event.ENTER_FRAME, Control);
}
public function ModifieVolume(_arg1:Number, _arg2:String="direct"):void{
if (_arg2 == "direct"){
SoundMixer.soundTransform = new SoundTransform((((_arg1)<0) ? 0 : ((_arg1)>100) ? 100 : _arg1 / 100));
volumeGlobal = ((_arg1)<0) ? 0 : ((_arg1)>100) ? 100 : _arg1;
volumeGlobalFluide = volumeGlobal;
} else {
if (_arg2 == "fluide"){
volumeGlobalFluide = ((_arg1)<0) ? 0 : ((_arg1)>100) ? 100 : _arg1;
};
};
}
public function GetVolume():Number{
return (volumeGlobal);
}
}
}//package drOIde.Sound
Section 18
//Vortex (drOIde.VorteX.Vortex)
package drOIde.VorteX {
import flash.display.*;
public class Vortex extends MovieClip {
private var Nombre_Op:Number;
private var Sinusoide:Object;
private var Centre;
private var Exponentiel:Object;
private var postOp:Array;
private var Nombre:Number;
public function Vortex():void{
Sinusoide = new Object();
Exponentiel = new Object();
}
private function Random(_arg1:String, _arg2:String):Number{
Nombre = ((Math.random() * (Number(extract(_arg1, ",", 1)) - Number(extract(_arg1, ",", 2)))) + Number(extract(_arg1, ",", 2)));
return (postOperatoire(Nombre, _arg2));
}
private function mathFloor(_arg1:Number, _arg2:String):Number{
return (Math.floor(_arg1));
}
private function Rapport(_arg1:String, _arg2:String):Number{
Nombre = Centre.getPont(extract(_arg1, ",", 1));
if (extract(_arg1, ",", 2) != null){
Nombre = (Nombre + Number(extract(_arg1, ",", 2)));
};
return (postOperatoire(Nombre, _arg2));
}
private function mathCeil(_arg1:Number, _arg2:String):Number{
return (Math.ceil(_arg1));
}
private function ExponantMulti(_arg1:Number, _arg2:String):Number{
if (Exponentiel[extract(_arg2, ",", 2)] == null){
Exponentiel[extract(_arg2, ",", 2)] = Number(1);
};
Exponentiel[extract(_arg2, ",", 2)] = (Exponentiel[extract(_arg2, ",", 2)] * Number(extract(_arg2, ",", 3)));
return ((_arg1 + Exponentiel[extract(_arg2, ",", 2)]));
}
private function Multi(_arg1:Number, _arg2:String):Number{
return ((_arg1 * Number(extract(_arg2, ",", 2))));
}
private function SinusoideSouple(_arg1:String, _arg2:String):Number{
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:String;
_local3 = Number(extract(_arg1, ",", 1));
_local4 = Number(extract(_arg1, ",", 2));
_local5 = Number(extract(_arg1, ",", 3));
_local6 = (Number(extract(_arg1, ",", 4)) * -1);
_local7 = extract(_arg1, ",", 5);
if (Sinusoide[_local7] == null){
Sinusoide[_local7] = new Object();
Sinusoide[_local7].nombre = ((extract(_arg1, ",", 6))!=null) ? Number(extract(_arg1, ",", 6)) : 0;
Sinusoide[_local7].vitesse = 0;
Sinusoide[_local7].levier = ((extract(_arg1, ",", 7))!=null) ? extract(_arg1, ",", 7) : "Haut";
} else {
if (Sinusoide[_local7].levier == "Haut"){
if ((Sinusoide[_local7].vitesse = (Sinusoide[_local7].vitesse - _local3)) < _local6){
Sinusoide[_local7].vitesse = _local6;
};
if (Sinusoide[_local7].nombre <= 0){
Sinusoide[_local7].levier = "Bas";
};
} else {
if (Sinusoide[_local7].levier == "Bas"){
if ((Sinusoide[_local7].vitesse = (Sinusoide[_local7].vitesse + _local4)) > _local5){
Sinusoide[_local7].vitesse = _local5;
};
if (Sinusoide[_local7].nombre >= 0){
Sinusoide[_local7].levier = "Haut";
};
};
};
};
Sinusoide[_local7].nombre = (Sinusoide[_local7].nombre + Sinusoide[_local7].vitesse);
Nombre = Sinusoide[_local7].nombre;
return (postOperatoire(Nombre, _arg2));
}
private function littleChaos(_arg1:Number, _arg2:String):Number{
return (((_arg1 + (Math.random() * 2)) - 1));
}
private function Divis(_arg1:Number, _arg2:String):Number{
return ((_arg1 / Number(extract(_arg2, ",", 2))));
}
public function Aspiration(_arg1, _arg2:Number=undefined){
if ((_arg1 is Number)){
return (_arg1);
};
if ((_arg1 is String)){
return (this[extract(_arg1, ":", 1)](extract(_arg1, ":", 2), extract(_arg1, ":", 3)));
};
return (_arg2);
}
private function mathRound(_arg1:Number, _arg2:String):Number{
return (Math.round(_arg1));
}
public function Central(_arg1):void{
Centre = _arg1;
}
private function Add(_arg1:Number, _arg2:String):Number{
return ((_arg1 + Number(extract(_arg2, ",", 2))));
}
private function extract(_arg1:String, _arg2:String, _arg3:int=1):String{
return (_arg1.split(_arg2, _arg1.length)[(_arg3 - 1)]);
}
private function postOperatoire(_arg1:Number, _arg2:String):Number{
var _local3:String;
if (extract(_arg2, "/", 1) != "Simple"){
postOp = _arg2.split("/");
Nombre_Op = _arg1;
for (_local3 in postOp) {
Nombre_Op = this[extract(postOp[_local3], ",", 1)](Nombre_Op, postOp[_local3]);
};
return (Nombre_Op);
//unresolved jump
};
return (_arg1);
}
private function Simple(_arg1:String, _arg2:String):Number{
Nombre = Number(_arg1);
return (postOperatoire(Nombre, _arg2));
}
private function Exponant(_arg1:Number, _arg2:String):Number{
if (Exponentiel[extract(_arg2, ",", 2)] == null){
Exponentiel[extract(_arg2, ",", 2)] = Number(0);
};
Exponentiel[extract(_arg2, ",", 2)] = (Exponentiel[extract(_arg2, ",", 2)] + Number(extract(_arg2, ",", 3)));
return ((_arg1 + Exponentiel[extract(_arg2, ",", 2)]));
}
private function SinusoideDroit(_arg1:String, _arg2:String):Number{
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:String;
_local3 = Number(extract(_arg1, ",", 2));
_local4 = Number(extract(_arg1, ",", 1));
_local5 = Number(extract(_arg1, ",", 3));
_local6 = extract(_arg1, ",", 4);
if (Sinusoide[_local6] == null){
Sinusoide[_local6] = new Object();
Sinusoide[_local6].nombre = ((_local4)>0) ? (_local4 + (_local3 - _local4)) : (_local3 - Math.abs(_local4));
Sinusoide[_local6].levier = ((extract(_arg1, ",", 5))!=null) ? extract(_arg1, ",", 5) : "Haut";
} else {
if (Sinusoide[_local6].levier == "Haut"){
Sinusoide[_local6].nombre = (Sinusoide[_local6].nombre + _local5);
if (Sinusoide[_local6].nombre >= _local3){
Sinusoide[_local6].levier = "Bas";
};
} else {
if (Sinusoide[_local6].levier == "Bas"){
Sinusoide[_local6].nombre = (Sinusoide[_local6].nombre - _local5);
if (Sinusoide[_local6].nombre <= _local4){
Sinusoide[_local6].levier = "Haut";
};
};
};
};
Nombre = Sinusoide[_local6].nombre;
return (postOperatoire(Nombre, _arg2));
}
}
}//package drOIde.VorteX
Section 19
//BonusMalus (BonusMalus)
package {
import flash.display.*;
public dynamic class BonusMalus extends MovieClip {
public function BonusMalus(){
addFrameScript(0, frame1, 14, frame15, 15, frame16, 29, frame30, 46, frame47, 76, frame77, 105, frame106, 129, frame130);
}
function frame77(){
(parent as MovieClip).removeChild(this);
stop();
}
function frame15(){
stop();
var _local1 = this;
_local1["Demarre"]();
}
function frame16(){
stop();
}
function frame1(){
stop();
}
function frame106(){
(parent as MovieClip).removeChild(this);
stop();
}
function frame30(){
stop();
var _local1 = this;
_local1["Demarre"]();
}
function frame47(){
(parent as MovieClip).removeChild(this);
stop();
}
function frame130(){
(parent as MovieClip).removeChild(this);
stop();
}
}
}//package
Section 20
//Chaire (Chaire)
package {
import flash.media.*;
public dynamic class Chaire extends Sound {
}
}//package
Section 21
//FlashBonus (FlashBonus)
package {
import flash.media.*;
public dynamic class FlashBonus extends Sound {
}
}//package
Section 22
//FlashMalus (FlashMalus)
package {
import flash.media.*;
public dynamic class FlashMalus extends Sound {
}
}//package
Section 23
//KeyboardPort (KeyboardPort)
package {
import flash.events.*;
import flash.display.*;
public class KeyboardPort extends MovieClip {
private var événements:Object;
private var clées:Object;
private var port;
private var convert_clées:Object;
public function KeyboardPort(_arg1):void{
clées = new Object();
événements = new Object();
convert_clées = {SPACE:32, UP:38, DOWN:40, LEFT:37, RIGHT:39, BACKSPACE:8, CAPS_LOCK:20, CONTROL:17, DELETE:46, END:35, ENTER:13, ESCAPE:27, F1:112, F10:121, F11:122, F12:123, F13:124, F14:125, F15:126, F2:113, F3:114, F4:115, F5:116, F6:117, F7:118, F8:119, F9:120, HOME:36, INSERT:45, NUMPAD_0:96, NUMPAD_1:97, NUMPAD_2:98, NUMPAD_3:99, NUMPAD_4:100, NUMPAD_5:101, NUMPAD_6:102, NUMPAD_7:103, NUMPAD_8:104, NUMPAD_9:105, NUMPAD_ADD:107, NUMPAD_DECIMAL:110, NUMPAD_DIVIDE:111, NUMPAD_ENTER:108, NUMPAD_MULTIPLY:106, NUMPAD_SUBSTRACT:109, PAGE_DOWN:34, PAGE_UP:33, TAB:9, SHIFT:16, P:80};
port = _arg1;
port.addEventListener(KeyboardEvent.KEY_DOWN, appuie);
port.addEventListener(KeyboardEvent.KEY_UP, relache);
}
public function supressionEvénement(_arg1:String):void{
événements[_arg1].removeEventListener(Event.ENTER_FRAME, controlTouche);
événements[_arg1] = null;
}
public function appuieClee(_arg1:Number):Boolean{
return (clées[_arg1]);
}
private function appuie(_arg1:KeyboardEvent):void{
clées[_arg1.keyCode] = true;
}
public function appuieTouche(_arg1:String):Boolean{
return (appuieClee(convert_clées[_arg1]));
}
private function controlTouche(_arg1:Event){
if (appuieTouche(_arg1.target.touche)){
if ((((_arg1.target.levier_actuel > 0)) || ((_arg1.target.levier == 0)))){
var _local2 = _arg1.target.cible;
_local2[_arg1.target.fonction](_arg1.target.argument);
_arg1.target.levier_actuel--;
};
};
if (((!(appuieTouche(_arg1.target.touche))) && (!((_arg1.target.levier_actuel == _arg1.target.levier))))){
_arg1.target.levier_actuel = _arg1.target.levier;
};
}
public function nouveauEvénement(_arg1:String, _arg2:String, _arg3:String, _arg4:int, _arg5, _arg6:Object):void{
événements[_arg1] = new MovieClip();
événements[_arg1].fonction = _arg2;
événements[_arg1].touche = _arg3;
événements[_arg1].levier_actuel = _arg4;
événements[_arg1].levier = _arg4;
événements[_arg1].cible = _arg5;
événements[_arg1].argument = _arg6;
événements[_arg1].addEventListener(Event.ENTER_FRAME, controlTouche);
}
private function relache(_arg1:KeyboardEvent):void{
clées[_arg1.keyCode] = false;
}
}
}//package
Section 24
//Part (Part)
package {
import flash.display.*;
import flash.text.*;
public dynamic class Part extends MovieClip {
public var Forme:MovieClip;
public var Texte:TextField;
public var leTexte:String;
public function Part(){
addFrameScript(0, frame1, 71, frame72, 79, frame80, 82, frame83, 83, frame84, 115, frame116);
}
function frame72(){
Texte.text = String(Math.round((Math.random() * 9)));
}
function frame80(){
try {
Texte.text = leTexte;
} catch(e) {
};
}
function frame84(){
Forme.gotoAndStop(Math.round(((Math.random() * (Forme.totalFrames - 1)) + 1)));
}
function frame1(){
}
function frame83(){
Forme.gotoAndStop(Math.round(((Math.random() * (Forme.totalFrames - 1)) + 1)));
Forme.rotation = ((Math.round((Math.random() * 3)) + 1) * 90);
}
function frame116(){
Forme.gotoAndStop(Math.round(((Math.random() * (Forme.totalFrames - 1)) + 1)));
}
}
}//package
Section 25
//Primavera (Primavera)
package {
import flash.media.*;
public dynamic class Primavera extends Sound {
}
}//package
Section 26
//Razoir1 (Razoir1)
package {
import flash.media.*;
public dynamic class Razoir1 extends Sound {
}
}//package
Section 27
//Razoir2 (Razoir2)
package {
import flash.media.*;
public dynamic class Razoir2 extends Sound {
}
}//package
Section 28
//Razoir3 (Razoir3)
package {
import flash.media.*;
public dynamic class Razoir3 extends Sound {
}
}//package