Section 1
//bg_16 (PlayfulChihuahua_fla.bg_16)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class bg_16 extends MovieClip {
public function bg_16(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 2
//bg1_choses_17 (PlayfulChihuahua_fla.bg1_choses_17)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class bg1_choses_17 extends MovieClip {
public function bg1_choses_17(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 3
//btn_acc_tete_98 (PlayfulChihuahua_fla.btn_acc_tete_98)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class btn_acc_tete_98 extends MovieClip {
public var hit:MovieClip;
public function btn_acc_tete_98(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package PlayfulChihuahua_fla
Section 4
//btn_back1_149 (PlayfulChihuahua_fla.btn_back1_149)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class btn_back1_149 extends MovieClip {
public var hit:MovieClip;
public function btn_back1_149(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package PlayfulChihuahua_fla
Section 5
//btn_bg_110 (PlayfulChihuahua_fla.btn_bg_110)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class btn_bg_110 extends MovieClip {
public var hit:MovieClip;
public function btn_bg_110(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package PlayfulChihuahua_fla
Section 6
//btn_chiffre_121 (PlayfulChihuahua_fla.btn_chiffre_121)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class btn_chiffre_121 extends MovieClip {
public var btn:MovieClip;
}
}//package PlayfulChihuahua_fla
Section 7
//btn_chiffre_fleche_114 (PlayfulChihuahua_fla.btn_chiffre_fleche_114)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class btn_chiffre_fleche_114 extends MovieClip {
public var left1:MovieClip;
public var btn:MovieClip;
public var right1:MovieClip;
}
}//package PlayfulChihuahua_fla
Section 8
//btn_chiffre_lechiffre_117 (PlayfulChihuahua_fla.btn_chiffre_lechiffre_117)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class btn_chiffre_lechiffre_117 extends MovieClip {
public var chiffre:TextField;
public function btn_chiffre_lechiffre_117(){
addFrameScript(0, frame1);
}
function frame1(){
this.chiffre.text = MovieClip(parent).chif;
}
}
}//package PlayfulChihuahua_fla
Section 9
//btn_coliers_101 (PlayfulChihuahua_fla.btn_coliers_101)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class btn_coliers_101 extends MovieClip {
public var hit:MovieClip;
public function btn_coliers_101(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package PlayfulChihuahua_fla
Section 10
//btn_couleur_129 (PlayfulChihuahua_fla.btn_couleur_129)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class btn_couleur_129 extends MovieClip {
public var hit:MovieClip;
public function btn_couleur_129(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package PlayfulChihuahua_fla
Section 11
//btn_couleur_fleche_118 (PlayfulChihuahua_fla.btn_couleur_fleche_118)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class btn_couleur_fleche_118 extends MovieClip {
public var left1:MovieClip;
public var right1:MovieClip;
}
}//package PlayfulChihuahua_fla
Section 12
//btn_couleur_ti_119 (PlayfulChihuahua_fla.btn_couleur_ti_119)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class btn_couleur_ti_119 extends MovieClip {
public function btn_couleur_ti_119(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 13
//btn_deco_queue_112 (PlayfulChihuahua_fla.btn_deco_queue_112)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class btn_deco_queue_112 extends MovieClip {
public var hit:MovieClip;
public function btn_deco_queue_112(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package PlayfulChihuahua_fla
Section 14
//btn_fini_103 (PlayfulChihuahua_fla.btn_fini_103)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class btn_fini_103 extends MovieClip {
public var hit:MovieClip;
public function btn_fini_103(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package PlayfulChihuahua_fla
Section 15
//btn_fleche1_115 (PlayfulChihuahua_fla.btn_fleche1_115)
package PlayfulChihuahua_fla {
import flash.display.*;
import flash.events.*;
public dynamic class btn_fleche1_115 extends MovieClip {
public var hit:MovieClip;
public function btn_fleche1_115(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
this.addEventListener(MouseEvent.CLICK, clickButton);
}
public function clickButton(_arg1:Event=null):void{
}
}
}//package PlayfulChihuahua_fla
Section 16
//btn_linge_135 (PlayfulChihuahua_fla.btn_linge_135)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class btn_linge_135 extends MovieClip {
public var hit:MovieClip;
public function btn_linge_135(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package PlayfulChihuahua_fla
Section 17
//btn_motifs_133 (PlayfulChihuahua_fla.btn_motifs_133)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class btn_motifs_133 extends MovieClip {
public var hit:MovieClip;
public function btn_motifs_133(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package PlayfulChihuahua_fla
Section 18
//btn_nageoire_131 (PlayfulChihuahua_fla.btn_nageoire_131)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class btn_nageoire_131 extends MovieClip {
public var hit:MovieClip;
public function btn_nageoire_131(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package PlayfulChihuahua_fla
Section 19
//btn_oreilles_125 (PlayfulChihuahua_fla.btn_oreilles_125)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class btn_oreilles_125 extends MovieClip {
public var hit:MovieClip;
public function btn_oreilles_125(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package PlayfulChihuahua_fla
Section 20
//btn_pics_127 (PlayfulChihuahua_fla.btn_pics_127)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class btn_pics_127 extends MovieClip {
public var hit:MovieClip;
public function btn_pics_127(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package PlayfulChihuahua_fla
Section 21
//btn_poubelle_122 (PlayfulChihuahua_fla.btn_poubelle_122)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class btn_poubelle_122 extends MovieClip {
public var hit:MovieClip;
public function btn_poubelle_122(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package PlayfulChihuahua_fla
Section 22
//btn_printer1_147 (PlayfulChihuahua_fla.btn_printer1_147)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class btn_printer1_147 extends MovieClip {
public var hit:MovieClip;
public function btn_printer1_147(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package PlayfulChihuahua_fla
Section 23
//btn_son_105 (PlayfulChihuahua_fla.btn_son_105)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class btn_son_105 extends MovieClip {
public var c1:MovieClip;
public var c2:MovieClip;
public function btn_son_105(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
if (MovieClip(parent.parent.parent).musique != "on"){
this.gotoAndStop(2);
};
this.c1.addEventListener(MouseEvent.CLICK, clickSons1);
}
function frame2(){
stop();
this.c2.addEventListener(MouseEvent.CLICK, clickSons1);
}
public function clickSons1(_arg1:Event=null):void{
if (this.currentFrame == 1){
if (MovieClip(parent.parent.parent).musicMC.Menu1_ch != null){
MovieClip(parent.parent.parent).musique = "off";
MovieClip(parent.parent.parent).musicMC.Menu1_tr.volume = 0;
MovieClip(parent.parent.parent).musicMC.Menu1_ch.soundTransform = MovieClip(parent.parent.parent).musicMC.Menu1_tr;
};
this.gotoAndStop(2);
} else {
if (MovieClip(parent.parent.parent).musicMC.Menu1_ch != null){
MovieClip(parent.parent.parent).musique = "on";
MovieClip(parent.parent.parent).musicMC.Menu1_tr.volume = MovieClip(parent.parent.parent).volumeValue;
MovieClip(parent.parent.parent).musicMC.Menu1_ch.soundTransform = MovieClip(parent.parent.parent).musicMC.Menu1_tr;
};
this.gotoAndStop(1);
};
MovieClip(parent.parent).menu1.gotoAndStop(1);
MovieClip(parent).gotoAndStop(1);
}
}
}//package PlayfulChihuahua_fla
Section 24
//btn_son1_106 (PlayfulChihuahua_fla.btn_son1_106)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class btn_son1_106 extends MovieClip {
public var hit:MovieClip;
public function btn_son1_106(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package PlayfulChihuahua_fla
Section 25
//btn_son2_108 (PlayfulChihuahua_fla.btn_son2_108)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class btn_son2_108 extends MovieClip {
public var hit:MovieClip;
public function btn_son2_108(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package PlayfulChihuahua_fla
Section 26
//btn_X_116 (PlayfulChihuahua_fla.btn_X_116)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class btn_X_116 extends MovieClip {
public var equipe:Boolean;
public var c:MovieClip;
public var chif:uint;
public var hit:MovieClip;
public function btn_X_116(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
stop();
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
if (equipe == true){
this.gotoAndStop("equipe");
};
}
}
}//package PlayfulChihuahua_fla
Section 27
//btn_yeux_137 (PlayfulChihuahua_fla.btn_yeux_137)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class btn_yeux_137 extends MovieClip {
public var hit:MovieClip;
public function btn_yeux_137(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package PlayfulChihuahua_fla
Section 28
//chien_18 (PlayfulChihuahua_fla.chien_18)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class chien_18 extends MovieClip {
public var langue:MovieClip;
public var dent:MovieClip;
public var corps:MovieClip;
public var linge:MovieClip;
public var linge_av:MovieClip;
public var colier:MovieClip;
public var tete:MovieClip;
public var yeux:MovieClip;
public var points1:MovieClip;
public var fini:MovieClip;
public var souliers:MovieClip;
public var extra_bg:MovieClip;
public var tete_ar:MovieClip;
}
}//package PlayfulChihuahua_fla
Section 29
//cils_fille_fr1_84 (PlayfulChihuahua_fla.cils_fille_fr1_84)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class cils_fille_fr1_84 extends MovieClip {
public function cils_fille_fr1_84(){
addFrameScript(0, frame1);
}
function frame1(){
this.visible = MovieClip(parent.parent.parent).metCils;
}
}
}//package PlayfulChihuahua_fla
Section 30
//cils_fille_fr2_85 (PlayfulChihuahua_fla.cils_fille_fr2_85)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class cils_fille_fr2_85 extends MovieClip {
public function cils_fille_fr2_85(){
addFrameScript(0, frame1);
}
function frame1(){
this.visible = MovieClip(parent.parent.parent).metCils;
}
}
}//package PlayfulChihuahua_fla
Section 31
//cils_fille_fr3_86 (PlayfulChihuahua_fla.cils_fille_fr3_86)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class cils_fille_fr3_86 extends MovieClip {
public function cils_fille_fr3_86(){
addFrameScript(0, frame1);
}
function frame1(){
this.visible = MovieClip(parent.parent.parent).metCils;
}
}
}//package PlayfulChihuahua_fla
Section 32
//cils_fille_fr4_87 (PlayfulChihuahua_fla.cils_fille_fr4_87)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class cils_fille_fr4_87 extends MovieClip {
public function cils_fille_fr4_87(){
addFrameScript(0, frame1);
}
function frame1(){
this.visible = MovieClip(parent.parent.parent).metCils;
}
}
}//package PlayfulChihuahua_fla
Section 33
//cils_fille_fr5_88 (PlayfulChihuahua_fla.cils_fille_fr5_88)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class cils_fille_fr5_88 extends MovieClip {
public function cils_fille_fr5_88(){
addFrameScript(0, frame1);
}
function frame1(){
this.visible = MovieClip(parent.parent.parent).metCils;
}
}
}//package PlayfulChihuahua_fla
Section 34
//coeur_c_94 (PlayfulChihuahua_fla.coeur_c_94)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class coeur_c_94 extends MovieClip {
public function coeur_c_94(){
addFrameScript(38, frame39);
}
function frame39(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 35
//coeurs_clip_93 (PlayfulChihuahua_fla.coeurs_clip_93)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class coeurs_clip_93 extends MovieClip {
public function coeurs_clip_93(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
play();
}
}
}//package PlayfulChihuahua_fla
Section 36
//colier_71 (PlayfulChihuahua_fla.colier_71)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class colier_71 extends MovieClip {
public var c1:MovieClip;
public var m3:MovieClip;
public var m1:MovieClip;
public var m_colier:MovieClip;
public var m2:MovieClip;
public function colier_71(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
function frame6(){
stop();
MovieClip(parent).corps.corps2.mask = this.m1;
MovieClip(parent).corps.motifs2.mask = this.m2;
MovieClip(parent).corps.blanc2.mask = this.m3;
this.m1.gotoAndStop(5);
this.m2.gotoAndStop(5);
this.m3.gotoAndStop(5);
}
function frame3(){
stop();
MovieClip(parent).corps.corps2.mask = this.m1;
MovieClip(parent).corps.motifs2.mask = this.m2;
MovieClip(parent).corps.blanc2.mask = this.m3;
this.m1.gotoAndStop(2);
this.m2.gotoAndStop(2);
this.m3.gotoAndStop(2);
}
function frame4(){
stop();
MovieClip(parent).corps.corps2.mask = this.m1;
MovieClip(parent).corps.motifs2.mask = this.m2;
MovieClip(parent).corps.blanc2.mask = this.m3;
this.m1.gotoAndStop(3);
this.m2.gotoAndStop(3);
this.m3.gotoAndStop(3);
}
function frame1(){
stop();
MovieClip(parent).corps.corps2.mask = null;
MovieClip(parent).corps.motifs2.mask = null;
MovieClip(parent).corps.blanc2.mask = null;
}
function frame5(){
stop();
if (MovieClip(parent).linge.currentFrame == 6){
this.c1.visible = false;
};
MovieClip(parent).corps.corps2.mask = this.m1;
MovieClip(parent).corps.motifs2.mask = this.m2;
MovieClip(parent).corps.blanc2.mask = this.m3;
this.m1.gotoAndStop(4);
this.m2.gotoAndStop(4);
this.m3.gotoAndStop(4);
this.m_colier.visible = false;
if (MovieClip(parent).corps.corps2.visible == true){
this.c1.mask = this.m_colier;
};
}
function frame2(){
stop();
MovieClip(parent).corps.corps2.mask = this.m1;
MovieClip(parent).corps.motifs2.mask = this.m2;
MovieClip(parent).corps.blanc2.mask = this.m3;
this.m1.gotoAndStop(1);
this.m2.gotoAndStop(1);
this.m3.gotoAndStop(1);
}
}
}//package PlayfulChihuahua_fla
Section 37
//colier1_72 (PlayfulChihuahua_fla.colier1_72)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class colier1_72 extends MovieClip {
public function colier1_72(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 38
//colier2_74 (PlayfulChihuahua_fla.colier2_74)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class colier2_74 extends MovieClip {
public function colier2_74(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 39
//colier3_75 (PlayfulChihuahua_fla.colier3_75)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class colier3_75 extends MovieClip {
public function colier3_75(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 40
//colier4_76 (PlayfulChihuahua_fla.colier4_76)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class colier4_76 extends MovieClip {
public function colier4_76(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 41
//colier5_78 (PlayfulChihuahua_fla.colier5_78)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class colier5_78 extends MovieClip {
public function colier5_78(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 42
//corps_35 (PlayfulChihuahua_fla.corps_35)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class corps_35 extends MovieClip {
public var motifs1:MovieClip;
public var motifs2:MovieClip;
public var queue:MovieClip;
public var corps1:MovieClip;
public var corps2:MovieClip;
public var blanc2:MovieClip;
public var blanc1:MovieClip;
}
}//package PlayfulChihuahua_fla
Section 43
//corps_poils_courts_53 (PlayfulChihuahua_fla.corps_poils_courts_53)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class corps_poils_courts_53 extends MovieClip {
public function corps_poils_courts_53(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 44
//corps_poils_courts_coul_55 (PlayfulChihuahua_fla.corps_poils_courts_coul_55)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class corps_poils_courts_coul_55 extends MovieClip {
public function corps_poils_courts_coul_55(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
this.gotoAndStop(MovieClip(parent.parent.parent.parent).motifsCoul);
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 45
//corps_poils_courts_coul_queue_44 (PlayfulChihuahua_fla.corps_poils_courts_coul_queue_44)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class corps_poils_courts_coul_queue_44 extends MovieClip {
public function corps_poils_courts_coul_queue_44(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
this.gotoAndStop(MovieClip(parent.parent.parent.parent.parent.parent).motifsCoul);
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 46
//corps_poils_courts_queue_42 (PlayfulChihuahua_fla.corps_poils_courts_queue_42)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class corps_poils_courts_queue_42 extends MovieClip {
public function corps_poils_courts_queue_42(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 47
//corps_poils_longs_46 (PlayfulChihuahua_fla.corps_poils_longs_46)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class corps_poils_longs_46 extends MovieClip {
public var m_ar:MovieClip;
public var m_av:MovieClip;
public function corps_poils_longs_46(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 48
//corps_poils_longs_coul_50 (PlayfulChihuahua_fla.corps_poils_longs_coul_50)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class corps_poils_longs_coul_50 extends MovieClip {
public var m_ar:MovieClip;
public var m_av:MovieClip;
public function corps_poils_longs_coul_50(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
this.gotoAndStop(MovieClip(parent.parent.parent.parent).motifsCoul);
this.m_av.gotoAndStop(MovieClip(parent.parent.parent).linge.currentFrame);
this.m_ar.gotoAndStop(MovieClip(parent.parent.parent).linge.currentFrame);
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 49
//corps_poils_longs_coul_queue_40 (PlayfulChihuahua_fla.corps_poils_longs_coul_queue_40)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class corps_poils_longs_coul_queue_40 extends MovieClip {
public function corps_poils_longs_coul_queue_40(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
this.gotoAndStop(MovieClip(parent.parent.parent.parent.parent.parent).motifsCoul);
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 50
//corps_poils_longs_queue_38 (PlayfulChihuahua_fla.corps_poils_longs_queue_38)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class corps_poils_longs_queue_38 extends MovieClip {
public function corps_poils_longs_queue_38(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 51
//credits_musique_139 (PlayfulChihuahua_fla.credits_musique_139)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class credits_musique_139 extends MovieClip {
public function credits_musique_139(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
if (MovieClip(parent.parent).lang == "fr"){
this.gotoAndStop("fr");
} else {
if (MovieClip(parent.parent).lang == "en"){
this.gotoAndStop("en");
} else {
if (MovieClip(parent.parent).lang == "es"){
this.gotoAndStop("es");
};
};
};
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 52
//credits_snl_140 (PlayfulChihuahua_fla.credits_snl_140)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class credits_snl_140 extends MovieClip {
public var hit:MovieClip;
public function credits_snl_140(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
if (MovieClip(parent.parent).snailsLogo == true){
this.addEventListener(MouseEvent.CLICK, clickBtn);
} else {
this.mouseEnabled = false;
};
}
public function clickBtn(_arg1:Event=null):void{
navigateToURL(new URLRequest("http://www.snailsanimation.com"), "_blank");
}
}
}//package PlayfulChihuahua_fla
Section 53
//extra_bg_19 (PlayfulChihuahua_fla.extra_bg_19)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class extra_bg_19 extends MovieClip {
public function extra_bg_19(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 54
//flag_icon_157 (PlayfulChihuahua_fla.flag_icon_157)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class flag_icon_157 extends MovieClip {
public function flag_icon_157(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 55
//fondu_blanc_c_152 (PlayfulChihuahua_fla.fondu_blanc_c_152)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class fondu_blanc_c_152 extends MovieClip {
public function fondu_blanc_c_152(){
addFrameScript(0, frame1, 10, frame11);
}
function frame1(){
play();
}
function frame11(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 56
//ggbutton_10 (PlayfulChihuahua_fla.ggbutton_10)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class ggbutton_10 extends MovieClip {
public var hit:MovieClip;
public function ggbutton_10(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package PlayfulChihuahua_fla
Section 57
//ggbutton2_7 (PlayfulChihuahua_fla.ggbutton2_7)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class ggbutton2_7 extends MovieClip {
public var hit:MovieClip;
public function ggbutton2_7(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package PlayfulChihuahua_fla
Section 58
//ggc_logo_145 (PlayfulChihuahua_fla.ggc_logo_145)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class ggc_logo_145 extends MovieClip {
public var sponsor:MovieClip;
public function ggc_logo_145(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
if (MovieClip(parent.parent).snailsLogo == true){
this.gotoAndStop(2);
} else {
this.sponsor.addEventListener(MouseEvent.CLICK, MovieClip(parent.parent).clickSpil);
};
}
function frame2(){
stop();
this.sponsor.addEventListener(MouseEvent.CLICK, MovieClip(parent.parent).clickHugo);
}
}
}//package PlayfulChihuahua_fla
Section 59
//ggc_logo2_6 (PlayfulChihuahua_fla.ggc_logo2_6)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class ggc_logo2_6 extends MovieClip {
public var sponsor:MovieClip;
public function ggc_logo2_6(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
if (MovieClip(parent).snailsLogo == true){
this.gotoAndStop(2);
} else {
this.sponsor.addEventListener(MouseEvent.CLICK, MovieClip(parent).clickSpil);
};
}
function frame2(){
stop();
this.sponsor.addEventListener(MouseEvent.CLICK, MovieClip(parent).clickHugo);
}
}
}//package PlayfulChihuahua_fla
Section 60
//l_br_160 (PlayfulChihuahua_fla.l_br_160)
package PlayfulChihuahua_fla {
import flash.display.*;
import flash.text.*;
public dynamic class l_br_160 extends MovieClip {
public var text:TextField;
public var flag:MovieClip;
}
}//package PlayfulChihuahua_fla
Section 61
//langBox_142 (PlayfulChihuahua_fla.langBox_142)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class langBox_142 extends MovieClip {
public function langBox_142(){
addFrameScript(0, frame1);
}
function frame1(){
if (MovieClip(parent.parent).snailsLogo == true){
this.visible = false;
//unresolved jump
};
}
}
}//package PlayfulChihuahua_fla
Section 62
//linge_63 (PlayfulChihuahua_fla.linge_63)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class linge_63 extends MovieClip {
public var c1:MovieClip;
public var m_linge:MovieClip;
public function linge_63(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
function frame3(){
stop();
if (MovieClip(parent).colier.c1 != null){
MovieClip(parent).colier.c1.visible = true;
};
}
function frame6(){
stop();
if (MovieClip(parent).colier.c1 != null){
if (MovieClip(parent).colier.currentFrame == 5){
MovieClip(parent).colier.c1.visible = false;
} else {
MovieClip(parent).colier.c1.visible = true;
};
};
}
function frame7(){
stop();
if (MovieClip(parent).colier.c1 != null){
MovieClip(parent).colier.c1.visible = true;
};
this.m_linge.visible = false;
if (MovieClip(parent).corps.corps2.visible == true){
this.c1.mask = this.m_linge;
};
}
function frame1(){
stop();
}
function frame4(){
stop();
if (MovieClip(parent).colier.c1 != null){
MovieClip(parent).colier.c1.visible = true;
};
}
function frame5(){
stop();
if (MovieClip(parent).colier.c1 != null){
MovieClip(parent).colier.c1.visible = true;
};
}
function frame2(){
stop();
if (MovieClip(parent).colier.c1 != null){
MovieClip(parent).colier.c1.visible = true;
};
}
}
}//package PlayfulChihuahua_fla
Section 63
//linge_av_79 (PlayfulChihuahua_fla.linge_av_79)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class linge_av_79 extends MovieClip {
public var c1:MovieClip;
public function linge_av_79(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 64
//linge1_64 (PlayfulChihuahua_fla.linge1_64)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class linge1_64 extends MovieClip {
public function linge1_64(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 65
//linge2_65 (PlayfulChihuahua_fla.linge2_65)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class linge2_65 extends MovieClip {
public function linge2_65(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 66
//linge3_66 (PlayfulChihuahua_fla.linge3_66)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class linge3_66 extends MovieClip {
public function linge3_66(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 67
//linge4_67 (PlayfulChihuahua_fla.linge4_67)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class linge4_67 extends MovieClip {
public function linge4_67(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 68
//linge5_68 (PlayfulChihuahua_fla.linge5_68)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class linge5_68 extends MovieClip {
public function linge5_68(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 69
//linge6_69 (PlayfulChihuahua_fla.linge6_69)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class linge6_69 extends MovieClip {
public function linge6_69(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 70
//MainTimeline (PlayfulChihuahua_fla.MainTimeline)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class MainTimeline extends MovieClip {
public var musique:String;
public var urlStart:Number;
public var bg:MovieClip;
public var chien:MovieClip;
public var metCils:Boolean;
public var volumeValue:Number;
public var musicMC:Musique;
public var largeurOriginale:uint;
public var leMenu:ContextMenu;
public var cadre:MovieClip;
public var Star:Boolean;
public var LastDot:Number;
public var domain:String;
public var motifsCoul:uint;
public var maxVol:Number;
public var urlEnd:Number;
public var debutURL:String;
public var pfixEnd:Number;
public var spons:MovieClip;
public var menus:MovieClip;
public var targ4:MovieClip;
public var targ2:MovieClip;
public var Notice:MovieClip;
public var targ3:MovieClip;
public var sons:String;
public var co_uk:Number;
public var snailsLogo:Boolean;
public var menuItem1:ContextMenuItem;
public var targ:MovieClip;
public var local:Boolean;
public var url:String;
public var monChihuahua:TextField;
public var point:String;
public var localMode:String;
public var devTexte:String;
public var com_cn:Number;
public var BAR:MovieClip;
public var lang:String;
public var defaultItems:ContextMenuBuiltInItems;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 8, frame9, 9, frame10, 19, frame20, 21, frame22);
}
public function modifieCoulChapeau(_arg1:uint):void{
if ((((chien.tete.currentFrame == 3)) || ((chien.tete.currentFrame == 10)))){
targ = chien.tete.c1.boucle1;
targ2 = chien.tete_ar.c1.boucle1;
} else {
targ = chien.tete.c1;
targ2 = chien.tete_ar.c1;
};
targ.gotoAndStop(_arg1);
targ2.gotoAndStop(_arg1);
}
public function preload(_arg1:Event):void{
var _local2:uint;
var _local3:Number;
_local2 = 1;
while (_local2 < 9) {
this.BAR.bx[("b" + _local2)].gotoAndPlay((this.BAR.bx[("b" + _local2)].currentFrame + 1));
if (this.BAR.bx[("b" + _local2)].currentFrame == this.BAR.bx[("b" + _local2)].totalFrames){
this.BAR.bx[("b" + _local2)].gotoAndPlay(1);
};
_local2++;
};
_local3 = Math.floor(((this.loaderInfo.bytesLoaded * 100) / this.loaderInfo.bytesTotal));
if (_local3 > (this.BAR.currentFrame + 2)){
this.BAR.play();
} else {
this.BAR.gotoAndStop(_local3);
};
if (_local3 >= 100){
this.BAR.removeEventListener(Event.ENTER_FRAME, preload);
this.play();
};
}
public function modifieChapeau(_arg1:uint):void{
targ = chien.tete;
targ.gotoAndStop(_arg1);
targ2 = chien.tete_ar;
targ2.gotoAndStop(_arg1);
this.menus.menu1.btn8.btn.c.chiffre.text = (_arg1 - 1);
if (((((((((!((_arg1 == 1))) && (!((_arg1 == 5))))) && (!((_arg1 == 6))))) && (!((_arg1 == 9))))) && (!((_arg1 == 11))))){
this.menus.menu1.btn9.alpha = 1;
this.menus.menu1.btn9.right1.mouseEnabled = true;
this.menus.menu1.btn9.left1.mouseEnabled = true;
} else {
this.menus.menu1.btn9.alpha = 0.5;
this.menus.menu1.btn9.right1.mouseEnabled = false;
this.menus.menu1.btn9.left1.mouseEnabled = false;
};
}
public function clickbtn7_l(_arg1:MouseEvent):void{
var _local2:uint;
_local2 = chien.linge.c1.currentFrame;
_local2--;
if (_local2 == 0){
_local2 = chien.linge.c1.totalFrames;
};
modifieCoulLinge(_local2);
}
public function clickbtn7_r(_arg1:MouseEvent):void{
var _local2:uint;
_local2 = chien.linge.c1.currentFrame;
_local2 = (_local2 + 1);
if (_local2 == (chien.linge.c1.totalFrames + 1)){
_local2 = 1;
};
modifieCoulLinge(_local2);
}
public function clickbtn10_r(_arg1:MouseEvent):void{
var _local2:uint;
_local2 = chien.souliers.currentFrame;
_local2 = (_local2 + 1);
if (_local2 == (chien.souliers.totalFrames + 1)){
_local2 = 1;
};
modifieSouliers(_local2);
}
public function clickbtn10_l(_arg1:MouseEvent):void{
var _local2:uint;
_local2 = chien.souliers.currentFrame;
_local2--;
if (_local2 == 0){
_local2 = chien.souliers.totalFrames;
};
modifieSouliers(_local2);
}
public function clickbtn11_r(_arg1:MouseEvent):void{
var _local2:uint;
_local2 = chien.souliers.c1.currentFrame;
_local2 = (_local2 + 1);
if (_local2 == (chien.souliers.c1.totalFrames + 1)){
_local2 = 1;
};
modifieCoulSouliers(_local2);
}
public function modifieColier(_arg1:uint):void{
targ = chien.colier;
targ.gotoAndStop(_arg1);
this.menus.menu1.btn4.btn.c.chiffre.text = (_arg1 - 1);
if (_arg1 == 1){
this.menus.menu1.btn5.alpha = 0.5;
this.menus.menu1.btn5.right1.mouseEnabled = false;
this.menus.menu1.btn5.left1.mouseEnabled = false;
} else {
this.menus.menu1.btn5.alpha = 1;
this.menus.menu1.btn5.right1.mouseEnabled = true;
this.menus.menu1.btn5.left1.mouseEnabled = true;
};
}
public function clickSnails(_arg1:Event=null):void{
navigateToURL(new URLRequest("http://www.snailsanimation.com"), "_blank");
}
public function modifieCoulLinge(_arg1:uint):void{
targ = chien.linge.c1;
targ.gotoAndStop(_arg1);
targ2 = chien.linge_av.c1;
targ2.gotoAndStop(_arg1);
}
function frame10(){
if (local == true){
this.Notice.visible = false;
} else {
urlStart = (url.indexOf("://") + 3);
urlEnd = url.indexOf("/", urlStart);
domain = url.substring(urlStart, urlEnd);
LastDot = (domain.lastIndexOf(".") - 1);
pfixEnd = (domain.lastIndexOf(".", LastDot) + 1);
domain = domain.substring(pfixEnd, domain.length);
if ((((domain == "snailsanimation.com")) || ((domain == "flashgamelicense.com")))){
this.Notice.visible = false;
this.play();
} else {
stop();
this.Notice.visible = true;
};
};
}
public function poubelle15(_arg1:MouseEvent):void{
targ = chien.points1;
targ.visible = false;
this.menus.menu2.btn15.btn.mouseEnabled = true;
this.menus.menu2.btn15.btn.equipe = false;
this.menus.menu2.btn15.btn.gotoAndStop("_up");
}
public function clickHugo(_arg1:Event=null):void{
navigateToURL(new URLRequest("http://www.hugolescargot.com"), "_blank");
}
public function clickbtn6_l(_arg1:MouseEvent):void{
var _local2:uint;
_local2 = chien.linge.currentFrame;
_local2--;
if (_local2 == 0){
_local2 = chien.linge.totalFrames;
};
modifieLinge(_local2);
}
function frame1(){
Languages.initialize();
SpilGame.initialize("Playful_Chihuahua", PortalGroup.GIRL, "Playful-Chihuahua.html", this, true);
this.addChild(this.cadre);
localMode = Capabilities.playerType;
this.addEventListener(Event.ADDED_TO_STAGE, onAddedToStage, false, 0, true);
if (localMode == "StandAlone"){
stage.showDefaultContextMenu = false;
fscommand("allowscale", "true");
fscommand("trapallkeys", "true");
};
lang = Capabilities.language;
chLangue();
leMenu = new ContextMenu();
leMenu.hideBuiltInItems();
defaultItems = leMenu.builtInItems;
defaultItems.quality = true;
menuItem1 = new ContextMenuItem(devTexte);
menuItem1.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, clickSnails);
leMenu.customItems.push(menuItem1);
this.contextMenu = leMenu;
url = this.loaderInfo.url;
urlStart = (url.indexOf("://") + 3);
urlEnd = url.indexOf("/", urlStart);
domain = url.substring(urlStart, urlEnd);
co_uk = domain.lastIndexOf(".co.uk");
com_cn = domain.lastIndexOf(".com.cn");
if (co_uk != -1){
point = ".co.uk";
} else {
if (com_cn != -1){
point = ".com.cn";
} else {
point = ".";
};
};
LastDot = (domain.lastIndexOf(point) - 1);
pfixEnd = (domain.lastIndexOf(".", LastDot) + 1);
domain = domain.substring(pfixEnd, domain.length);
debutURL = url.substring(0, urlStart);
trace(("DOMAIN = " + domain));
trace(("DÉBUT URL = " + debutURL));
if ((((((((((debutURL == "file://")) || ((domain == "agame.com")))) || ((domain == "xiaoyouxi.cn")))) || ((domain == "game.com.cn")))) || ((domain == "spilgames.com")))){
snailsLogo = false;
} else {
snailsLogo = true;
};
musique = "on";
sons = "on";
maxVol = 0.3;
volumeValue = maxVol;
}
public function clickbtn6_r(_arg1:MouseEvent):void{
var _local2:uint;
_local2 = chien.linge.currentFrame;
_local2 = (_local2 + 1);
if (_local2 == (chien.linge.totalFrames + 1)){
_local2 = 1;
};
modifieLinge(_local2);
}
public function poubelle12(_arg1:MouseEvent):void{
targ = chien.yeux.cils;
targ.visible = false;
metCils = false;
this.menus.menu2.btn12.btn.mouseEnabled = true;
this.menus.menu2.btn12.btn.equipe = false;
this.menus.menu2.btn12.btn.gotoAndStop("_up");
}
public function poubelle13(_arg1:MouseEvent):void{
targ = chien.dent;
targ.visible = false;
this.menus.menu2.btn13.btn.mouseEnabled = true;
this.menus.menu2.btn13.btn.equipe = false;
this.menus.menu2.btn13.btn.gotoAndStop("_up");
}
public function poubelle14(_arg1:MouseEvent):void{
targ = chien.langue;
targ.visible = false;
this.menus.menu2.btn14.btn.mouseEnabled = true;
this.menus.menu2.btn14.btn.equipe = false;
this.menus.menu2.btn14.btn.gotoAndStop("_up");
}
function frame9(){
local = true;
}
function frame2(){
stop();
this.BAR.addEventListener(Event.ENTER_FRAME, preload);
}
function frame3(){
this.BAR.gotoAndStop(100);
play();
}
function frame20(){
stop();
musicMC = new Musique();
addChild(musicMC);
this.gotoAndPlay("dress-up", "Dress-up");
}
function frame22(){
MochiBot.track(this, "7677416a");
stop();
this.setChildIndex(this.cadre, (numChildren - 1));
largeurOriginale = 700;
if (musicMC.Menu1_ch != null){
this.musicMC.gotoAndStop(2);
};
chien.dent.visible = false;
chien.langue.visible = false;
chien.yeux.cils.visible = false;
chien.points1.visible = false;
chien.corps.motifs2.visible = false;
chien.corps.blanc2.visible = false;
chien.corps.corps2.visible = false;
chien.corps.queue.c1.queue_long_motifs.visible = false;
chien.corps.queue.c1.queue_long_blanc.visible = false;
chien.corps.queue.c1.queue_long.visible = false;
motifsCoul = 1;
metCils = false;
}
public function clickbtn5_l(_arg1:MouseEvent):void{
var _local2:uint;
_local2 = chien.colier.c1.currentFrame;
_local2--;
if (_local2 == 0){
_local2 = chien.colier.c1.totalFrames;
};
modifieCoulColier(_local2);
}
public function clickbtn5_r(_arg1:MouseEvent):void{
var _local2:uint;
_local2 = chien.colier.c1.currentFrame;
_local2 = (_local2 + 1);
if (_local2 == (chien.colier.c1.totalFrames + 1)){
_local2 = 1;
};
modifieCoulColier(_local2);
}
public function modifieCoulSouliers(_arg1:uint):void{
targ = chien.souliers.c1;
targ.gotoAndStop(_arg1);
}
public function modifieCoulColier(_arg1:uint):void{
targ = chien.colier.c1;
targ.gotoAndStop(_arg1);
}
public function clickSNL(_arg1:Event=null):void{
navigateToURL(new URLRequest("http://www.snailsanimation.com"), "_blank");
}
public function clickbtn4_l(_arg1:MouseEvent):void{
var _local2:uint;
_local2 = chien.colier.currentFrame;
_local2--;
if (_local2 == 0){
_local2 = chien.colier.totalFrames;
};
modifieColier(_local2);
}
public function clickbtn4_r(_arg1:MouseEvent):void{
var _local2:uint;
_local2 = chien.colier.currentFrame;
_local2 = (_local2 + 1);
if (_local2 == (chien.colier.totalFrames + 1)){
_local2 = 1;
};
modifieColier(_local2);
}
public function clickBtn11(_arg1:MouseEvent):void{
this.menus.menu1.gotoAndStop(1);
this.menus.menu2.gotoAndStop(1);
this.bg.play();
}
public function clickBtn12(_arg1:MouseEvent):void{
this.menus.menu1.gotoAndStop(1);
this.menus.menu2.gotoAndStop(1);
chien.fini.gotoAndPlay(2);
this.menus.gotoAndPlay("sort");
}
public function clickBtn10(_arg1:MouseEvent):void{
chien.extra_bg.play();
this.menus.menu1.gotoAndStop("menu");
this.menus.menu2.gotoAndStop("menu");
}
public function clickbtn12(_arg1:MouseEvent):void{
targ = chien.yeux.cils;
targ.visible = true;
metCils = true;
this.menus.menu2.btn12.btn.equipe = true;
this.menus.menu2.btn12.btn.mouseEnabled = false;
}
public function clickBtn4(_arg1:MouseEvent):void{
targ = chien.yeux.c1;
if (targ.currentFrame == targ.totalFrames){
chien.yeux.yeux_coul = 1;
};
targ.play();
this.menus.menu1.gotoAndStop("menu");
this.menus.menu2.gotoAndStop("menu");
}
public function clickBtn5(_arg1:MouseEvent):void{
if (this.menus.menu1.frameName == "colier"){
this.menus.menu1.gotoAndStop(1);
} else {
this.menus.menu1.gotoAndStop("colier");
};
}
public function clickBtn1(_arg1:MouseEvent):void{
chien.corps.corps1.play();
chien.corps.corps2.play();
chien.corps.queue.c1.queue_court.play();
chien.corps.queue.c1.queue_long.play();
if ((((chien.tete.currentFrame == 3)) || ((chien.tete.currentFrame == 10)))){
chien.tete.c1.c2.play();
chien.tete_ar.c1.c2.play();
} else {
if ((((chien.tete.currentFrame == 6)) || ((chien.tete.currentFrame == 11)))){
chien.tete.c1.play();
chien.tete_ar.c1.play();
};
};
this.menus.menu1.gotoAndStop("menu");
this.menus.menu2.gotoAndStop("menu");
}
public function clickBtn2(_arg1:MouseEvent):void{
if (chien.corps.corps1.visible == true){
chien.corps.corps1.visible = false;
chien.corps.motifs1.visible = false;
chien.corps.blanc1.visible = false;
chien.corps.queue.c1.queue_court.visible = false;
chien.corps.queue.c1.queue_court_motifs.visible = false;
chien.corps.queue.c1.queue_court_blanc.visible = false;
chien.corps.corps2.visible = true;
chien.corps.motifs2.visible = true;
chien.corps.blanc2.visible = true;
chien.corps.queue.c1.queue_long.visible = true;
chien.corps.queue.c1.queue_long_motifs.visible = true;
chien.corps.queue.c1.queue_long_blanc.visible = true;
if (chien.colier.currentFrame == 5){
chien.colier.c1.mask = chien.colier.m_colier;
};
if (chien.linge.currentFrame == 7){
chien.linge.c1.mask = chien.linge.m_linge;
};
} else {
if (chien.corps.corps2.visible == true){
chien.corps.corps2.visible = false;
chien.corps.motifs2.visible = false;
chien.corps.blanc2.visible = false;
chien.corps.queue.c1.queue_long.visible = false;
chien.corps.queue.c1.queue_long_motifs.visible = false;
chien.corps.queue.c1.queue_long_blanc.visible = false;
chien.corps.corps1.visible = true;
chien.corps.motifs1.visible = true;
chien.corps.blanc1.visible = true;
chien.corps.queue.c1.queue_court.visible = true;
chien.corps.queue.c1.queue_court_motifs.visible = true;
chien.corps.queue.c1.queue_court_blanc.visible = true;
if (chien.colier.currentFrame == 5){
chien.colier.c1.mask = null;
};
if (chien.linge.currentFrame == 7){
chien.linge.c1.mask = null;
};
};
};
this.menus.menu1.gotoAndStop("menu");
this.menus.menu2.gotoAndStop("menu");
}
public function clickBtn3(_arg1:MouseEvent):void{
if (this.menus.menu1.frameName == "motifs"){
this.menus.menu1.gotoAndStop(1);
} else {
this.menus.menu1.gotoAndStop("motifs");
};
}
public function clickBtn6(_arg1:MouseEvent):void{
if (this.menus.menu1.frameName == "linge"){
this.menus.menu1.gotoAndStop(1);
} else {
this.menus.menu1.gotoAndStop("linge");
};
}
public function clickBtn8(_arg1:MouseEvent):void{
if (this.menus.menu2.frameName == "souliers"){
this.menus.menu2.gotoAndStop(1);
} else {
this.menus.menu2.gotoAndStop("souliers");
};
}
public function modifieSouliers(_arg1:uint):void{
targ = chien.souliers;
targ.gotoAndStop(_arg1);
this.menus.menu2.btn10.btn.c.chiffre.text = (_arg1 - 1);
if (_arg1 != 1){
this.menus.menu2.btn11.alpha = 1;
this.menus.menu2.btn11.right1.mouseEnabled = true;
this.menus.menu2.btn11.left1.mouseEnabled = true;
} else {
this.menus.menu2.btn11.alpha = 0.5;
this.menus.menu2.btn11.right1.mouseEnabled = false;
this.menus.menu2.btn11.left1.mouseEnabled = false;
};
}
public function clickbtn13(_arg1:MouseEvent):void{
targ = chien.dent;
targ.visible = true;
this.menus.menu2.btn13.btn.equipe = true;
this.menus.menu2.btn13.btn.mouseEnabled = false;
}
public function clickBtn9(_arg1:MouseEvent):void{
if (this.menus.menu2.frameName == "extra_face"){
this.menus.menu2.gotoAndStop(1);
} else {
this.menus.menu2.gotoAndStop("extra_face");
};
}
public function clickbtn3_r(_arg1:MouseEvent):void{
var _local2:uint;
_local2 = chien.corps.blanc1.currentFrame;
_local2 = (_local2 + 1);
if (_local2 == (chien.corps.blanc1.totalFrames + 1)){
_local2 = 1;
};
modifieBlanc(_local2);
}
public function clickbtn3_l(_arg1:MouseEvent):void{
var _local2:uint;
_local2 = chien.corps.blanc1.currentFrame;
_local2--;
if (_local2 == 0){
_local2 = chien.corps.blanc1.totalFrames;
};
modifieBlanc(_local2);
}
public function clickBtn7(_arg1:MouseEvent):void{
if (this.menus.menu1.frameName == "chapeau"){
this.menus.menu1.gotoAndStop(1);
} else {
this.menus.menu1.gotoAndStop("chapeau");
};
}
public function modifieLinge(_arg1:uint):void{
targ = chien.linge;
targ.gotoAndStop(_arg1);
targ2 = chien.linge_av;
targ2.gotoAndStop(_arg1);
this.menus.menu1.btn6.btn.c.chiffre.text = (_arg1 - 1);
if (_arg1 == 1){
this.menus.menu1.btn7.alpha = 0.5;
this.menus.menu1.btn7.right1.mouseEnabled = false;
this.menus.menu1.btn7.left1.mouseEnabled = false;
} else {
this.menus.menu1.btn7.alpha = 1;
this.menus.menu1.btn7.right1.mouseEnabled = true;
this.menus.menu1.btn7.left1.mouseEnabled = true;
};
this.chien.corps.corps2.m_av.gotoAndStop(_arg1);
this.chien.corps.corps2.m_ar.gotoAndStop(_arg1);
if (this.chien.corps.motifs2.c1 != null){
this.chien.corps.motifs2.c1.m_av.gotoAndStop(_arg1);
this.chien.corps.motifs2.c1.m_ar.gotoAndStop(_arg1);
};
this.chien.corps.blanc2.m_av.gotoAndStop(_arg1);
this.chien.corps.blanc2.m_ar.gotoAndStop(_arg1);
}
public function clickbtn15(_arg1:MouseEvent):void{
targ = chien.points1;
targ.visible = true;
this.menus.menu2.btn15.btn.equipe = true;
this.menus.menu2.btn15.btn.mouseEnabled = false;
}
public function clickImprime():void{
var printJob:PrintJob;
var content_mc:MovieClip;
var largeur:Number;
var hauteur:Number;
var dimension:Number;
var result:Boolean;
var options:PrintJobOptions;
var pourcentage:Number;
trace("ok");
printJob = new PrintJob();
content_mc = this;
largeur = content_mc.scaleX;
hauteur = content_mc.scaleY;
dimension = this.largeurOriginale;
result = printJob.start();
if (result){
if (dimension > printJob.pageWidth){
pourcentage = (printJob.pageWidth / dimension);
content_mc.scaleX = pourcentage;
content_mc.scaleY = content_mc.scaleX;
this.menus.menu3.visible = false;
this.menus.cr.visible = false;
};
options = new PrintJobOptions();
options.printAsBitmap = true;
try {
printJob.addPage(content_mc, null, options);
printJob.send();
content_mc.scaleX = largeur;
content_mc.scaleY = hauteur;
this.menus.menu3.visible = true;
this.menus.cr.visible = true;
} catch(error:Error) {
content_mc.scaleX = largeur;
content_mc.scaleY = hauteur;
this.menus.menu3.visible = true;
this.menus.cr.visible = true;
};
};
}
public function clickbtn14(_arg1:MouseEvent):void{
targ = chien.langue;
targ.visible = true;
this.menus.menu2.btn14.btn.equipe = true;
this.menus.menu2.btn14.btn.mouseEnabled = false;
}
public function modifieBlanc(_arg1:uint):void{
targ = chien.corps.blanc1;
targ2 = chien.corps.blanc2;
targ3 = chien.corps.queue.c1.queue_court_blanc;
targ4 = chien.corps.queue.c1.queue_long_blanc;
targ.gotoAndStop(_arg1);
targ2.gotoAndStop(_arg1);
targ3.gotoAndStop(_arg1);
targ4.gotoAndStop(_arg1);
this.menus.menu1.btn3.btn.c.chiffre.text = (_arg1 - 1);
}
public function clickbtn2_l(_arg1:MouseEvent):void{
var _local2:uint;
_local2 = chien.corps.motifs1.c1.currentFrame;
_local2--;
if (_local2 == 0){
_local2 = chien.corps.motifs1.c1.totalFrames;
};
modifieCoulMotifs(_local2);
}
public function clickbtn2_r(_arg1:MouseEvent):void{
var _local2:uint;
_local2 = chien.corps.motifs1.c1.currentFrame;
_local2 = (_local2 + 1);
if (_local2 == (chien.corps.motifs1.c1.totalFrames + 1)){
_local2 = 1;
};
modifieCoulMotifs(_local2);
}
public function modifieMotifs(_arg1:uint):void{
targ = chien.corps.motifs1;
targ2 = chien.corps.motifs2;
targ3 = chien.corps.queue.c1.queue_court_motifs;
targ4 = chien.corps.queue.c1.queue_long_motifs;
targ.gotoAndStop(_arg1);
targ2.gotoAndStop(_arg1);
targ3.gotoAndStop(_arg1);
targ4.gotoAndStop(_arg1);
this.menus.menu1.btn1.btn.c.chiffre.text = (_arg1 - 1);
if (_arg1 == 1){
this.menus.menu1.btn2.alpha = 0.5;
this.menus.menu1.btn2.right1.mouseEnabled = false;
this.menus.menu1.btn2.left1.mouseEnabled = false;
} else {
this.menus.menu1.btn2.alpha = 1;
this.menus.menu1.btn2.right1.mouseEnabled = true;
this.menus.menu1.btn2.left1.mouseEnabled = true;
};
}
public function clickbtn1_l(_arg1:MouseEvent):void{
var _local2:uint;
_local2 = chien.corps.motifs1.currentFrame;
_local2--;
if (_local2 == 0){
_local2 = chien.corps.motifs1.totalFrames;
};
modifieMotifs(_local2);
}
public function clickbtn9_l(_arg1:MouseEvent):void{
var _local2:uint;
if ((((chien.tete.currentFrame == 3)) || ((chien.tete.currentFrame == 10)))){
_local2 = chien.tete.c1.boucle1.currentFrame;
_local2--;
if (_local2 == 0){
_local2 = chien.tete.c1.boucle1.totalFrames;
};
} else {
_local2 = chien.tete.c1.currentFrame;
_local2--;
if (_local2 == 0){
_local2 = chien.tete.c1.totalFrames;
};
};
modifieCoulChapeau(_local2);
}
public function clickbtn1_r(_arg1:MouseEvent):void{
var _local2:uint;
_local2 = chien.corps.motifs1.currentFrame;
_local2 = (_local2 + 1);
if (_local2 == (chien.corps.motifs1.totalFrames + 1)){
_local2 = 1;
};
modifieMotifs(_local2);
}
public function clickbtn9_r(_arg1:MouseEvent):void{
var _local2:uint;
if ((((chien.tete.currentFrame == 3)) || ((chien.tete.currentFrame == 10)))){
_local2 = chien.tete.c1.boucle1.currentFrame;
_local2 = (_local2 + 1);
if (_local2 == (chien.tete.c1.boucle1.totalFrames + 1)){
_local2 = 1;
};
} else {
_local2 = chien.tete.c1.currentFrame;
_local2 = (_local2 + 1);
if (_local2 == (chien.tete.c1.totalFrames + 1)){
_local2 = 1;
};
};
modifieCoulChapeau(_local2);
}
public function onAddedToStage(_arg1:Event):void{
stage.quality = StageQuality.HIGH;
stage.stageFocusRect = false;
}
public function chLangue():void{
if (lang == "fr"){
devTexte = "Jeu fait par Snails Animation - Visitez notre site!";
monChihuahua.text = "Mon";
} else {
if (lang == "en"){
devTexte = "Game made by Snails Animation - Visit our website!";
monChihuahua.text = "Playful";
} else {
if (lang == "es"){
devTexte = "Juego hecho por Snails Animation - ¡Visita nuestro sitio web!";
monChihuahua.text = "Mi";
} else {
lang = "en";
devTexte = "Game made by Snails Animation - Visit our website!";
monChihuahua.text = "Playful";
};
};
};
}
public function clickbtn8_l(_arg1:MouseEvent):void{
var _local2:uint;
_local2 = chien.tete.currentFrame;
_local2--;
if (_local2 == 0){
_local2 = chien.tete.totalFrames;
};
modifieChapeau(_local2);
}
public function clickbtn8_r(_arg1:MouseEvent):void{
var _local2:uint;
_local2 = chien.tete.currentFrame;
_local2 = (_local2 + 1);
if (_local2 == (chien.tete.totalFrames + 1)){
_local2 = 1;
};
modifieChapeau(_local2);
}
public function clickbtn11_l(_arg1:MouseEvent):void{
var _local2:uint;
_local2 = chien.souliers.c1.currentFrame;
_local2--;
if (_local2 == 0){
_local2 = chien.souliers.c1.totalFrames;
};
modifieCoulSouliers(_local2);
}
public function modifieCoulMotifs(_arg1:uint):void{
targ = chien.corps.motifs1.c1;
targ.gotoAndStop(_arg1);
targ2 = chien.corps.motifs2.c1;
targ2.gotoAndStop(_arg1);
targ3 = chien.corps.queue.c1.queue_court_motifs.c1;
targ3.gotoAndStop(_arg1);
targ4 = chien.corps.queue.c1.queue_long_motifs.c1;
targ4.gotoAndStop(_arg1);
motifsCoul = _arg1;
}
public function clickSpil(_arg1:Event=null):void{
navigateToURL(new URLRequest(SpilGame.getMoreGamesLink("Mainscreen")), "_blank");
}
}
}//package PlayfulChihuahua_fla
Section 71
//masque_poils_ar_47 (PlayfulChihuahua_fla.masque_poils_ar_47)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class masque_poils_ar_47 extends MovieClip {
public function masque_poils_ar_47(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 72
//masque_poils_ar_blanc_52 (PlayfulChihuahua_fla.masque_poils_ar_blanc_52)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class masque_poils_ar_blanc_52 extends MovieClip {
public function masque_poils_ar_blanc_52(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 73
//masque_poils_av_48 (PlayfulChihuahua_fla.masque_poils_av_48)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class masque_poils_av_48 extends MovieClip {
public function masque_poils_av_48(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 74
//masque_poils_av_colier_73 (PlayfulChihuahua_fla.masque_poils_av_colier_73)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class masque_poils_av_colier_73 extends MovieClip {
public function masque_poils_av_colier_73(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 75
//menu1_124 (PlayfulChihuahua_fla.menu1_124)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class menu1_124 extends MovieClip {
public var btn3:MovieClip;
public var btn7:MovieClip;
public var btn2:MovieClip;
public var btn4:MovieClip;
public var btn8:MovieClip;
public var btn6:MovieClip;
public var btn1:MovieClip;
public var btn5:MovieClip;
public var Btn1:MovieClip;
public var Btn2:MovieClip;
public var Btn3:MovieClip;
public var Btn7:MovieClip;
public var Btn4:MovieClip;
public var btn9:MovieClip;
public var Btn5:MovieClip;
public var frameName:String;
public var Btn6:MovieClip;
public var rt:MovieClip;
public var base:MovieClip;
public function menu1_124(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
function frame3(){
stop();
MovieClip(parent).menu2.gotoAndStop(1);
frameName = "colier";
this.btn4.btn.mouseEnabled = false;
this.btn4.btn.alpha = 0.5;
this.btn4.btn.chif = (base.colier.currentFrame - 1);
if (base.colier.currentFrame == 1){
this.btn5.alpha = 0.5;
this.btn5.right1.mouseEnabled = false;
this.btn5.left1.mouseEnabled = false;
};
this.btn4.right1.addEventListener(MouseEvent.CLICK, rt.clickbtn4_r);
this.btn4.left1.addEventListener(MouseEvent.CLICK, rt.clickbtn4_l);
this.btn5.right1.addEventListener(MouseEvent.CLICK, rt.clickbtn5_r);
this.btn5.left1.addEventListener(MouseEvent.CLICK, rt.clickbtn5_l);
}
function frame1(){
stop();
rt = MovieClip(parent.parent);
base = rt.chien;
frameName = "menu";
}
function frame2(){
stop();
MovieClip(parent).menu2.gotoAndStop(1);
frameName = "motifs";
this.btn1.btn.mouseEnabled = false;
this.btn1.btn.alpha = 0.5;
this.btn3.btn.mouseEnabled = false;
this.btn3.btn.alpha = 0.5;
this.btn1.btn.chif = (base.corps.motifs1.currentFrame - 1);
this.btn3.btn.chif = (base.corps.blanc1.currentFrame - 1);
if (base.corps.motifs1.currentFrame == 1){
this.btn2.alpha = 0.5;
this.btn2.right1.mouseEnabled = false;
this.btn2.left1.mouseEnabled = false;
};
this.btn1.right1.addEventListener(MouseEvent.CLICK, rt.clickbtn1_r);
this.btn1.left1.addEventListener(MouseEvent.CLICK, rt.clickbtn1_l);
this.btn2.right1.addEventListener(MouseEvent.CLICK, rt.clickbtn2_r);
this.btn2.left1.addEventListener(MouseEvent.CLICK, rt.clickbtn2_l);
this.btn3.right1.addEventListener(MouseEvent.CLICK, rt.clickbtn3_r);
this.btn3.left1.addEventListener(MouseEvent.CLICK, rt.clickbtn3_l);
}
function frame5(){
stop();
MovieClip(parent).menu2.gotoAndStop(1);
frameName = "chapeau";
this.btn8.btn.mouseEnabled = false;
this.btn8.btn.alpha = 0.5;
this.btn8.btn.chif = (base.tete.currentFrame - 1);
if ((((((((((base.tete.currentFrame == 1)) || ((base.tete.currentFrame == 5)))) || ((base.tete.currentFrame == 6)))) || ((base.tete.currentFrame == 9)))) || ((base.tete.currentFrame == 11)))){
this.btn9.alpha = 0.5;
this.btn9.right1.mouseEnabled = false;
this.btn9.left1.mouseEnabled = false;
};
this.btn8.right1.addEventListener(MouseEvent.CLICK, rt.clickbtn8_r);
this.btn8.left1.addEventListener(MouseEvent.CLICK, rt.clickbtn8_l);
this.btn9.right1.addEventListener(MouseEvent.CLICK, rt.clickbtn9_r);
this.btn9.left1.addEventListener(MouseEvent.CLICK, rt.clickbtn9_l);
}
function frame4(){
stop();
MovieClip(parent).menu2.gotoAndStop(1);
frameName = "linge";
this.btn6.btn.mouseEnabled = false;
this.btn6.btn.alpha = 0.5;
this.btn6.btn.chif = (base.linge.currentFrame - 1);
if (base.linge.currentFrame == 1){
this.btn7.alpha = 0.5;
this.btn7.right1.mouseEnabled = false;
this.btn7.left1.mouseEnabled = false;
};
this.btn6.right1.addEventListener(MouseEvent.CLICK, rt.clickbtn6_r);
this.btn6.left1.addEventListener(MouseEvent.CLICK, rt.clickbtn6_l);
this.btn7.right1.addEventListener(MouseEvent.CLICK, rt.clickbtn7_r);
this.btn7.left1.addEventListener(MouseEvent.CLICK, rt.clickbtn7_l);
}
}
}//package PlayfulChihuahua_fla
Section 76
//menu2_97 (PlayfulChihuahua_fla.menu2_97)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class menu2_97 extends MovieClip {
public var Btn10:MovieClip;
public var Btn12:MovieClip;
public var Btn11:MovieClip;
public var Btn13:MovieClip;
public var btn10:MovieClip;
public var btn11:MovieClip;
public var btn14:MovieClip;
public var Btn8:MovieClip;
public var btn12:MovieClip;
public var btn15:MovieClip;
public var p12:MovieClip;
public var Btn9:MovieClip;
public var frameName:String;
public var p13:MovieClip;
public var p14:MovieClip;
public var p15:MovieClip;
public var rt:MovieClip;
public var btn13:MovieClip;
public var base:MovieClip;
public function menu2_97(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
MovieClip(parent).menu1.gotoAndStop(1);
frameName = "extra_face";
this.btn12.btn.chif = 1;
this.btn13.btn.chif = 2;
this.btn14.btn.chif = 3;
this.btn15.btn.chif = 4;
if (base.yeux.cils.visible == true){
this.btn12.btn.mouseEnabled = false;
this.btn12.btn.equipe = true;
};
if (base.dent.visible == true){
this.btn13.btn.mouseEnabled = false;
this.btn13.btn.equipe = true;
};
if (base.langue.visible == true){
this.btn14.btn.mouseEnabled = false;
this.btn14.btn.equipe = true;
};
if (base.points1.visible == true){
this.btn15.btn.mouseEnabled = false;
this.btn15.btn.equipe = true;
};
this.btn12.btn.addEventListener(MouseEvent.CLICK, rt.clickbtn12);
this.p12.addEventListener(MouseEvent.CLICK, rt.poubelle12);
this.btn13.btn.addEventListener(MouseEvent.CLICK, rt.clickbtn13);
this.p13.addEventListener(MouseEvent.CLICK, rt.poubelle13);
this.btn14.btn.addEventListener(MouseEvent.CLICK, rt.clickbtn14);
this.p14.addEventListener(MouseEvent.CLICK, rt.poubelle14);
this.btn15.btn.addEventListener(MouseEvent.CLICK, rt.clickbtn15);
this.p15.addEventListener(MouseEvent.CLICK, rt.poubelle15);
}
function frame1(){
stop();
rt = MovieClip(parent.parent);
base = rt.chien;
frameName = "menu";
}
function frame2(){
stop();
MovieClip(parent).menu1.gotoAndStop(1);
frameName = "souliers";
this.btn10.btn.mouseEnabled = false;
this.btn10.btn.alpha = 0.5;
this.btn10.btn.chif = (base.souliers.currentFrame - 1);
if (base.souliers.currentFrame == 1){
this.btn11.alpha = 0.5;
this.btn11.right1.mouseEnabled = false;
this.btn11.left1.mouseEnabled = false;
};
this.btn10.right1.addEventListener(MouseEvent.CLICK, rt.clickbtn10_r);
this.btn10.left1.addEventListener(MouseEvent.CLICK, rt.clickbtn10_l);
this.btn11.right1.addEventListener(MouseEvent.CLICK, rt.clickbtn11_r);
this.btn11.left1.addEventListener(MouseEvent.CLICK, rt.clickbtn11_l);
}
}
}//package PlayfulChihuahua_fla
Section 77
//menu3_146 (PlayfulChihuahua_fla.menu3_146)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class menu3_146 extends MovieClip {
public var retour:MovieClip;
public var moregames:SimpleButton;
public var imprime:MovieClip;
public function menu3_146(){
addFrameScript(0, frame1);
}
public function clickImprime(_arg1:Event=null):void{
MovieClip(parent.parent).chien.yeux.gotoAndPlay("imprime");
}
function frame1(){
stop();
this.imprime.addEventListener(MouseEvent.CLICK, clickImprime);
this.retour.addEventListener(MouseEvent.CLICK, clickRetour);
}
public function clickRetour(_arg1:Event=null):void{
MovieClip(parent.parent).chien.yeux.play();
MovieClip(parent).gotoAndPlay("revient");
}
}
}//package PlayfulChihuahua_fla
Section 78
//menus_96 (PlayfulChihuahua_fla.menus_96)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class menus_96 extends MovieClip {
public var snl:MovieClip;
public var cr:MovieClip;
public var menu2:MovieClip;
public var hugo:MovieClip;
public var menu1:MovieClip;
public var menu3:MovieClip;
public var langBox:MovieClip;
public function menus_96(){
addFrameScript(0, frame1, 1, frame2, 20, frame21, 39, frame40, 40, frame41, 60, frame61, 79, frame80);
}
function frame80(){
gotoAndStop(1);
}
function frame21(){
this.menu3.imprime.mouseEnabled = false;
this.menu3.retour.mouseEnabled = false;
}
function frame1(){
this.menu1.Btn1.addEventListener(MouseEvent.CLICK, MovieClip(parent).clickBtn1);
this.menu1.Btn2.addEventListener(MouseEvent.CLICK, MovieClip(parent).clickBtn2);
this.menu1.Btn3.addEventListener(MouseEvent.CLICK, MovieClip(parent).clickBtn3);
this.menu1.Btn4.addEventListener(MouseEvent.CLICK, MovieClip(parent).clickBtn4);
this.menu1.Btn5.addEventListener(MouseEvent.CLICK, MovieClip(parent).clickBtn5);
this.menu1.Btn6.addEventListener(MouseEvent.CLICK, MovieClip(parent).clickBtn6);
this.menu1.Btn7.addEventListener(MouseEvent.CLICK, MovieClip(parent).clickBtn7);
this.menu2.Btn8.addEventListener(MouseEvent.CLICK, MovieClip(parent).clickBtn8);
this.menu2.Btn9.addEventListener(MouseEvent.CLICK, MovieClip(parent).clickBtn9);
this.menu2.Btn10.addEventListener(MouseEvent.CLICK, MovieClip(parent).clickBtn10);
this.menu2.Btn11.addEventListener(MouseEvent.CLICK, MovieClip(parent).clickBtn11);
this.menu2.Btn12.addEventListener(MouseEvent.CLICK, MovieClip(parent).clickBtn12);
this.menu1.Btn1.mouseEnabled = true;
this.menu1.Btn2.mouseEnabled = true;
this.menu1.Btn3.mouseEnabled = true;
this.menu1.Btn4.mouseEnabled = true;
this.menu1.Btn5.mouseEnabled = true;
this.menu1.Btn6.mouseEnabled = true;
this.menu1.Btn7.mouseEnabled = true;
this.menu2.Btn8.mouseEnabled = true;
this.menu2.Btn9.mouseEnabled = true;
this.menu2.Btn10.mouseEnabled = true;
this.menu2.Btn11.mouseEnabled = true;
this.menu2.Btn12.mouseEnabled = true;
if (this.menu2.Btn13.c1 != null){
this.menu2.Btn13.c1.mouseEnabled = true;
} else {
if (this.menu2.Btn13.c2 != null){
this.menu2.Btn13.c2.mouseEnabled = true;
};
};
stop();
}
function frame2(){
this.menu1.Btn1.mouseEnabled = false;
this.menu1.Btn2.mouseEnabled = false;
this.menu1.Btn3.mouseEnabled = false;
this.menu1.Btn4.mouseEnabled = false;
this.menu1.Btn5.mouseEnabled = false;
this.menu1.Btn6.mouseEnabled = false;
this.menu1.Btn7.mouseEnabled = false;
this.menu2.Btn8.mouseEnabled = false;
this.menu2.Btn9.mouseEnabled = false;
this.menu2.Btn10.mouseEnabled = false;
this.menu2.Btn11.mouseEnabled = false;
this.menu2.Btn12.mouseEnabled = false;
if (this.menu2.Btn13.c1 != null){
this.menu2.Btn13.c1.mouseEnabled = false;
} else {
if (this.menu2.Btn13.c2 != null){
this.menu2.Btn13.c2.mouseEnabled = false;
};
};
play();
}
function frame40(){
this.menu3.imprime.mouseEnabled = true;
this.menu3.retour.mouseEnabled = true;
stop();
}
function frame41(){
this.menu3.imprime.mouseEnabled = false;
this.menu3.retour.mouseEnabled = false;
play();
}
function frame61(){
this.menu1.Btn1.mouseEnabled = false;
this.menu1.Btn2.mouseEnabled = false;
this.menu1.Btn3.mouseEnabled = false;
this.menu1.Btn4.mouseEnabled = false;
this.menu1.Btn5.mouseEnabled = false;
this.menu1.Btn6.mouseEnabled = false;
this.menu1.Btn7.mouseEnabled = false;
this.menu2.Btn8.mouseEnabled = false;
this.menu2.Btn9.mouseEnabled = false;
this.menu2.Btn10.mouseEnabled = false;
this.menu2.Btn11.mouseEnabled = false;
this.menu2.Btn12.mouseEnabled = false;
if (this.menu2.Btn13.c1 != null){
this.menu2.Btn13.c1.mouseEnabled = false;
} else {
if (this.menu2.Btn13.c2 != null){
this.menu2.Btn13.c2.mouseEnabled = false;
};
};
}
}
}//package PlayfulChihuahua_fla
Section 79
//motifs_blanc_court_56 (PlayfulChihuahua_fla.motifs_blanc_court_56)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class motifs_blanc_court_56 extends MovieClip {
public function motifs_blanc_court_56(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 80
//motifs_blanc_court_queue_45 (PlayfulChihuahua_fla.motifs_blanc_court_queue_45)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class motifs_blanc_court_queue_45 extends MovieClip {
public function motifs_blanc_court_queue_45(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 81
//motifs_blanc_long_51 (PlayfulChihuahua_fla.motifs_blanc_long_51)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class motifs_blanc_long_51 extends MovieClip {
public var m_ar:MovieClip;
public var m_av:MovieClip;
public function motifs_blanc_long_51(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
this.m_av.gotoAndStop(MovieClip(parent.parent).linge.currentFrame);
this.m_ar.gotoAndStop(MovieClip(parent.parent).linge.currentFrame);
}
function frame6(){
stop();
this.m_av.gotoAndStop(MovieClip(parent.parent).linge.currentFrame);
this.m_ar.gotoAndStop(MovieClip(parent.parent).linge.currentFrame);
}
function frame7(){
stop();
this.m_av.gotoAndStop(MovieClip(parent.parent).linge.currentFrame);
this.m_ar.gotoAndStop(MovieClip(parent.parent).linge.currentFrame);
}
function frame1(){
stop();
this.m_av.gotoAndStop(MovieClip(parent.parent).linge.currentFrame);
this.m_ar.gotoAndStop(MovieClip(parent.parent).linge.currentFrame);
}
function frame4(){
stop();
this.m_av.gotoAndStop(MovieClip(parent.parent).linge.currentFrame);
this.m_ar.gotoAndStop(MovieClip(parent.parent).linge.currentFrame);
}
function frame5(){
stop();
this.m_av.gotoAndStop(MovieClip(parent.parent).linge.currentFrame);
this.m_ar.gotoAndStop(MovieClip(parent.parent).linge.currentFrame);
}
function frame8(){
stop();
this.m_av.gotoAndStop(MovieClip(parent.parent).linge.currentFrame);
this.m_ar.gotoAndStop(MovieClip(parent.parent).linge.currentFrame);
}
function frame2(){
stop();
this.m_av.gotoAndStop(MovieClip(parent.parent).linge.currentFrame);
this.m_ar.gotoAndStop(MovieClip(parent.parent).linge.currentFrame);
}
}
}//package PlayfulChihuahua_fla
Section 82
//motifs_blanc_long_queue_41 (PlayfulChihuahua_fla.motifs_blanc_long_queue_41)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class motifs_blanc_long_queue_41 extends MovieClip {
public function motifs_blanc_long_queue_41(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 83
//motifs_court_54 (PlayfulChihuahua_fla.motifs_court_54)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class motifs_court_54 extends MovieClip {
public var c1:MovieClip;
public function motifs_court_54(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 84
//motifs_court_queue_43 (PlayfulChihuahua_fla.motifs_court_queue_43)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class motifs_court_queue_43 extends MovieClip {
public var c1:MovieClip;
public function motifs_court_queue_43(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 85
//motifs_long_49 (PlayfulChihuahua_fla.motifs_long_49)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class motifs_long_49 extends MovieClip {
public var c1:MovieClip;
public function motifs_long_49(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 86
//motifs_long_queue_39 (PlayfulChihuahua_fla.motifs_long_queue_39)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class motifs_long_queue_39 extends MovieClip {
public var c1:MovieClip;
public function motifs_long_queue_39(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 87
//preloader_barre_3 (PlayfulChihuahua_fla.preloader_barre_3)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class preloader_barre_3 extends MovieClip {
public var b2:MovieClip;
public var b4:MovieClip;
public var b5:MovieClip;
public var b6:MovieClip;
public var b7:MovieClip;
public var b1:MovieClip;
public var b3:MovieClip;
public var b8:MovieClip;
public function preloader_barre_3(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.b1.gotoAndPlay(105);
this.b2.gotoAndPlay(90);
this.b3.gotoAndPlay(75);
this.b4.gotoAndPlay(60);
this.b5.gotoAndPlay(45);
this.b6.gotoAndPlay(30);
this.b7.gotoAndPlay(15);
this.b8.gotoAndPlay(1);
}
}
}//package PlayfulChihuahua_fla
Section 88
//preloader_barre_c_2 (PlayfulChihuahua_fla.preloader_barre_c_2)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class preloader_barre_c_2 extends MovieClip {
public var bx:MovieClip;
public function preloader_barre_c_2(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 89
//preloader_barre_tite_c_4 (PlayfulChihuahua_fla.preloader_barre_tite_c_4)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class preloader_barre_tite_c_4 extends MovieClip {
public function preloader_barre_tite_c_4(){
addFrameScript(0, frame1);
}
function frame1(){
play();
}
}
}//package PlayfulChihuahua_fla
Section 90
//queue_37 (PlayfulChihuahua_fla.queue_37)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class queue_37 extends MovieClip {
public var queue_court_blanc:MovieClip;
public var queue_court_motifs:MovieClip;
public var queue_long_motifs:MovieClip;
public var queue_long_blanc:MovieClip;
public var queue_court:MovieClip;
public var queue_long:MovieClip;
}
}//package PlayfulChihuahua_fla
Section 91
//queue_bouge_36 (PlayfulChihuahua_fla.queue_bouge_36)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class queue_bouge_36 extends MovieClip {
public var c1:MovieClip;
}
}//package PlayfulChihuahua_fla
Section 92
//souliers_57 (PlayfulChihuahua_fla.souliers_57)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class souliers_57 extends MovieClip {
public var c1:MovieClip;
public function souliers_57(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 93
//souliers1_58 (PlayfulChihuahua_fla.souliers1_58)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class souliers1_58 extends MovieClip {
public function souliers1_58(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 94
//souliers2_59 (PlayfulChihuahua_fla.souliers2_59)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class souliers2_59 extends MovieClip {
public function souliers2_59(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 95
//souliers3_60 (PlayfulChihuahua_fla.souliers3_60)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class souliers3_60 extends MovieClip {
public function souliers3_60(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 96
//souliers4_61 (PlayfulChihuahua_fla.souliers4_61)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class souliers4_61 extends MovieClip {
public function souliers4_61(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 97
//souliers5_62 (PlayfulChihuahua_fla.souliers5_62)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class souliers5_62 extends MovieClip {
public function souliers5_62(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 98
//tete_80 (PlayfulChihuahua_fla.tete_80)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class tete_80 extends MovieClip {
public var c1:MovieClip;
public function tete_80(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
function frame11(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 99
//tete_ar_20 (PlayfulChihuahua_fla.tete_ar_20)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class tete_ar_20 extends MovieClip {
public var c1:MovieClip;
public function tete_ar_20(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
function frame11(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 100
//tete1_21 (PlayfulChihuahua_fla.tete1_21)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class tete1_21 extends MovieClip {
public function tete1_21(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 101
//tete10_34 (PlayfulChihuahua_fla.tete10_34)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class tete10_34 extends MovieClip {
public function tete10_34(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
this.gotoAndStop(MovieClip(parent.parent).corps.corps1.currentFrame);
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 102
//tete2_22 (PlayfulChihuahua_fla.tete2_22)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class tete2_22 extends MovieClip {
public var c2:MovieClip;
public var boucle1:MovieClip;
}
}//package PlayfulChihuahua_fla
Section 103
//tete2_boucle_24 (PlayfulChihuahua_fla.tete2_boucle_24)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class tete2_boucle_24 extends MovieClip {
public function tete2_boucle_24(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 104
//tete2_poils_23 (PlayfulChihuahua_fla.tete2_poils_23)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class tete2_poils_23 extends MovieClip {
public function tete2_poils_23(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
this.gotoAndStop(MovieClip(parent.parent.parent).corps.corps1.currentFrame);
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 105
//tete3_25 (PlayfulChihuahua_fla.tete3_25)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class tete3_25 extends MovieClip {
public function tete3_25(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 106
//tete5_27 (PlayfulChihuahua_fla.tete5_27)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class tete5_27 extends MovieClip {
public function tete5_27(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
this.gotoAndStop(MovieClip(parent.parent).corps.corps1.currentFrame);
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 107
//tete6_28 (PlayfulChihuahua_fla.tete6_28)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class tete6_28 extends MovieClip {
public function tete6_28(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 108
//tete7_29 (PlayfulChihuahua_fla.tete7_29)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class tete7_29 extends MovieClip {
public function tete7_29(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 109
//tete9_31 (PlayfulChihuahua_fla.tete9_31)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class tete9_31 extends MovieClip {
public var c2:MovieClip;
public var boucle1:MovieClip;
}
}//package PlayfulChihuahua_fla
Section 110
//tete9_cheveux_32 (PlayfulChihuahua_fla.tete9_cheveux_32)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class tete9_cheveux_32 extends MovieClip {
public function tete9_cheveux_32(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
this.gotoAndStop(MovieClip(parent.parent.parent).corps.corps1.currentFrame);
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 111
//tete9_elastique_33 (PlayfulChihuahua_fla.tete9_elastique_33)
package PlayfulChihuahua_fla {
import flash.display.*;
public dynamic class tete9_elastique_33 extends MovieClip {
public function tete9_elastique_33(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package PlayfulChihuahua_fla
Section 112
//yeux_c_81 (PlayfulChihuahua_fla.yeux_c_81)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class yeux_c_81 extends MovieClip {
public var c1:MovieClip;
public var cils:MovieClip;
public var yeux_coul:uint;
public function yeux_c_81(){
addFrameScript(0, frame1, 149, frame150, 150, frame151, 151, frame152);
}
function frame151(){
play();
}
function frame152(){
stop();
MovieClip(parent.parent).clickImprime();
}
function frame1(){
if (yeux_coul == 0){
yeux_coul = 1;
};
}
function frame150(){
gotoAndPlay(1);
}
}
}//package PlayfulChihuahua_fla
Section 113
//yeux_pupille_82 (PlayfulChihuahua_fla.yeux_pupille_82)
package PlayfulChihuahua_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class yeux_pupille_82 extends MovieClip {
public function yeux_pupille_82(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
function frame3(){
stop();
MovieClip(parent).yeux_coul = this.currentFrame;
}
function frame6(){
stop();
MovieClip(parent).yeux_coul = this.currentFrame;
}
function frame7(){
stop();
MovieClip(parent).yeux_coul = this.currentFrame;
}
function frame1(){
stop();
this.gotoAndStop(MovieClip(parent).yeux_coul);
MovieClip(parent).yeux_coul = this.currentFrame;
}
function frame4(){
stop();
MovieClip(parent).yeux_coul = this.currentFrame;
}
function frame5(){
stop();
MovieClip(parent).yeux_coul = this.currentFrame;
}
function frame2(){
stop();
MovieClip(parent).yeux_coul = this.currentFrame;
}
}
}//package PlayfulChihuahua_fla
Section 114
//Brand (spill.localisation.Brand)
package spill.localisation {
import flash.xml.*;
public class Brand {
public var domain:String;
public var useGoogleAnalitics:Boolean;// = true
public var emailPage:String;
public var name:String;
public var site_id:uint;
public var isExternal:Boolean;// = false
public var id:Number;
public var hostingDomain:String;// = ""
public var preferedLanguage:String;// = ""
public var moreLink:String;// = ""
public var hasSendToFriendLink:Boolean;// = true
public var portalGroup:uint;
public var emailLink:String;// = "game"
private static const topLevelDoubles:String = ((((((((((((((("ac.cn,ac.jp,ac.uk,ad.jp,adm.br,adv.br,agr.br," + "ah.cn,am.br,arq.br,art.br,asn.au,ato.br,av.tr,bel.tr,bio.br,biz.tr,bj.cn,bmd.br,") + "cim.br,cng.br,cnt.br,co.at,co.jp,co.uk,com.au,com.br,com.cn,com.eg,com.hk,com.mx,") + "com.ru,com.tr,com.tw,conf.au,cq.cn,csiro.au,dr.tr,ecn.br,edu.au,edu.br,edu.tr,") + "emu.id.au,eng.br,esp.br,etc.br,eti.br,eun.eg,far.br,fj.cn,fm.br,fnd.br,fot.br,") + "fst.br,g12.br,gb.com,gb.net,gd.cn,gen.tr,ggf.br,gob.mx,gov.au,gov.br,gov.cn,") + "gov.hk,gov.tr,gr.jp,gs.cn,gx.cn,gz.cn,ha.cn,hb.cn,he.cn,hi.cn,hk.cn,hl.cn,hn.cn,") + "id.au,idv.tw,imb.br,ind.br,inf.br,info.au,info.tr,jl.cn,jor.br,js.cn,jx.cn,k12.tr,") + "lel.br,ln.cn,ltd.uk,mat.br,me.uk,med.br,mil.br,mil.tr,mo.cn,mus.br,name.tr,ne.jp,") + "net.au,net.br,net.cn,net.eg,net.hk,net.lu,net.mx,net.ru,net.tr,net.tw,net.uk,") + "nm.cn,no.com,nom.br,not.br,ntr.br,nx.cn,odo.br,oop.br,or.at,or.jp,org.au,org.br,") + "org.cn,org.hk,org.lu,org.ru,org.tr,org.tw,org.uk,plc.uk,pol.tr,pp.ru,ppg.br,pro.br,") + "psc.br,psi.br,qh.cn,qsl.br,rec.br,sc.cn,sd.cn,se.com,se.net,sh.cn,slg.br,sn.cn,") + "srv.br,sx.cn,tel.tr,tj.cn,tmp.br,trd.br,tur.br,tv.br,tw.cn,uk.com,uk.net,vet.br,") + "wattle.id.au,web.tr,xj.cn,xz.cn,yn.cn,zj.cn,zlg.br,co.nr,co.nz,com.fr,com.ph,com.ar,") + "com.id,com.in");
public function Brand(){
moreLink = "";
emailLink = "game";
useGoogleAnalitics = true;
hasSendToFriendLink = true;
preferedLanguage = "";
isExternal = false;
hostingDomain = "";
super();
}
public function exportXML():XML{
var _local1:XML;
var _local2:XML;
var _local3:XML;
_local1 = <portal/>
;
_local1.@id = site_id;
_local1.@language = preferedLanguage;
_local1.@channel = portalGroup;
_local2 = <domain/>
;
_local2.appendChild(new XMLNode(3, domain));
_local1.appendChild(_local2);
if (moreLink){
_local3 = <more_games_path/>
;
_local3.appendChild(new XMLNode(3, moreLink));
_local1.appendChild(_local3);
};
_local2 = <game_path/>
;
_local2.appendChild(new XMLNode(3, emailLink));
_local1.appendChild(_local2);
if (!useGoogleAnalitics){
_local1.attributes.noGoogleAnalitics = true;
};
if (!hasSendToFriendLink){
_local1.attributes.noSendToFriendLink = true;
};
return (_local1);
}
private function get utm_source():String{
return (("utm_source=brandedgames_" + (isExternal) ? "external" : "internal"));
}
public function getMoreGamesLink(_arg1:String, _arg2:Boolean, _arg3:String="", _arg4:String=""):String{
var _local5:String;
_local5 = ("http://" + domain);
_local5 = (_local5 + ("/" + moreLink));
if (((useGoogleAnalitics) && (_arg2))){
_local5 = (_local5 + ("?utm_medium=brandedgames_" + (_arg2) ? "external" : "internal"));
_local5 = (_local5 + ("&utm_campaign=" + _arg1));
_arg3 = stripSubDomain(_arg3);
if (_arg3 == "localhost"){
_arg3 = "offline_play";
};
_local5 = (_local5 + ("&utm_source=" + _arg3));
if (((!((_arg4 == ""))) && (!((_arg4 == null))))){
_local5 = (_local5 + ("&utm_content=" + _arg4));
};
};
return (_local5);
}
private function get utm_campaign():String{
if (isExternal){
return (("utm_campaign=" + hostingDomain));
};
return ("");
}
public function get backgroundColor():uint{
return (PortalGroup.backgroundColors[portalGroup]);
}
public function getPromotionLink(_arg1:String, _arg2:String, _arg3:Boolean, _arg4:String="", _arg5:String=""):String{
var _local6:String;
_local6 = ("http://" + domain);
_local6 = (_local6 + ((("/" + emailLink) + "/") + _arg2));
if (useGoogleAnalitics){
_local6 = (_local6 + ("?utm_medium=brandedgames_" + (_arg3) ? "external" : "internal"));
_local6 = (_local6 + ("&utm_campaign=" + _arg1));
_arg4 = stripSubDomain(_arg4);
trace(_arg4);
if (_arg4 == "localhost"){
_arg4 = "offline_play";
};
_local6 = (_local6 + ("&utm_source=" + _arg4));
if (((!((_arg5 == ""))) && (!((_arg5 == null))))){
_local6 = (_local6 + ("&utm_content=" + _arg5));
};
};
return (_local6);
}
private function get utm_term():String{
return ("utm_term=");
}
public function importXML(_arg1:XMLNode):void{
}
public function getSendToFriendLink(_arg1:String, _arg2:String, _arg3:Boolean, _arg4:String=""):String{
var _local5:String;
if (!hasSendToFriendLink){
return (getMoreGamesLink(_arg1, _arg3));
};
_local5 = ("http://" + domain);
_local5 = (_local5 + ((("/" + emailLink) + "/") + _arg2));
if (useGoogleAnalitics){
_local5 = (_local5 + ("?utm_medium=brandedgames_" + (_arg3) ? "external" : "internal"));
_local5 = (_local5 + ("&utm_campaign=" + _arg1));
_arg4 = stripSubDomain(_arg4);
if (_arg4 == "localhost"){
_arg4 = "offline_play";
};
_local5 = (_local5 + ("&utm_source=" + _arg4));
_local5 = (_local5 + "&utm_content=send_to_friend");
};
return (_local5);
}
public static function stripSubDomain(_arg1:String):String{
var _local2:Array;
if (!_arg1){
return ("");
};
_local2 = _arg1.split(".");
if (_local2.length <= 2){
return (_arg1);
};
_local2 = _local2.reverse();
if (topLevelDoubles.indexOf((((_local2[1] + ".") + _local2[0]) + ",")) > 0){
return (((((_local2[2] + ".") + _local2[1]) + ".") + _local2[0]));
};
return (((_local2[1] + ".") + _local2[0]));
}
}
}//package spill.localisation
Section 115
//BrandingLogo (spill.localisation.BrandingLogo)
package spill.localisation {
import flash.display.*;
import flash.events.*;
public class BrandingLogo extends MovieClip {
public function BrandingLogo(){
stop();
mouseEnabled = false;
mouseChildren = false;
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
if (stage){
added();
};
brandingChanged();
}
private function added(_arg1:Event=null):void{
SpilGame.addEventListener("brandingChanged", brandingChanged, false, 0, true);
brandingChanged();
}
private function brandingChanged(_arg1:Event=null):void{
if (SpilGame.currentBranding){
gotoAndStop(SpilGame.currentBranding.domain);
};
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("brandingChanged", brandingChanged);
}
}
}//package spill.localisation
Section 116
//Brandings (spill.localisation.Brandings)
package spill.localisation {
public class Brandings {
private static var brands_by_id:Object = new Object();
private static var brands_by_domain:Object = new Object();
public static function getBrandByID(_arg1:Number):Brand{
return (brands_by_id[_arg1]);
}
public static function getBrandsArray():Array{
var _local1:Array;
var _local2:Brand;
_local1 = new Array();
for each (_local2 in brands_by_domain) {
_local1.push(_local2);
};
return (_local1);
}
private static function addBrand(_arg1:Brand):Brand{
if (brands_by_domain[_arg1.domain]){
trace(("ERROR: Attempting to add duplicate brand by domain: " + _arg1.domain));
} else {
brands_by_domain[_arg1.domain] = _arg1;
};
if (brands_by_id[_arg1.site_id]){
trace(("ERROR: Attempting to add duplicate brand by id: " + _arg1.site_id));
} else {
brands_by_id[_arg1.site_id] = _arg1;
};
return (_arg1);
}
public static function initialize():void{
var _local1:Brand;
_local1 = new Brand();
_local1.site_id = 79;
_local1.domain = "www.agame.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.TEENS;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 88;
_local1.domain = "www.gamesgames.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.FAMILY;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 90;
_local1.domain = "www.girlsgogames.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.GIRL;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 45;
_local1.domain = "www.a10.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.YOUNG_ADULTS;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 92;
_local1.domain = "www.games.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.FAMILY;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 1000;
_local1.domain = "www.oyunoyna.com";
_local1.preferedLanguage = "tr_tr";
_local1.portalGroup = PortalGroup.TEENS;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 107;
_local1.domain = "www.agame.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.TEENS;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 138;
_local1.domain = "www.giochi.it";
_local1.preferedLanguage = "it_it";
_local1.portalGroup = PortalGroup.TEENS;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 102;
_local1.domain = "www.girlsgogames.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.GIRL;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 2;
_local1.domain = "www.game.com.cn";
_local1.moreLink = "moregames/";
_local1.preferedLanguage = "cn_cn";
_local1.portalGroup = PortalGroup.NONE;
_local1.useGoogleAnalitics = false;
_local1.hasSendToFriendLink = false;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 25;
_local1.domain = "www.spel.nl";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "nl_nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 1;
_local1.domain = "www.spelletjes.nl";
_local1.emailLink = "spel";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "nl_nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 93;
_local1.domain = "www.girlsgogames.nl";
_local1.emailLink = "spel";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "nl_nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 12;
_local1.domain = "www.jeu.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "fr_fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 95;
_local1.domain = "www.girlsgogames.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "fr_fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 11;
_local1.domain = "www.jeux.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "fr_fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 26;
_local1.domain = "www.spielen.com";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "de_de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 94;
_local1.domain = "www.girlsgogames.de";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "de_de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 5;
_local1.domain = "www.jetztspielen.de";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "de_de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 109;
_local1.domain = "www.minigry.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "pl_pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 16;
_local1.domain = "www.gry.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "pl_pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 98;
_local1.domain = "www.girlsgogames.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "pl_pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 108;
_local1.domain = "www.spel.se";
_local1.emailLink = "spel_";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "sv_se";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 100;
_local1.domain = "www.girlsgogames.se";
_local1.emailLink = "spel_";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "sv_se";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 44;
_local1.domain = "www.spela.se";
_local1.emailLink = "spel_";
_local1.preferedLanguage = "sv_se";
_local1.portalGroup = PortalGroup.FAMILY;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 106;
_local1.domain = "www.giocaregratis.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "it_it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 15;
_local1.domain = "www.gioco.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "it_it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 99;
_local1.domain = "www.girlsgogames.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "it_it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 97;
_local1.domain = "www.zapjuegos.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "es_es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 86;
_local1.domain = "www.juegos.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "es_es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 96;
_local1.domain = "www.juegosdechicas.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es_es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 122;
_local1.domain = "www.girlsgogames.es";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es_es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 125;
_local1.domain = "www.juegos.mx";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "es_mx";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 126;
_local1.domain = "www.juegosdechicas.mx";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es_mx";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 127;
_local1.domain = "www.juegos.com.ar";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "es_mx";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 128;
_local1.domain = "www.juegosdechicas.com.ar";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es_ar";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 91;
_local1.domain = "www.clickjogos.com";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "pt_br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 101;
_local1.domain = "www.girlsgogames.com.br";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "pt_br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 9991;
_local1.domain = "www.girlsgogames.co.id";
_local1.emailLink = "";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "id_id";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 50;
_local1.domain = "www.ojogos.com.br";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "pt_br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 55;
_local1.domain = "www.games.co.id";
_local1.emailLink = "permainanme";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "id_id";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 9992;
_local1.domain = "www.permainan.co.id";
_local1.emailLink = "";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "id_id";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 105;
_local1.domain = "www.flashgames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "ru_ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 104;
_local1.domain = "www.girlsgogames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "ru_ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 103;
_local1.domain = "www.ourgames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "ru_ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 24;
_local1.domain = "www.game.co.in";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "en_uk";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 115;
_local1.domain = "www.girlsgogames.in";
_local1.emailLink = "/game/";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "en_in";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 156;
_local1.domain = "www.girlsgogames.com.tr";
_local1.emailLink = "/game/";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "tr_tr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 87;
_local1.domain = "www.ojogos.pt";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "pt_pt";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 120;
_local1.domain = "www.egames.jp";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "jp_jp";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 121;
_local1.domain = "www.dailygame.com";
_local1.emailLink = "/game/";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "en_us";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 123;
_local1.domain = "www.zapapa.com";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.ZAPAPA;
_local1.preferedLanguage = "en_us";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 124;
_local1.domain = "www.zapapa.nl";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.HYVES;
_local1.preferedLanguage = "nl_nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 9993;
_local1.domain = "gamedev.dev.spilgames.com";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "en_us";
addBrand(_local1);
}
public static function exportXML():XML{
var _local1:XML;
var _local2:Brand;
_local1 = <portals/>
;
for each (_local2 in brands_by_domain) {
_local1.appendChild(_local2.exportXML());
};
return (_local1);
}
public static function getBrandByDomain(_arg1:String):Brand{
return (brands_by_domain[_arg1]);
}
public static function hasDomain(_arg1:String):Boolean{
return (!((brands_by_domain[_arg1] == null)));
}
}
}//package spill.localisation
Section 117
//Language (spill.localisation.Language)
package spill.localisation {
import flash.xml.*;
public class Language {
public var references:Array;
public var name:String;
public var embedInputFonts:Boolean;// = true
public var forceFont:String;// = null
public var id:uint;
public var portal_groups:Array;
public var textLanguage:String;
public var bwcId:int;
public var embedFonts:Boolean;// = true
public var displayName:String;// = ""
public var dname:String;
public function Language(_arg1:String, _arg2:String=null){
embedFonts = true;
embedInputFonts = true;
forceFont = null;
references = [];
displayName = "";
super();
name = _arg1;
dname = _arg2;
portal_groups = new Array();
}
public function exportXML():XMLNode{
var _local1:XMLNode;
var _local2:XMLNode;
var _local3:Array;
var _local4:Array;
var _local5:int;
_local1 = new XMLNode(1, "language");
_local1.attributes.name = name;
if (textLanguage != null){
_local1.attributes.textLanguage = textLanguage;
};
if (references.length){
_local1.attributes.references = references.toString();
};
_local1.attributes.id = bwcId;
_local2 = new XMLNode(1, "display_name");
_local2.firstChild = new XMLNode(3, displayName);
_local1.appendChild(_local2);
_local3 = [];
_local4 = PortalGroup.channelNames;
_local5 = 0;
while (_local5 < _local4.length) {
_local3.push(Brandings.getBrandByDomain(portal_groups[_local5]).site_id);
_local5++;
};
_local1.attributes.channels = _local3.join(",");
return (_local1);
}
public function get p_teen():String{
return (portal_groups[PortalGroup.YOUNG_ADULTS]);
}
public function set p_hyves(_arg1:String):void{
portal_groups[PortalGroup.HYVES] = _arg1;
}
public function set p_teen(_arg1:String):void{
portal_groups[PortalGroup.YOUNG_ADULTS] = _arg1;
}
public function get p_tween():String{
return (portal_groups[PortalGroup.TEENS]);
}
public function get p_family():String{
return (portal_groups[PortalGroup.FAMILY]);
}
public function get p_girl():String{
return (portal_groups[PortalGroup.GIRL]);
}
public function get p_hyves():String{
return (portal_groups[PortalGroup.HYVES]);
}
public function set p_girl(_arg1:String):void{
portal_groups[PortalGroup.GIRL] = _arg1;
}
public function set p_zapapa(_arg1:String):void{
portal_groups[PortalGroup.ZAPAPA] = _arg1;
}
public function get displayAcronim():String{
return ((dname) ? dname : name);
}
public function set p_family(_arg1:String):void{
portal_groups[PortalGroup.FAMILY] = _arg1;
}
public function set p_tween(_arg1:String):void{
portal_groups[PortalGroup.TEENS] = _arg1;
}
public function get p_zapapa():String{
return (portal_groups[PortalGroup.ZAPAPA]);
}
}
}//package spill.localisation
Section 118
//Languages (spill.localisation.Languages)
package spill.localisation {
import flash.xml.*;
public class Languages {
public static var languages:Object = new Object();
private static var _init:Boolean = false;
public static function initialize():void{
var _local1:Language;
if (_init){
return;
};
_init = true;
_local1 = new Language("en_ar", "AR");
_local1.displayName = "English";
_local1.p_family = "www.dailygame.com";
_local1.p_tween = "www.dailygame.com";
_local1.p_girl = "www.dailygame.com";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
_local1.bwcId = 16;
addLanguage(_local1);
_local1 = new Language("es_ar", "ARG");
_local1.displayName = "Español (AR)";
_local1.p_family = "www.juegos.com";
_local1.p_tween = "www.zapjuegos.com";
_local1.p_girl = "www.juegosdechicas.com";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("pt_br", "BR");
_local1.displayName = "Português (BR)";
_local1.p_family = "www.ojogos.com.br";
_local1.p_tween = "www.clickjogos.com";
_local1.p_girl = "www.girlsgogames.com.br";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("es_cl", "CL");
_local1.displayName = "Español";
_local1.p_family = "www.juegos.com";
_local1.p_tween = "www.zapjuegos.com";
_local1.p_girl = "www.juegosdechicas.com";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
_local1.textLanguage = "es_es";
addLanguage(_local1);
_local1 = new Language("cn_cn", "CN");
_local1.displayName = "中文";
_local1.p_family = "www.game.com.cn";
_local1.p_tween = "www.game.com.cn";
_local1.p_girl = "www.game.com.cn";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
_local1.embedInputFonts = false;
addLanguage(_local1);
_local1 = new Language("es_co", "CO");
_local1.displayName = "Español";
_local1.p_family = "www.juegos.com";
_local1.p_tween = "www.zapjuegos.com";
_local1.p_girl = "www.juegosdechicas.com";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
_local1.textLanguage = "es_es";
addLanguage(_local1);
_local1 = new Language("de_de", "DE");
_local1.displayName = "Deutsch";
_local1.p_family = "www.jetztspielen.de";
_local1.p_tween = "www.spielen.com";
_local1.p_girl = "www.girlsgogames.de";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("es_es", "ES");
_local1.displayName = "Español";
_local1.p_family = "www.juegos.com";
_local1.p_tween = "www.zapjuegos.com";
_local1.p_girl = "www.juegosdechicas.com";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("fr_fr", "FR");
_local1.displayName = "Français";
_local1.p_family = "www.jeux.fr";
_local1.p_tween = "www.jeu.fr";
_local1.p_girl = "www.girlsgogames.fr";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addReference(_local1, "en");
addLanguage(_local1);
_local1 = new Language("id_id", "ID");
_local1.displayName = "Bahasa Ind.";
_local1.p_family = "www.permainan.co.id";
_local1.p_tween = "www.games.co.id";
_local1.p_girl = "www.girlsgogames.co.id";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("en_in", "IN");
_local1.displayName = "English";
_local1.p_family = "www.game.co.in";
_local1.p_tween = "www.game.co.in";
_local1.p_girl = "www.game.co.in";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
_local1.textLanguage = "en_uk";
addLanguage(_local1);
_local1 = new Language("it_it", "IT");
_local1.displayName = "Italiano";
_local1.p_family = "www.gioco.it";
_local1.p_tween = "www.giochi.it";
_local1.p_girl = "www.girlsgogames.it";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("jp_jp", "JP");
_local1.displayName = "日本語";
_local1.p_family = "www.egames.jp";
_local1.p_tween = "www.egames.jp";
_local1.p_girl = "www.egames.jp";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("es_mx", "MX");
_local1.displayName = "Español (MX)";
_local1.p_family = "www.juegos.com";
_local1.p_tween = "www.zapjuegos.com";
_local1.p_girl = "www.juegosdechicas.com";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("nl_nl", "NL");
_local1.displayName = "Nederlands";
_local1.p_family = "www.spelletjes.nl";
_local1.p_tween = "www.spel.nl";
_local1.p_girl = "www.girlsgogames.nl";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("pl_pl", "PL");
_local1.displayName = "Polski";
_local1.p_family = "www.gry.pl";
_local1.p_tween = "www.gry.pl";
_local1.p_girl = "www.girlsgogames.pl";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("pt_pt", "PT");
_local1.displayName = "Português";
_local1.p_family = "www.ojogos.pt";
_local1.p_tween = "www.ojogos.pt";
_local1.p_girl = "www.ojogos.pt";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("ru_ru", "RU");
_local1.displayName = "Русский";
_local1.p_family = "www.ourgames.ru";
_local1.p_tween = "www.flashgames.ru";
_local1.p_girl = "www.girlsgogames.ru";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("sv_se", "SE");
_local1.displayName = "Svenska";
_local1.p_family = "www.spela.se";
_local1.p_tween = "www.spel.se";
_local1.p_girl = "www.girlsgogames.se";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("ru_ua", "UA");
_local1.displayName = "Русский";
_local1.p_family = "www.ourgames.ru";
_local1.p_tween = "www.flashgames.ru";
_local1.p_girl = "www.girlsgogames.ru";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
_local1.textLanguage = "ru_ru";
addLanguage(_local1);
_local1 = new Language("en_uk", "UK");
_local1.displayName = "English (UK)";
_local1.p_family = "www.games.co.uk";
_local1.p_tween = "www.agame.com";
_local1.p_girl = "www.girlsgogames.co.uk";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("en_us", "US");
_local1.displayName = "English (US)";
_local1.p_family = "www.gamesgames.com";
_local1.p_tween = "www.agame.com";
_local1.p_girl = "www.girlsgogames.com";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("es_ve", "VE");
_local1.displayName = "Español";
_local1.p_family = "www.juegos.com";
_local1.p_tween = "www.zapjuegos.com";
_local1.p_girl = "www.juegosdechicas.com";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
_local1.textLanguage = "es_es";
addLanguage(_local1);
_local1 = new Language("es_pe", "PE");
_local1.displayName = "Español";
_local1.p_family = "www.juegos.com";
_local1.p_tween = "www.zapjuegos.com";
_local1.p_girl = "www.juegosdechicas.com";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
_local1.textLanguage = "es_es";
addLanguage(_local1);
_local1 = new Language("tr_tr", "TR");
_local1.displayName = "Türkçe";
_local1.p_family = "www.oyunoyna.com";
_local1.p_tween = "www.oyunoyna.com";
_local1.p_girl = "www.girlsgogames.com.tr";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.oyunoyna.com";
addReference(_local1, "en");
addLanguage(_local1);
}
public static function exportXML():XMLNode{
var _local1:Array;
var _local2:XMLNode;
var _local3:Language;
_local1 = getLanguagesArray();
_local2 = new XMLNode(1, "languages");
for each (_local3 in _local1) {
_local2.appendChild(_local3.exportXML());
};
return (_local2);
}
public static function getLanguagesArray():Array{
var _local1:Array;
var _local2:Object;
var _local3:Language;
_local1 = new Array();
_local2 = new Object();
for each (_local3 in languages) {
if (!_local2[_local3.name]){
_local1.push(_local3);
_local2[_local3.name] = true;
};
};
return (_local1);
}
public static function getLanguage(_arg1:String):Language{
return (languages[_arg1]);
}
private static function addLanguage(_arg1:Language):void{
languages[_arg1.name] = _arg1;
}
private static function addReference(_arg1:Language, _arg2:String):void{
languages[_arg2] = _arg1;
_arg1.references.push(_arg2);
}
public static function getLanguageByOldID(_arg1:int):Language{
var _local2:Language;
for each (_local2 in languages) {
if (_local2.bwcId == _arg1){
return (_local2);
};
};
return (null);
}
}
}//package spill.localisation
Section 119
//LanguageSelectBox (spill.localisation.LanguageSelectBox)
package spill.localisation {
import flash.display.*;
import flash.text.*;
import flash.events.*;
public class LanguageSelectBox extends MovieClip {
private var flag:MovieClip;
private var mc:MovieClip;
private var popup:MovieClip;
private var languageName_text:TextField;
public function LanguageSelectBox(){
if (numChildren > 0){
removeChildAt(0);
};
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
addEventListener(MouseEvent.MOUSE_OVER, mouseOver, false, 0, true);
addEventListener(MouseEvent.MOUSE_OUT, mouseOut, false, 0, true);
Languages.initialize();
popup = new LanguageSelectPopup_mc();
x = Math.round(x);
y = Math.round(y);
popup.y = (-(Math.floor(popup.height)) + 1);
popup.visible = false;
addChild(popup);
mc = new LanguageSelectBox_mc();
addChild(mc);
flag = mc.flag;
languageName_text = mc.languageName_text;
if (stage){
added();
};
init();
languageChanged();
}
private function added(_arg1:Event=null):void{
SpilGame.addEventListener("languageChanged", languageChanged, false, 0, true);
}
public function set popupLocation(_arg1:String):void{
trace(("popupLocation = " + _arg1));
if (_arg1 == "bottom"){
popup.y = Math.floor(mc.height);
} else {
popup.y = (-(Math.floor(mc.height)) + 1);
};
}
public function init():void{
var _local1:Array;
var _local2:int;
var _local3:MovieClip;
var _local4:Language;
_local1 = new Array(popup.l_en_ar, popup.l_es_ar, popup.l_pt_br, popup.l_es_cl, popup.l_cn_cn, popup.l_es_co, popup.l_de_de, popup.l_es_es, popup.l_fr_fr, popup.l_id_id, popup.l_en_in, popup.l_it_it, popup.l_jp_jp, popup.l_es_mx, popup.l_nl_nl, popup.l_pl_pl, popup.l_pt_pt, popup.l_ru_ru, popup.l_sv_se, popup.l_ru_ua, popup.l_en_uk, popup.l_en_us, popup.l_es_ve, popup.l_es_pe, popup.l_tr_tr);
_local2 = 0;
while (_local2 < _local1.length) {
_local3 = MovieClip(_local1[_local2]);
if (_local3){
_local3.addEventListener(MouseEvent.CLICK, itemClicked, true, 0, true);
_local3.flag.gotoAndStop(_local3.name.substr(2));
_local3.flag.mouseEnabled = false;
_local3.text.mouseEnabled = false;
_local4 = Languages.getLanguage(_local3.name.substr(2));
if (_local4){
_local3.text.text = _local4.displayAcronim;
} else {
trace((("Error, '" + _local3.name.substr(2)) + "' language not found"));
};
} else {
trace((((("Error, btn number '" + _local2) + "' is not a MovieClip or there is no button '") + _local1[_local2]) + "'"));
};
_local2++;
};
}
private function mouseOver(_arg1:MouseEvent):void{
popup.visible = true;
}
private function languageChanged(_arg1:Event=null):void{
if (SpilGame.currentLanguage){
if ((((SpilGame.portalGroup == PortalGroup.HYVES)) && ((SpilGame.currentLanguage.name == "nl")))){
this.visible = false;
return;
};
this.visible = true;
flag.gotoAndStop(SpilGame.currentLanguage.name);
languageName_text.text = SpilGame.currentLanguage.displayName;
};
}
private function mouseOut(_arg1:MouseEvent):void{
popup.visible = false;
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("languageChanged", languageChanged);
}
private function itemClicked(_arg1:MouseEvent):void{
SpilGame.changeLanguage(_arg1.currentTarget.name.substr(2));
popup.visible = false;
}
}
}//package spill.localisation
Section 120
//LanguageSelectBox_mc (spill.localisation.LanguageSelectBox_mc)
package spill.localisation {
import flash.display.*;
import flash.text.*;
public dynamic class LanguageSelectBox_mc extends MovieClip {
public var flag:MovieClip;
public var languageName_text:TextField;
}
}//package spill.localisation
Section 121
//LanguageSelectPopup_mc (spill.localisation.LanguageSelectPopup_mc)
package spill.localisation {
import flash.display.*;
public dynamic class LanguageSelectPopup_mc extends MovieClip {
public var l_pt_br:MovieClip;
public var l_jp_jp:MovieClip;
public var l_es_cl:MovieClip;
public var l_sv_se:MovieClip;
public var l_es_co:MovieClip;
public var l_it_it:MovieClip;
public var l_en_ar:MovieClip;
public var l_id_id:MovieClip;
public var l_cn_cn:MovieClip;
public var l_ru_ru:MovieClip;
public var l_es_es:MovieClip;
public var l_es_mx:MovieClip;
public var l_nl_nl:MovieClip;
public var l_en_uk:MovieClip;
public var l_ru_ua:MovieClip;
public var l_en_us:MovieClip;
public var l_de_de:MovieClip;
public var l_es_ve:MovieClip;
public var l_tr_tr:MovieClip;
public var l_es_pe:MovieClip;
public var l_pt_pt:MovieClip;
public var l_es_ar:MovieClip;
public var l_pl_pl:MovieClip;
public var l_fr_fr:MovieClip;
public var l_en_in:MovieClip;
}
}//package spill.localisation
Section 122
//LocalizedTextField (spill.localisation.LocalizedTextField)
package spill.localisation {
import flash.events.*;
public class LocalizedTextField extends TextFieldFit {
private var regex:RegExp;
private var originalText:String;
public function LocalizedTextField(){
regex = /{([^{}]*)}/g;
super();
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
added();
}
private function languageChanged(_arg1:Event):void{
text = originalText;
updateProperties();
}
override public function set text(_arg1:String):void{
originalText = _arg1;
if ((_arg1 is String)){
super.text = _arg1.replace(regex, replaceFn);
} else {
super.text = "";
};
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("languageChanged", languageChanged);
}
private function replaceFn():String{
var _local2:String;
_local2 = SpilGame.getString(arguments[1]);
if (((!(_local2)) || ((_local2 == "")))){
return ((("{" + arguments[1]) + "}"));
};
return (_local2);
}
private function added(_arg1:Event=null):void{
SpilGame.addEventListener("languageChanged", languageChanged, false, 0, true);
text = originalText;
}
}
}//package spill.localisation
Section 123
//PortalGroup (spill.localisation.PortalGroup)
package spill.localisation {
import flash.xml.*;
public class PortalGroup {
public static const YOUNG_ADULTS:uint = 3;
public static const FAMILY:uint = 0;
public static const channelNames:Array = ["family", "tween", "girl", "teen", "zapapa", "hyves"];
public static const ZAPAPA:uint = 4;
public static const HYVES:uint = 5;
public static const TEENS:uint = 1;
public static const GIRL:uint = 2;
public static const backgroundColors:Array = [0xFFFFFF, 0xFFFFFF, 16742331, 0xFFFFFF, 0xFFFFFF, 0xFFFFFF];
public static const NONE:uint = 6;
public static function getName(_arg1:int):String{
return (channelNames[_arg1]);
}
public static function exportXML():XMLNode{
var _local1:XMLNode;
var _local2:int;
var _local3:XMLNode;
_local1 = new XMLNode(1, "channels");
_local2 = 0;
while (_local2 < 5) {
_local3 = new XMLNode(1, "channel");
_local3.attributes.name = channelNames[_local2];
_local3.attributes.id = _local2;
_local1.appendChild(_local3);
_local2++;
};
return (_local1);
}
}
}//package spill.localisation
Section 124
//spil_internal (spill.localisation.spil_internal)
package spill.localisation {
public namespace spil_internal = "spill.localisation";
}//package spill.localisation
Section 125
//SpilGame (spill.localisation.SpilGame)
package spill.localisation {
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
public class SpilGame {
private static const cookieName:String = "spilgames_language_v100";
private static const cookiePath:String = "/";
private static const cookieLanguageVar:String = "savedLang";
public static const LANGUAGE_CHANGED:String = "languageChanged";
public static const BRANDING_CHANGED:String = "brandingChanged";
private static var strings:Object = new Object();
public static var currentBranding:Brand;
private static var contexMenuItem:ContextMenuItem;
spil_internal static var gameName:String;
spil_internal static var debugHostDomain:String = "";
private static var localDomains:Object = new Object();
spil_internal static var emailPage:String;
private static var channelLock:Boolean = false;
spil_internal static var debugEmbedDomain:String = "";
private static var eventDispatcher:EventDispatcher;
private static var _init:Boolean = false;
public static var currentLanguage:Language;
spil_internal static var portalGroup:uint;
private static var stage:Sprite;
public static function getSpilCompanyLink():String{
var _local1:String;
_local1 = "http://www.gameportal.net/";
if (isExternal){
_local1 = (_local1 + ("?utm_medium=brandedgames_" + (isExternal) ? "external" : "internal"));
_local1 = (_local1 + ("&utm_campaign=" + gameName));
_local1 = (_local1 + ("&utm_source=" + Brand.stripSubDomain((embedDomain) ? embedDomain : hostingDomain)));
_local1 = (_local1 + "&utm_content=Branding_Link");
};
return (_local1);
}
public static function getPromotionLink(_arg1:String="feature_promotion"):String{
var _local2:String;
_local2 = (embedDomain) ? embedDomain : hostingDomain;
return (currentBranding.getPromotionLink(gameName, emailPage, isExternal, _local2, _arg1));
}
public static function traceAllBrands():void{
trace(outputAllBrands());
}
public static function getString(_arg1:String):String{
var _local2:Object;
_local2 = strings[_arg1];
if (_local2){
if (currentLanguage.textLanguage){
return (_local2[currentLanguage.textLanguage]);
};
if (_local2[currentLanguage.name]){
return (_local2[currentLanguage.name]);
};
return (_local2["en_us"]);
//unresolved jump
};
return ("");
}
public static function initialize(_arg1:String, _arg2:int, _arg3:String, _arg4:Sprite, _arg5:Boolean=false):void{
stage = _arg4;
if (_init){
trace("ERROR: LocalisationManager already initialised");
return;
};
_init = true;
localDomains["localhost"] = true;
localDomains["www8.agame.com"] = true;
localDomains["gamedev.dev.spilgames.com"] = true;
localDomains["stg.spel.nl"] = true;
localDomains["stg.girlsgogames.nl"] = true;
localDomains["stg.pl.spel.nl"] = true;
localDomains["stg.pl.girlsgogames.nl"] = true;
trace(localDomains["stg.girlsgogames.nl"]);
Brandings.initialize();
Languages.initialize();
initContexMenu(_arg4);
channelLock = _arg5;
gameName = _arg1.replace(" ", "_");
portalGroup = _arg2;
emailPage = _arg3;
chooseLanguage();
chooseBranding();
if (portalGroup == PortalGroup.HYVES){
changeLanguage("nl");
};
}
public static function get isExternal():Boolean{
return (((((!(Brandings.hasDomain(embedDomain))) && (!(localDomains[embedDomain])))) && (!(isStagingDomain))));
}
private static function initContexMenu(_arg1:Sprite):void{
contexMenuItem = new ContextMenuItem("");
_arg1.contextMenu = new ContextMenu();
_arg1.contextMenu.customItems.push(contexMenuItem);
contexMenuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, contexMenuClicked);
}
private static function replaceFn():String{
var _local2:String;
_local2 = SpilGame.getString(arguments[1]);
if (((!(_local2)) || ((_local2 == "")))){
return ((("{" + arguments[1]) + "}"));
};
return (_local2);
}
spil_internal static function get hostingDomain():String{
var _local1:LocalConnection;
if (debugHostDomain != ""){
return (debugHostDomain);
};
_local1 = new LocalConnection();
return (_local1.domain);
}
spil_internal static function chooseLanguage():void{
if (cookieLanguage != null){
currentLanguage = cookieLanguage;
} else {
if (isExternal){
currentLanguage = systemLanguage;
trace(("system language = " + currentLanguage));
} else {
currentLanguage = portalLanguage;
if (!currentLanguage){
currentLanguage = systemLanguage;
};
};
};
if (!currentLanguage){
trace("Unable to determine language, using 'English US'");
currentLanguage = Languages.getLanguage("en_us");
};
TextFieldFit.embedFonts = currentLanguage.embedFonts;
TextFieldFit.forceFont = currentLanguage.forceFont;
dispatchEvent(new Event(LANGUAGE_CHANGED));
}
private static function contexMenuClicked(_arg1:ContextMenuEvent):void{
navigateToURL(new URLRequest(getMoreGamesLink("Contex_Menu")));
}
public static function initTextField(_arg1:TextField):void{
var _local2:TextFormat;
_arg1.text = _arg1.text.replace(/{([^{}]*)}/g, replaceFn);
_arg1.embedFonts = currentLanguage.embedFonts;
if (currentLanguage.forceFont != ""){
_local2 = new TextFormat();
_local2.font = currentLanguage.forceFont;
_arg1.setTextFormat(_local2);
};
}
public static function importXMLv2(_arg1:XML):void{
var _local2:XML;
var _local3:Object;
var _local4:XML;
for each (_local2 in _arg1.children()) {
_local3 = (strings[_local2.attribute("identifier")] = new Object());
for each (_local4 in _local2.children()) {
if (_local4.children().length() > 0){
_local3[_local4.name()] = _local4.children()[0].toString();
} else {
_local3[_local4.name()] = "";
};
};
};
}
spil_internal static function changeLanguage(_arg1:String):void{
var _local2:Language;
_local2 = Languages.getLanguage(_arg1);
if (!_local2){
trace("ERROR: Supplied language string does not have a matching language");
} else {
cookieLanguage = _local2;
currentLanguage = _local2;
};
TextFieldFit.embedFonts = currentLanguage.embedFonts;
TextFieldFit.forceFont = currentLanguage.forceFont;
chooseBranding();
dispatchEvent(new Event(LANGUAGE_CHANGED));
}
public static function getSendToFriendLink():String{
return (currentBranding.getSendToFriendLink(gameName, emailPage, isExternal, embedDomain));
}
spil_internal static function chooseBranding():void{
currentBranding = Brandings.getBrandByDomain(currentLanguage.portal_groups[portalGroup]);
if (!(currentBranding is Brand)){
currentBranding = Brandings.getBrandByDomain("www.agame.com");
};
contexMenuItem.caption = ("More Games: " + currentBranding.domain);
dispatchEvent(new Event(BRANDING_CHANGED));
}
spil_internal static function get systemLanguage():Language{
var _local1:Array;
_local1 = new Array();
_local1["cs"] = "en_us";
_local1["da"] = "en_us";
_local1["nl"] = "nl_nl";
_local1["en"] = "en_us";
_local1["fi"] = "en_us";
_local1["fr"] = "fr_fr";
_local1["de"] = "de_de";
_local1["hu"] = "en_us";
_local1["it"] = "it_it";
_local1["ja"] = "jp_jp";
_local1["ko"] = "en_us";
_local1["no"] = "en_us";
_local1["xu"] = "en_us";
_local1["pl"] = "pl_pl";
_local1["pt"] = "pt_pt";
_local1["ru"] = "ru_ru";
_local1["zh_CN"] = "cn_cn";
_local1["es"] = "es_es";
_local1["sv"] = "sv_se";
_local1["zh_TW"] = "cn_cn";
_local1["tr"] = "tr_tr";
if (_local1[Capabilities.language]){
return (Languages.getLanguage(_local1[Capabilities.language]));
};
return (Languages.getLanguage("en_us"));
}
spil_internal static function set cookieLanguage(_arg1:Language):void{
var _local2:SharedObject;
_local2 = SharedObject.getLocal(cookieName, cookiePath);
if (_arg1 == null){
_local2.data[cookieLanguageVar] = null;
} else {
_local2.data[cookieLanguageVar] = _arg1.name;
};
_local2.flush();
}
public static function importXML(_arg1:XML):void{
var _local2:XML;
var _local3:Object;
var _local4:XML;
for each (_local2 in _arg1.children()) {
_local3 = (strings[_local2.identifier] = new Object());
for each (_local4 in _local2.children()) {
_local3[_local4.name()] = _local4.children()[0].toString();
};
};
}
spil_internal static function dispatchEvent(_arg1:Event):void{
if (!eventDispatcher){
eventDispatcher = new EventDispatcher();
};
eventDispatcher.dispatchEvent(_arg1);
}
private static function getDomain(_arg1:String):String{
var _local2:String;
var _local3:uint;
if (_arg1.indexOf("file") == 0){
return ("offline_play");
};
_local2 = new String();
_local3 = 7;
while (_local3 < _arg1.length) {
if (_arg1.charAt(_local3) == "/"){
break;
};
_local2 = (_local2 + _arg1.charAt(_local3));
_local3++;
};
if (_local2 == "localhost"){
_local2 = "offline_play";
};
return (_local2);
}
public static function exportXML():XML{
var _local1:XML;
_local1 = <spil_games/>
;
_local1.appendChild(Brandings.exportXML());
_local1.appendChild(Languages.exportXML());
_local1.appendChild(PortalGroup.exportXML());
return (_local1);
}
public static function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{
if (!eventDispatcher){
eventDispatcher = new EventDispatcher();
};
eventDispatcher.removeEventListener(_arg1, _arg2, _arg3);
}
public static function outputAllBrands():String{
var _local1:Array;
var _local2:String;
var _local3:Brand;
_local1 = Brandings.getBrandsArray();
_local2 = "";
for each (_local3 in _local1) {
_local2 = (_local2 + (_local3.getSendToFriendLink(gameName, emailPage, isExternal, embedDomain) + "\n"));
};
return (_local2);
}
public static function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{
if (!eventDispatcher){
eventDispatcher = new EventDispatcher();
};
eventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5);
}
public static function getMoreGamesLink(_arg1:String=""):String{
var _local2:String;
_local2 = (embedDomain) ? embedDomain : hostingDomain;
return (currentBranding.getMoreGamesLink(gameName, isExternal, _local2, _arg1));
}
public static function get isStagingDomain():Boolean{
var _local1:String;
_local1 = ("http://" + embedDomain);
return ((_local1.indexOf("http://stg.") >= 0));
}
spil_internal static function get cookieLanguage():Language{
var _local1:SharedObject;
var _local2:String;
_local1 = SharedObject.getLocal(cookieName, cookiePath);
_local2 = String(_local1.data[cookieLanguageVar]);
return (Languages.getLanguage(_local2));
}
private static function get portalLanguage():Language{
var _local1:Brand;
var _local2:String;
var _local3:Language;
if (isExternal){
return (null);
};
if (!embedDomain){
return (null);
};
_local1 = Brandings.getBrandByDomain(embedDomain);
if (!_local1){
return (null);
};
_local2 = _local1.preferedLanguage;
if (!_local2){
return (null);
};
_local3 = Languages.getLanguage(_local2);
if (!_local3){
return (null);
};
return (_local3);
}
spil_internal static function get embedDomain():String{
var loc:String;
if (debugEmbedDomain != ""){
return (debugEmbedDomain);
};
if (ExternalInterface.available){
try {
loc = ExternalInterface.call("window.location.href.toString");
if (((!((loc == ""))) && (!((loc == null))))){
trace(("embed domain = " + getDomain(loc)));
return (getDomain(loc));
};
} catch(e:SecurityError) {
trace(("Security Error connecting to external interface, error = " + e));
} catch(e:Error) {
trace(("Error connecting to external interface, error = " + e));
};
};
return (null);
}
}
}//package spill.localisation
Section 126
//SpilGamesLink (spill.localisation.SpilGamesLink)
package spill.localisation {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public class SpilGamesLink extends SimpleButton {
public function SpilGamesLink(){
addEventListener(MouseEvent.CLICK, buttonClicked);
}
private function buttonClicked(_arg1:MouseEvent):void{
navigateToURL(new URLRequest(SpilGame.getSpilCompanyLink()), "_blank");
}
}
}//package spill.localisation
Section 127
//TextFieldFit (spill.localisation.TextFieldFit)
package spill.localisation {
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.filters.*;
import flash.utils.*;
public class TextFieldFit extends MovieClip {
protected var _text:String;// = "default"
protected var _textSize:Number;// = 12
protected var _embedFonts:Boolean;// = true
protected var _glowColor:uint;// = 0
private var h:Number;
protected var _antiAliasType:String;// = "advanced"
private var w:Number;
protected var _useGlowFilter:Boolean;// = false
protected var _hAlign:String;// = "left"
protected var _textColor:uint;// = 0
protected var _glowStrength:Number;// = 5
protected var _glowBlur:Number;// = 3
private var field:TextField;
protected var _gridFitType:String;// = "pixel"
protected var _glowQuality:Number;// = 1
private var debugBounding:Sprite;
protected var _disableWordwrap:Boolean;// = false
protected var _multiline:Boolean;// = false
protected var _font:String;// = ""
protected var _underline:Boolean;// = false
protected var _vAlign:String;// = "top"
protected var _italic:Boolean;// = false
protected var _bold:Boolean;// = false
private var sizeChanged:Boolean;// = true
private var embeddedFonts:Array;
protected var _selectable:Boolean;// = false
private var format:TextFormat;
private var valid:Boolean;// = true
private static const gutter:Number = 2;
spil_internal static var embedFonts:Boolean = true;
spil_internal static var forceAAType:String = null;
spil_internal static var forceFont:String = null;
public static var alwaysCheckWidth:Boolean = false;
public function TextFieldFit(){
var _local1:Boolean;
var _local2:Number;
var _local3:Number;
sizeChanged = true;
valid = true;
_text = "default";
_textColor = 0;
_textSize = 12;
_multiline = false;
_disableWordwrap = false;
_hAlign = "left";
_vAlign = "top";
_bold = false;
_underline = false;
_italic = false;
_selectable = false;
_font = "";
_embedFonts = true;
_antiAliasType = "advanced";
_gridFitType = "pixel";
_useGlowFilter = false;
_glowBlur = 3;
_glowColor = 0;
_glowStrength = 5;
_glowQuality = 1;
super();
_local1 = ((!((parent == null))) && ((getQualifiedClassName(parent) == "fl.livepreview::LivePreviewParent")));
_local2 = width;
_local3 = height;
if (numChildren > 0){
removeChildAt(0);
};
if (!field){
field = new TextField();
addChild(field);
};
field.border = false;
field.background = false;
field.type = TextFieldType.DYNAMIC;
mouseEnabled = false;
mouseChildren = false;
format = new TextFormat();
embeddedFonts = Font.enumerateFonts(false);
setSize(_local2, _local3);
validate();
if (stage){
addEventListener(Event.RENDER, init);
stage.invalidate();
};
init();
}
private function resizeText(_arg1:Boolean=false):void{
if (!doesTextFit()){
format.size = Object((Number(format.size) - 1));
if (format.size <= 3){
trace("WARNING: Text resised to 3px, either an error occured or the text just wont fit");
return;
};
field.setTextFormat(format);
resizeText(true);
} else {
if (_arg1 == false){
while (doesTextFit()) {
if (format.size <= textSize){
format.size = Object((Number(format.size) + 1));
field.setTextFormat(format);
if (!doesTextFit()){
format.size = Object((Number(format.size) - 1));
field.setTextFormat(format);
break;
};
} else {
break;
};
};
};
};
}
public function get italic():Boolean{
return (_italic);
}
public function get textColor():uint{
return (_textColor);
}
public function get vAlign():String{
return (_vAlign);
}
public function get useGlowFilter():Boolean{
return (_useGlowFilter);
}
public function get selectable():Boolean{
return (_selectable);
}
public function set italic(_arg1:Boolean):void{
_italic = _arg1;
invalidate();
}
public function set text(_arg1:String):void{
_text = _arg1;
invalidate();
}
public function set vAlign(_arg1:String):void{
_vAlign = _arg1;
invalidate();
}
public function get font():String{
return (_font);
}
public function set textColor(_arg1:uint):void{
_textColor = _arg1;
invalidate();
}
public function get antiAliasType():String{
return (_antiAliasType);
}
public function get bold():Boolean{
return (_bold);
}
public function set useGlowFilter(_arg1:Boolean):void{
_useGlowFilter = _arg1;
invalidate();
}
public function set font(_arg1:String):void{
_font = _arg1;
invalidate();
}
public function set selectable(_arg1:Boolean):void{
_selectable = _arg1;
invalidate();
}
public function get multiline():Boolean{
return (_multiline);
}
public function set disableWordwrap(_arg1:Boolean):void{
_disableWordwrap = _arg1;
invalidate();
}
public function get glowQuality():Number{
return (_glowQuality);
}
public function get embedFonts():Boolean{
return (_embedFonts);
}
public function get gridFitType():String{
return (_gridFitType);
}
public function get underline():Boolean{
return (_underline);
}
public function get textSize():Number{
return (_textSize);
}
public function set antiAliasType(_arg1:String):void{
_antiAliasType = _arg1;
invalidate();
}
protected function updateProperties():void{
var _local1:Boolean;
var _local2:Font;
field.text = _text;
field.multiline = ((((_text.indexOf(" ") < 0)) && ((_text.length < 14)))) ? false : _multiline;
field.wordWrap = ((field.multiline) && (!(_disableWordwrap)));
field.selectable = _selectable;
field.antiAliasType = (forceAAType) ? forceAAType : _antiAliasType;
field.gridFitType = _gridFitType;
embeddedFonts = Font.enumerateFonts(false);
if (((((_embedFonts) && (!((_font == ""))))) && (TextFieldFit.embedFonts))){
_local1 = false;
for each (_local2 in embeddedFonts) {
if (_font == _local2.fontName){
_local1 = true;
break;
};
};
field.embedFonts = _local1;
if (!_local1){
trace(((("WARNING: Embedded font '" + _font) + "' not found, disabling embedding of fonts, text = ") + _text));
} else {
trace((("Found Embedded font '" + _font) + "' using font"));
};
} else {
field.embedFonts = false;
};
if (TextFieldFit.forceFont){
format.font = TextFieldFit.forceFont;
} else {
format.font = _font;
};
if (sizeChanged){
format.size = _textSize;
};
format.color = _textColor;
format.align = _hAlign;
format.bold = _bold;
format.italic = _italic;
format.underline = _underline;
format.leftMargin = 0;
format.rightMargin = 0;
field.setTextFormat(format);
if (_useGlowFilter){
filters = [new GlowFilter(_glowColor, 1, _glowBlur, _glowBlur, _glowStrength, _glowQuality)];
} else {
filters = [];
};
}
private function doesTextFit():Boolean{
if (((((field.textHeight + (gutter * 2)) > h)) || (((((field.textWidth + (gutter * 2)) > w)) && (((!(field.multiline)) || (alwaysCheckWidth))))))){
return (false);
};
return (true);
}
public function get glowStrength():Number{
return (_glowStrength);
}
public function set hAlign(_arg1:String):void{
_hAlign = _arg1;
invalidate();
}
private function init(_arg1:Event=null):void{
removeEventListener(Event.RENDER, init);
updateProperties();
layoutText();
}
public function set bold(_arg1:Boolean):void{
_bold = _arg1;
invalidate();
}
private function validate(_arg1:Event=null):void{
updateProperties();
layoutText();
removeEventListener(Event.ENTER_FRAME, validate);
valid = true;
}
public function get text():String{
return (_text);
}
public function set glowBlur(_arg1:Number):void{
_glowBlur = _arg1;
invalidate();
}
private function invalidate():void{
if (valid){
addEventListener(Event.ENTER_FRAME, validate);
if (stage){
stage.invalidate();
};
valid = false;
};
}
public function set embedFonts(_arg1:Boolean):void{
_embedFonts = _arg1;
invalidate();
}
public function set multiline(_arg1:Boolean):void{
_multiline = _arg1;
invalidate();
}
public function get disableWordwrap():Boolean{
return (_disableWordwrap);
}
public function set glowQuality(_arg1:Number):void{
_glowQuality = _arg1;
invalidate();
}
private function layoutText():void{
resizeText();
field.height = (field.textHeight + (gutter * 2));
if (vAlign == "top"){
field.y = 0;
} else {
if (vAlign == "middle"){
field.y = ((h - field.height) / 2);
} else {
if (vAlign == "bottom"){
field.y = (h - field.height);
};
};
};
}
public function get hAlign():String{
return (_hAlign);
}
public function setSize(_arg1:Number, _arg2:Number):void{
w = _arg1;
h = _arg2;
scaleX = (scaleY = 1);
field.width = w;
field.height = h;
invalidate();
}
public function set gridFitType(_arg1:String):void{
_gridFitType = _arg1;
invalidate();
}
public function set underline(_arg1:Boolean):void{
_underline = _arg1;
invalidate();
}
public function get glowBlur():Number{
return (_glowBlur);
}
public function set textSize(_arg1:Number):void{
_textSize = _arg1;
sizeChanged = true;
invalidate();
}
public function set glowColor(_arg1:uint):void{
_glowColor = _arg1;
invalidate();
}
public function get textField():TextField{
return (field);
}
public function get glowColor():uint{
return (_glowColor);
}
public function set glowStrength(_arg1:Number):void{
_glowStrength = _arg1;
invalidate();
}
}
}//package spill.localisation
Section 128
//MochiBot (MochiBot)
package {
import flash.display.*;
import flash.net.*;
import flash.system.*;
public dynamic class MochiBot extends Sprite {
public static function track(_arg1:Sprite, _arg2:String):MochiBot{
var _local3:MochiBot;
var _local4:String;
var _local5:URLVariables;
var _local6:String;
var _local7:URLRequest;
var _local8:Loader;
if (Security.sandboxType == "localWithFile"){
return (null);
};
_local3 = new (MochiBot);
_arg1.addChild(_local3);
Security.allowDomain("*");
Security.allowInsecureDomain("*");
_local4 = "http://core.mochibot.com/my/core.swf";
_local5 = new URLVariables();
_local5["sb"] = Security.sandboxType;
_local5["v"] = Capabilities.version;
_local5["swfid"] = _arg2;
_local5["mv"] = "8";
_local5["fv"] = "9";
_local6 = _local3.root.loaderInfo.loaderURL;
if (_local6.indexOf("http") == 0){
_local5["url"] = _local6;
} else {
_local5["url"] = "local";
};
_local7 = new URLRequest(_local4);
_local7.contentType = "application/x-www-form-urlencoded";
_local7.method = URLRequestMethod.POST;
_local7.data = _local5;
_local8 = new Loader();
_local3.addChild(_local8);
_local8.load(_local7);
return (_local3);
}
}
}//package
Section 129
//mus_Menu (mus_Menu)
package {
import flash.media.*;
public dynamic class mus_Menu extends Sound {
}
}//package
Section 130
//Musique (Musique)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.utils.*;
public dynamic class Musique extends MovieClip {
public var m_lvl3:MovieClip;
public var m_lvl4:MovieClip;
public var m_Menu:MovieClip;
public var Menu1_ch:SoundChannel;
public var m_Erreurs:MovieClip;
public var Menu1_tr;
public var Menu1:Sound;
public var m_lvl1:MovieClip;
public var m_lvl2:MovieClip;
public function Musique(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame1(){
stop();
Menu1 = new mus_Menu();
Menu1_ch = new SoundChannel();
Menu1_tr = new SoundTransform();
}
function frame2(){
stop();
Menu1_ch = Menu1.play(0, 9999);
if (MovieClip(parent).musique == "on"){
Menu1_tr.volume = MovieClip(parent).volumeValue;
} else {
Menu1_tr.volume = 0;
};
Menu1_ch.soundTransform = Menu1_tr;
}
}
}//package