Section 1
//ewqdfweERGERG_56 (Kiss_Monkey_fla.ewqdfweERGERG_56)
package Kiss_Monkey_fla {
import flash.display.*;
public dynamic class ewqdfweERGERG_56 extends MovieClip {
public function ewqdfweERGERG_56(){
addFrameScript(0, frame1, 37, frame38);
}
function frame38(){
gotoAndPlay("Frega");
}
function frame1(){
stop();
}
}
}//package Kiss_Monkey_fla
Section 2
//intro_7 (Kiss_Monkey_fla.intro_7)
package Kiss_Monkey_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.ui.*;
import flash.text.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class intro_7 extends MovieClip {
public var Scena_mc:SimpleButton;
public var o:Object;
public var apiLoader:URLLoader;
public var s1:MovieClip;
public var btn_play:SimpleButton;
public var btn_more:SimpleButton;
public var s2:MovieClip;
public function intro_7(){
addFrameScript(0, frame1, 7, frame8, 134, frame135);
}
function frame1(){
if (Security){
o = Security;
if (o.sandboxType != "localWithFile"){
apiLoader = new URLLoader();
apiLoader.load(new URLRequest("http://www.britetrade.com/api/gameplay.php?key=99255f2239eef31f9346f962ec8e31e4&id=45"));
};
};
}
function frame135(){
stop();
}
function frame8(){
s1.mask = s2;
s1.cacheAsBitmap = true;
s2.cacheAsBitmap = true;
}
}
}//package Kiss_Monkey_fla
Section 3
//MainTimeline (Kiss_Monkey_fla.MainTimeline)
package Kiss_Monkey_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.ui.*;
import flash.text.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.utils.*;
import flash.xml.*;
import gs.*;
import gs.easing.*;
public dynamic class MainTimeline extends MovieClip {
public var porcentaje:Number;
public var PlayAgain_bt:SimpleButton;
public var Canal_Foto:SoundChannel;
public var peso:Number;
public var my_menu:ContextMenu;
public var Mutador:MovieClip;
public var Level_txt:TextField;
public var Superscore:int;
public var Yoko:SimpleButton;
public var Play_bt:SimpleButton;
public var Count_txt:TextField;
public var Score_txt:TextField;
public var Foto:MovieClip;
public var Beso_snd:kiss;
public var Intervalo:int;
public var Mute:Boolean;
public var Camara:Boolean;
public var Vida_1:MovieClip;
public var Vida_2:MovieClip;
public var Vida_3:MovieClip;
public var intro_mc:MovieClip;
public var More_bt:SimpleButton;
public var Barra:MovieClip;
public var Movies:Array;
public var Diferencia:int;
public var Cuenta;
public var Loader_txt:TextField;
public var Fotografo:Object;
public var Cachondos:MovieClip;
public var Page:MovieClip;
public var carga:Number;
public var Corazzzon:MovieClip;
public var How_bt:SimpleButton;
public var Play_BTN:SimpleButton;
public var Foto_snd:camera;
public var Foto_1:MovieClip;
public var Foto_2:MovieClip;
public var Foto_3:MovieClip;
public var cargador:MovieClip;
public var Canal:SoundChannel;
public var Nivel:int;
public var Canal_Beso:SoundChannel;
public var Besukeiro:Boolean;
public var Vidas:int;
public var Puntos:int;
public var Bar:MovieClip;
public var Iwal:int;
public var Musica:Background;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9);
}
public function Suena(_arg1:MouseEvent):void{
if (!Mute){
Canal.stop();
Mute = true;
Mutador.gotoAndStop(2);
} else {
Canal = Musica.play(0, 10000);
Mute = false;
Mutador.gotoAndStop(1);
};
}
public function randRange(_arg1:Number, _arg2:Number):Number{
var _local3:Number = (Math.round((Math.random() * (_arg2 - _arg1))) + _arg1);
return (_local3);
}
public function Shot():void{
trace("Chot");
if (!Mute){
Canal_Foto = Foto_snd.play();
};
MovieClip(getChildByName(("Vida_" + Vidas))).visible = false;
Vidas--;
if (Vidas <= 0){
RemoveListeners();
gotoAndStop("Loose");
};
}
public function How(_arg1:MouseEvent):void{
Play_bt.removeEventListener(MouseEvent.CLICK, Play);
How_bt.removeEventListener(MouseEvent.CLICK, How);
Page.gotoAndPlay(2);
gotoAndStop("How");
}
public function progreso(_arg1:Event):void{
peso = root.loaderInfo.bytesTotal;
carga = root.loaderInfo.bytesLoaded;
porcentaje = Math.floor(((carga * 100) / peso));
Loader_txt.text = String(porcentaje);
MovieClip(this).Bar.gotoAndStop(porcentaje);
if (peso == carga){
stage.removeEventListener(MouseEvent.MOUSE_DOWN, More);
stage.removeEventListener(Event.ENTER_FRAME, progreso);
play();
};
}
public function Cancelar(_arg1:MouseEvent):void{
Cancelar_fnc();
}
public function Frame(_arg1:Event):void{
Iwal++;
if ((Iwal + Diferencia) == Math.round((Intervalo / 40))){
if (Nivel == 1){
Fotografo = MovieClip(getChildByName(("Foto_" + randRange(1, 2))));
} else {
Fotografo = MovieClip(getChildByName(("Foto_" + randRange(1, 3))));
};
if (Fotografo.currentFrame == 1){
Fotografo.gotoAndPlay(2);
};
Iwal = 0;
Diferencia = randRange(-50, 50);
};
if (Besukeiro){
Barra.Verde.scaleX = (Barra.Verde.scaleX + 0.4);
Puntos = (Puntos + 2);
Score_txt.text = Puntos.toString();
if (Barra.Verde.scaleX >= 290){
RemoveListeners();
Nivel++;
if (Nivel > 4){
gotoAndStop("Win");
} else {
gotoAndStop("Levela");
};
};
};
}
public function Play(_arg1:MouseEvent):void{
Besukeiro = false;
Camara = false;
Nivel = 1;
Superscore = 0;
Play_bt.removeEventListener(MouseEvent.CLICK, Play);
How_bt.removeEventListener(MouseEvent.CLICK, How);
Page.gotoAndPlay(2);
gotoAndStop("Game");
}
public function Play2(_arg1:MouseEvent):void{
Play_BTN.removeEventListener(MouseEvent.CLICK, Play2);
Page.gotoAndPlay(2);
gotoAndStop("Game");
}
function frame3(){
stop();
}
function frame4(){
Yoko.addEventListener(MouseEvent.CLICK, More);
More_bt.addEventListener(MouseEvent.CLICK, More);
Play_bt.addEventListener(MouseEvent.CLICK, Play);
How_bt.addEventListener(MouseEvent.CLICK, How);
Mutador.addEventListener(MouseEvent.CLICK, Suena);
stop();
}
function frame6(){
More_bt.addEventListener(MouseEvent.CLICK, More);
Yoko.addEventListener(MouseEvent.CLICK, More);
Fotografo = MovieClip(getChildByName("Foto_1"));
Besukeiro = false;
Iwal = 0;
Diferencia = randRange(-50, 50);
Puntos = 0;
Vidas = 3;
Score_txt.text = Puntos.toString();
Count_txt.text = "80";
switch (Nivel){
case 1:
Intervalo = 4500;
break;
case 2:
Intervalo = 4000;
break;
case 3:
Intervalo = 3500;
break;
case 4:
Intervalo = 3000;
break;
};
Level_txt.text = ("Level: " + String(Nivel));
Cuenta.start();
stage.addEventListener(MouseEvent.MOUSE_DOWN, Apretar);
stage.addEventListener(MouseEvent.MOUSE_UP, Cancelar);
stage.addEventListener(Event.ENTER_FRAME, Frame);
stage.addEventListener(KeyboardEvent.KEY_DOWN, Presion_Tecla);
stage.addEventListener(KeyboardEvent.KEY_UP, Sube_Tecla);
Movies = new Array();
}
function frame7(){
More_bt.addEventListener(MouseEvent.CLICK, More);
Yoko.addEventListener(MouseEvent.CLICK, More);
PlayAgain_bt.addEventListener(MouseEvent.CLICK, PlayAgain);
Score_txt.text = String(Superscore);
Canal_Beso.stop();
}
public function PlayAgain(_arg1:MouseEvent):void{
Besukeiro = false;
Camara = false;
Nivel = 1;
Superscore = 0;
PlayAgain_bt.removeEventListener(MouseEvent.CLICK, PlayAgain);
Page.gotoAndPlay(2);
gotoAndStop("Game");
}
public function Sube_Tecla(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == 32){
trace("Cortachorro");
Cancelar_fnc();
};
}
function frame5(){
Play_BTN.addEventListener(MouseEvent.CLICK, Play2);
More_bt.addEventListener(MouseEvent.CLICK, More);
}
function frame1(){
Besukeiro = false;
Camara = false;
Movies = new Array();
Mute = false;
Nivel = 1;
Superscore = 0;
Musica = new Background();
Foto_snd = new camera();
Beso_snd = new kiss();
Cuenta = new Timer(1000, 0);
Cuenta.addEventListener(TimerEvent.TIMER, Count);
my_menu = new ContextMenu();
my_menu.hideBuiltInItems();
contextMenu = my_menu;
stage.addEventListener(MouseEvent.MOUSE_DOWN, More);
stage.addEventListener(Event.ENTER_FRAME, progreso);
stop();
}
public function More(_arg1:MouseEvent):void{
var _local2:LocalConnection = new LocalConnection();
var _local3:String = _local2.domain;
var _local4:* = (("http://www.yokogames.com/?utm_source=" + _local3) + "&utm_medium=game&utm_campaign=Yoko%20game%20-%20Cute%20Monkey%20Kissing");
var _local5:URLRequest = new URLRequest(_local4);
navigateToURL(_local5, "_blank");
}
function frame8(){
More_bt.addEventListener(MouseEvent.CLICK, More);
Yoko.addEventListener(MouseEvent.CLICK, More);
PlayAgain_bt.addEventListener(MouseEvent.CLICK, PlayAgain);
Score_txt.text = String(Superscore);
Canal_Beso.stop();
}
function frame2(){
intro_mc.btn_more.addEventListener(MouseEvent.CLICK, More);
intro_mc.btn_play.addEventListener(MouseEvent.CLICK, iniciarJuego);
intro_mc.Scena_mc.addEventListener(MouseEvent.MOUSE_DOWN, More);
stop();
}
function frame9(){
More_bt.addEventListener(MouseEvent.CLICK, More);
Yoko.addEventListener(MouseEvent.CLICK, More);
Play_BTN.addEventListener(MouseEvent.CLICK, Play2);
Canal_Beso.stop();
}
public function Presion_Tecla(_arg1:KeyboardEvent):void{
if ((((_arg1.keyCode == 32)) && (!(Besukeiro)))){
Apretar_fnc();
};
}
public function Apretar(_arg1:MouseEvent):void{
Apretar_fnc();
}
public function iniciarJuego(_arg1:MouseEvent):void{
trace("iniciar juego");
intro_mc.Scena_mc.removeEventListener(MouseEvent.MOUSE_DOWN, More);
Canal = Musica.play(0, 10000);
gotoAndStop("Menu");
}
public function Cancelar_fnc():void{
if (!Mute){
Canal_Beso.stop();
};
Besukeiro = false;
Corazzzon.gotoAndPlay("Fin");
Cachondos.gotoAndPlay("Welta");
}
public function Count(_arg1:TimerEvent):void{
Count_txt.text = String((Number(Count_txt.text) - 1));
if (Number(Count_txt.text) <= 0){
RemoveListeners();
gotoAndStop("Loose");
};
}
public function RemoveListeners():void{
Page.gotoAndPlay(2);
Superscore = (Superscore + Puntos);
stage.removeEventListener(MouseEvent.MOUSE_DOWN, Apretar);
stage.removeEventListener(MouseEvent.MOUSE_UP, Cancelar);
stage.removeEventListener(Event.ENTER_FRAME, Frame);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, Presion_Tecla);
stage.removeEventListener(KeyboardEvent.KEY_UP, Sube_Tecla);
Cuenta.stop();
}
public function Apretar_fnc():void{
if (!Mute){
Canal_Beso = Beso_snd.play(0, 1000);
};
Besukeiro = true;
Corazzzon.gotoAndPlay(2);
Cachondos.gotoAndPlay("Start");
if (Fotografo.currentFrame > 1){
Fotografo.gotoAndPlay("Shot");
Shot();
};
}
}
}//package Kiss_Monkey_fla
Section 4
//Preloader_mclip_010_3 (Kiss_Monkey_fla.Preloader_mclip_010_3)
package Kiss_Monkey_fla {
import flash.display.*;
public dynamic class Preloader_mclip_010_3 extends MovieClip {
public function Preloader_mclip_010_3(){
addFrameScript(24, frame25);
}
function frame25(){
stop();
}
}
}//package Kiss_Monkey_fla
Section 5
//Preloader_mclip_025_11 (Kiss_Monkey_fla.Preloader_mclip_025_11)
package Kiss_Monkey_fla {
import flash.display.*;
public dynamic class Preloader_mclip_025_11 extends MovieClip {
public function Preloader_mclip_025_11(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
}
}
}//package Kiss_Monkey_fla
Section 6
//Preloader_mclip_03_20 (Kiss_Monkey_fla.Preloader_mclip_03_20)
package Kiss_Monkey_fla {
import flash.display.*;
public dynamic class Preloader_mclip_03_20 extends MovieClip {
public function Preloader_mclip_03_20(){
addFrameScript(29, frame30);
}
function frame30(){
stop();
}
}
}//package Kiss_Monkey_fla
Section 7
//Preloader_mclip_04_1 (Kiss_Monkey_fla.Preloader_mclip_04_1)
package Kiss_Monkey_fla {
import flash.display.*;
public dynamic class Preloader_mclip_04_1 extends MovieClip {
public function Preloader_mclip_04_1(){
addFrameScript(163, frame164);
}
function frame164(){
stop();
}
}
}//package Kiss_Monkey_fla
Section 8
//Preloader_mclip_05_17 (Kiss_Monkey_fla.Preloader_mclip_05_17)
package Kiss_Monkey_fla {
import flash.display.*;
public dynamic class Preloader_mclip_05_17 extends MovieClip {
public function Preloader_mclip_05_17(){
addFrameScript(115, frame116);
}
function frame116(){
stop();
stop();
}
}
}//package Kiss_Monkey_fla
Section 9
//Preloader_mclip_06_18 (Kiss_Monkey_fla.Preloader_mclip_06_18)
package Kiss_Monkey_fla {
import flash.display.*;
public dynamic class Preloader_mclip_06_18 extends MovieClip {
public function Preloader_mclip_06_18(){
addFrameScript(60, frame61);
}
function frame61(){
}
}
}//package Kiss_Monkey_fla
Section 10
//Preloader_mclip_07_2 (Kiss_Monkey_fla.Preloader_mclip_07_2)
package Kiss_Monkey_fla {
import flash.display.*;
public dynamic class Preloader_mclip_07_2 extends MovieClip {
public function Preloader_mclip_07_2(){
addFrameScript(104, frame105);
}
function frame105(){
gotoAndPlay(40);
}
}
}//package Kiss_Monkey_fla
Section 11
//Preloader_mclip_09_4 (Kiss_Monkey_fla.Preloader_mclip_09_4)
package Kiss_Monkey_fla {
import flash.display.*;
public dynamic class Preloader_mclip_09_4 extends MovieClip {
public function Preloader_mclip_09_4(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Kiss_Monkey_fla
Section 12
//S_36 (Kiss_Monkey_fla.S_36)
package Kiss_Monkey_fla {
import flash.display.*;
public dynamic class S_36 extends MovieClip {
public function S_36(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Kiss_Monkey_fla
Section 13
//S_43 (Kiss_Monkey_fla.S_43)
package Kiss_Monkey_fla {
import flash.display.*;
public dynamic class S_43 extends MovieClip {
public function S_43(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Kiss_Monkey_fla
Section 14
//S_50 (Kiss_Monkey_fla.S_50)
package Kiss_Monkey_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.ui.*;
import flash.text.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class S_50 extends MovieClip {
public function S_50(){
addFrameScript(0, frame1, 18, frame19, 61, frame62, 67, frame68);
}
function frame62(){
gotoAndStop(1);
}
function frame1(){
stop();
}
function frame19(){
if (parent["Besukeiro"]){
var _local1 = parent;
_local1["Shot"]();
gotoAndPlay("Shot");
};
}
function frame68(){
parent["Foto"].gotoAndPlay(2);
}
}
}//package Kiss_Monkey_fla
Section 15
//S_52 (Kiss_Monkey_fla.S_52)
package Kiss_Monkey_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.ui.*;
import flash.text.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class S_52 extends MovieClip {
public function S_52(){
addFrameScript(0, frame1, 18, frame19, 60, frame61, 66, frame67);
}
function frame61(){
gotoAndStop(1);
}
function frame1(){
stop();
}
function frame19(){
if (parent["Besukeiro"]){
var _local1 = parent;
_local1["Shot"]();
gotoAndPlay("Shot");
};
}
function frame67(){
parent["Foto"].gotoAndPlay(2);
}
}
}//package Kiss_Monkey_fla
Section 16
//S_54 (Kiss_Monkey_fla.S_54)
package Kiss_Monkey_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.ui.*;
import flash.text.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class S_54 extends MovieClip {
public function S_54(){
addFrameScript(0, frame1, 20, frame21, 63, frame64, 69, frame70);
}
function frame64(){
gotoAndStop(1);
}
function frame21(){
if (parent["Besukeiro"]){
var _local1 = parent;
_local1["Shot"]();
gotoAndPlay("Shot");
};
}
function frame1(){
stop();
}
function frame70(){
parent["Foto"].gotoAndPlay(2);
}
}
}//package Kiss_Monkey_fla
Section 17
//sprite98_48 (Kiss_Monkey_fla.sprite98_48)
package Kiss_Monkey_fla {
import flash.display.*;
public dynamic class sprite98_48 extends MovieClip {
public function sprite98_48(){
addFrameScript(0, frame1, 45, frame46);
}
function frame1(){
stop();
}
function frame46(){
gotoAndPlay("Lup");
}
}
}//package Kiss_Monkey_fla
Section 18
//Background (Background)
package {
import flash.media.*;
public dynamic class Background extends Sound {
}
}//package
Section 19
//camera (camera)
package {
import flash.media.*;
public dynamic class camera extends Sound {
}
}//package
Section 20
//Corazon (Corazon)
package {
import flash.display.*;
public dynamic class Corazon extends MovieClip {
}
}//package
Section 21
//Corazones (Corazones)
package {
import flash.display.*;
public dynamic class Corazones extends MovieClip {
}
}//package
Section 22
//kiss (kiss)
package {
import flash.media.*;
public dynamic class kiss extends Sound {
}
}//package