Section 1
//ewqdfweERGERG_41 (cinema_fla.ewqdfweERGERG_41)
package cinema_fla {
import flash.display.*;
public dynamic class ewqdfweERGERG_41 extends MovieClip {
public function ewqdfweERGERG_41(){
addFrameScript(0, frame1, 37, frame38);
}
function frame38(){
gotoAndPlay("Frega");
}
function frame1(){
stop();
}
}
}//package cinema_fla
Section 2
//intro_mc_16 (cinema_fla.intro_mc_16)
package cinema_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_mc_16 extends MovieClip {
public var audioLoad:SoundLoad;
public var audioCanal:SoundChannel;
public var btn_logo:SimpleButton;
public var btn_full:SimpleButton;
public var s1:MovieClip;
public var s2:MovieClip;
public function intro_mc_16(){
addFrameScript(0, frame1, 85, frame86, 215, frame216);
}
function frame216(){
audioCanal.stop();
this["parent"].iniciarJuego();
}
function frame1(){
audioLoad = new SoundLoad();
audioCanal = audioLoad.play(0, 3);
}
function frame86(){
s2.mask = s1;
s1.cacheAsBitmap = true;
s2.cacheAsBitmap = true;
}
}
}//package cinema_fla
Section 3
//MainTimeline (cinema_fla.MainTimeline)
package cinema_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 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 Loader_txt:TextField;
public var Cuenta;
public var o:Object;
public var Diferencia:int;
public var Yoko3_btn:SimpleButton;
public var Fotografo:Object;
public var Canal_cine:SoundChannel;
public var Cachondos:MovieClip;
public var Trans:SoundTransform;
public var Page:MovieClip;
public var carga:Number;
public var Corazzzon:MovieClip;
public var How_bt:SimpleButton;
public var cine_snd:cine;
public var Play_BTN:SimpleButton;
public var apiLoader:URLLoader;
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 Mutador:MovieClip;
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();
Canal_cine.stop();
Mute = true;
Mutador.gotoAndStop(2);
} else {
if (this.currentFrame == 6){
Canal_cine = cine_snd.play(0, 99999999, Trans);
};
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 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 How(_arg1:MouseEvent):void{
Play_bt.removeEventListener(MouseEvent.CLICK, Play);
How_bt.removeEventListener(MouseEvent.CLICK, How);
Page.gotoAndPlay(2);
gotoAndStop("How");
}
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.6);
Puntos = (Puntos + 2);
Score_txt.text = Puntos.toString();
if (Barra.Verde.scaleX >= 200){
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(){
Trans = new SoundTransform(0.3);
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 = "50";
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));
if (!Mute){
Canal_cine = cine_snd.play(0, 99999999, Trans);
};
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 frame2(){
intro_mc.btn_logo.addEventListener(MouseEvent.CLICK, More);
intro_mc.btn_full.addEventListener(MouseEvent.CLICK, More);
stop();
}
public function More(_arg1:MouseEvent):void{
var _local2:LocalConnection = new LocalConnection();
var _local3:String = _local2.domain;
var _local4:* = (("http://www.dressupone.com/?utm_source=" + _local3) + "&utm_medium=game&utm_campaign=cinema-kiss");
var _local5:URLRequest = new URLRequest(_local4);
navigateToURL(_local5, "_blank");
}
function frame5(){
Play_BTN.addEventListener(MouseEvent.CLICK, Play2);
More_bt.addEventListener(MouseEvent.CLICK, More);
Yoko3_btn.addEventListener(MouseEvent.CLICK, More);
}
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 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();
cine_snd = new cine();
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);
if (Security){
o = Security;
if (o.sandboxType != "localWithFile"){
apiLoader = new URLLoader();
apiLoader.load(new URLRequest("http://www.britetrade.com/api/gameplay.php?key=ff2dc0544257e051a33eb6ba456ccdc6&id=53"));
};
};
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():void{
trace("iniciar juego");
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();
Canal_cine.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 cinema_fla
Section 4
//mc_main_0014_21 (cinema_fla.mc_main_0014_21)
package cinema_fla {
import flash.display.*;
public dynamic class mc_main_0014_21 extends MovieClip {
public function mc_main_0014_21(){
addFrameScript(34, frame35);
}
function frame35(){
stop();
}
}
}//package cinema_fla
Section 5
//S_24 (cinema_fla.S_24)
package cinema_fla {
import flash.display.*;
public dynamic class S_24 extends MovieClip {
public function S_24(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package cinema_fla
Section 6
//S_29 (cinema_fla.S_29)
package cinema_fla {
import flash.display.*;
public dynamic class S_29 extends MovieClip {
public function S_29(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package cinema_fla
Section 7
//S_35 (cinema_fla.S_35)
package cinema_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_35 extends MovieClip {
public function S_35(){
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 cinema_fla
Section 8
//S_37 (cinema_fla.S_37)
package cinema_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_37 extends MovieClip {
public function S_37(){
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 cinema_fla
Section 9
//S_39 (cinema_fla.S_39)
package cinema_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_39 extends MovieClip {
public function S_39(){
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 cinema_fla
Section 10
//sprite98_33 (cinema_fla.sprite98_33)
package cinema_fla {
import flash.display.*;
public dynamic class sprite98_33 extends MovieClip {
public function sprite98_33(){
addFrameScript(0, frame1, 45, frame46);
}
function frame1(){
stop();
}
function frame46(){
gotoAndPlay("Lup");
}
}
}//package cinema_fla
Section 11
//Background (Background)
package {
import flash.media.*;
public dynamic class Background extends Sound {
}
}//package
Section 12
//camera (camera)
package {
import flash.media.*;
public dynamic class camera extends Sound {
}
}//package
Section 13
//cine (cine)
package {
import flash.media.*;
public dynamic class cine extends Sound {
}
}//package
Section 14
//kiss (kiss)
package {
import flash.media.*;
public dynamic class kiss extends Sound {
}
}//package
Section 15
//SoundLoad (SoundLoad)
package {
import flash.media.*;
public dynamic class SoundLoad extends Sound {
}
}//package