Section 1
//Timeline_60 (Game_fla.Timeline_60)
package Game_fla {
import flash.display.*;
public dynamic class Timeline_60 extends MovieClip {
public function Timeline_60(){
addFrameScript(24, frame25);
}
function frame25(){
gotoAndPlay(5);
}
}
}//package Game_fla
Section 2
//AdultOnlySplash (AdultOnlySplash)
package {
import flash.display.*;
public dynamic class AdultOnlySplash extends MovieClip {
public function AdultOnlySplash(){
addFrameScript(68, frame69, 99, frame100);
}
function frame69(){
stop();
}
function frame100(){
visible = false;
}
}
}//package
Section 3
//advBlock1 (advBlock1)
package {
import flash.display.*;
public dynamic class advBlock1 extends MovieClip {
}
}//package
Section 4
//ball (ball)
package {
import flash.display.*;
public dynamic class ball extends MovieClip {
}
}//package
Section 5
//bet_panel (bet_panel)
package {
import flash.display.*;
public dynamic class bet_panel extends MovieClip {
}
}//package
Section 6
//border (border)
package {
import flash.display.*;
public dynamic class border extends MovieClip {
}
}//package
Section 7
//btnBack (btnBack)
package {
import flash.events.*;
import flash.display.*;
import flash.system.*;
public class btnBack extends SimpleButton {
public function btnBack(){
Security.allowDomain("*");
useHandCursor = true;
addEventListener(MouseEvent.CLICK, onClick);
}
public function onClick(_arg1:MouseEvent){
Main.Application.finalMC.visible = false;
}
}
}//package
Section 8
//btnBet10dollars (btnBet10dollars)
package {
import flash.events.*;
public class btnBet10dollars extends btnRoll {
override public function onClick(_arg1:MouseEvent){
Main.Application.betID = 3;
Main.Application.bet = 10;
super.onClick(_arg1);
}
}
}//package
Section 9
//btnBet15dollars (btnBet15dollars)
package {
import flash.events.*;
public class btnBet15dollars extends btnRoll {
override public function onClick(_arg1:MouseEvent){
Main.Application.betID = 4;
Main.Application.bet = 15;
super.onClick(_arg1);
}
}
}//package
Section 10
//btnBet1dollar (btnBet1dollar)
package {
import flash.events.*;
public class btnBet1dollar extends btnRoll {
override public function onClick(_arg1:MouseEvent){
Main.Application.betID = 1;
Main.Application.bet = 1;
super.onClick(_arg1);
}
}
}//package
Section 11
//btnBet25dollars (btnBet25dollars)
package {
import flash.events.*;
public class btnBet25dollars extends btnRoll {
override public function onClick(_arg1:MouseEvent){
Main.Application.betID = 5;
Main.Application.bet = 25;
super.onClick(_arg1);
}
}
}//package
Section 12
//btnBet50dollars (btnBet50dollars)
package {
import flash.events.*;
public class btnBet50dollars extends btnRoll {
override public function onClick(_arg1:MouseEvent){
Main.Application.betID = 6;
Main.Application.bet = 50;
super.onClick(_arg1);
}
}
}//package
Section 13
//btnBet5dollars (btnBet5dollars)
package {
import flash.events.*;
public class btnBet5dollars extends btnRoll {
override public function onClick(_arg1:MouseEvent){
Main.Application.betID = 2;
Main.Application.bet = 5;
super.onClick(_arg1);
}
}
}//package
Section 14
//btnBetAllMyMoney (btnBetAllMyMoney)
package {
import flash.events.*;
public class btnBetAllMyMoney extends btnRoll {
override public function onClick(_arg1:MouseEvent){
Main.Application.betID = 8;
Main.Application.bet = Main.Application.money;
super.onClick(_arg1);
}
}
}//package
Section 15
//btnBetHalfOfMyMoney (btnBetHalfOfMyMoney)
package {
import flash.events.*;
public class btnBetHalfOfMyMoney extends btnRoll {
override public function onClick(_arg1:MouseEvent){
Main.Application.betID = 7;
Main.Application.bet = Math.ceil((Main.Application.money / 2));
super.onClick(_arg1);
}
}
}//package
Section 16
//btnBuyVideo (btnBuyVideo)
package {
import flash.events.*;
import flash.net.*;
import flash.display.*;
public class btnBuyVideo extends SimpleButton {
public function btnBuyVideo(){
useHandCursor = true;
addEventListener(MouseEvent.CLICK, onClick);
}
public function onClick(_arg1:MouseEvent):void{
if (Main.Application.money < (Main.Application.prices[Main.Application.videos_unlocked] + 1)){
return;
};
Main.Application.soundControl.Play(1, 1, false);
Main.Application.money = (Main.Application.money - Main.Application.prices[Main.Application.videos_unlocked]);
Main.Application.cpanel.money.text = Main.Application.money.toString();
var _local2:int;
while (_local2 < 12) {
(Main.Application.videoMC.getChildByName(("v" + (_local2 + 1))) as MovieClip).visible = false;
(Main.Application.videoMC.getChildByName(("v" + (_local2 + 1))) as MovieClip).gotoAndStop(1);
_local2++;
};
Main.Application.videos_unlocked++;
Main.Application.screenMC.reDraw();
Main.Application.btnStartMC.visible = false;
Main.Application.btnBuyVideoMC.visible = false;
Main.Application.btnGalleryMC.visible = true;
Main.Application.btnContinueMC.visible = true;
Main.Application.btnContinueMC.x = 180;
Main.Application.videoMC.visible = true;
Main.Application.videoMC.getAlpha();
Main.Application.videoMC.gotoAndStop(Main.Application.videos_unlocked);
(Main.Application.videoMC.getChildByName(("v" + Main.Application.videos_unlocked)) as MovieClip).visible = true;
(Main.Application.videoMC.getChildByName(("v" + Main.Application.videos_unlocked)) as MovieClip).gotoAndPlay(1);
Main.Application.soundControl.Stop(0);
if ((((((Main.Application.videos_unlocked == 4)) || ((Main.Application.videos_unlocked == 8)))) || ((Main.Application.videos_unlocked == 12)))){
Main.Application.btnMoreOfThisMC.visible = true;
};
}
}
}//package
Section 17
//btnContinue (btnContinue)
package {
import flash.events.*;
import flash.display.*;
public class btnContinue extends SimpleButton {
public function btnContinue(){
addEventListener(MouseEvent.CLICK, onClick);
}
public function onClick(_arg1:MouseEvent):void{
var _local2:int;
Main.Application.soundControl.Play(1, 1, false);
if (Main.Application.videos_unlocked == 12){
_local2 = 0;
while (_local2 < 12) {
(Main.Application.videoMC.getChildByName(("v" + (_local2 + 1))) as MovieClip).visible = false;
(Main.Application.videoMC.getChildByName(("v" + (_local2 + 1))) as MovieClip).gotoAndStop(1);
_local2++;
};
Main.Application.videoMC.visible = false;
Main.Application.videoMC.gotoAndStop(1);
Main.Application.finalMC.visible = true;
return;
};
this.visible = false;
Main.Application.btnBuyVideoMC.visible = false;
Main.Application.btnGalleryMC.visible = false;
Main.Application.btnMoreOfThisMC.visible = false;
Main.Application.btnStartMC.visible = true;
Main.Application.btnStartMC.x = 125;
}
}
}//package
Section 18
//btnFreePorn (btnFreePorn)
package {
import flash.events.*;
import flash.display.*;
import flash.system.*;
public class btnFreePorn extends SimpleButton {
public function btnFreePorn(){
Security.allowDomain("*");
useHandCursor = true;
addEventListener(MouseEvent.CLICK, onClick);
}
public function onClick(_arg1:MouseEvent):void{
linksManager.navigateToTDS("free-porn", 5);
}
}
}//package
Section 19
//btnGallery (btnGallery)
package {
import flash.events.*;
import flash.display.*;
public class btnGallery extends SimpleButton {
public function btnGallery(){
addEventListener(MouseEvent.CLICK, onClick);
}
public function onClick(_arg1:MouseEvent):void{
Main.Application.soundControl.Play(1, 1, false);
this.visible = false;
if (Main.Application.btnStartMC.visible == false){
if (Main.Application.money >= (Main.Application.prices[Main.Application.videos_unlocked] + 1)){
Main.Application.btnBuyVideoMC.visible = true;
} else {
Main.Application.btnContinueMC.x = 125;
};
};
Main.Application.videoMC.alpha = 0;
Main.Application.videoMC.visible = false;
var _local2:int;
while (_local2 < 12) {
(Main.Application.videoMC.getChildByName(("v" + (_local2 + 1))) as MovieClip).gotoAndStop(1);
_local2++;
};
Main.Application.videoMC.gotoAndStop(1);
Main.Application.soundControl.Play(0, 0, false);
}
}
}//package
Section 20
//btnIntroContinue (btnIntroContinue)
package {
import flash.events.*;
import flash.display.*;
public class btnIntroContinue extends SimpleButton {
public function btnIntroContinue(){
addEventListener(MouseEvent.CLICK, onClick);
}
public function onClick(_arg1:MouseEvent):void{
Main.Application.soundControl.Play(1, 1, false);
(parent as MovieClip).gotoAndPlay(70);
removeEventListener(MouseEvent.CLICK, onClick);
}
}
}//package
Section 21
//btnMoreGirls (btnMoreGirls)
package {
import flash.events.*;
import flash.display.*;
import flash.system.*;
public class btnMoreGirls extends SimpleButton {
public function btnMoreGirls(){
Security.allowDomain("*");
useHandCursor = true;
addEventListener(MouseEvent.CLICK, onClick);
}
public function onClick(_arg1:MouseEvent):void{
linksManager.navigateToTDS("more-girls", 4);
}
}
}//package
Section 22
//btnMoreGirlsLevel (btnMoreGirlsLevel)
package {
import flash.events.*;
import flash.display.*;
import flash.system.*;
public class btnMoreGirlsLevel extends SimpleButton {
public function btnMoreGirlsLevel(){
Security.allowDomain("*");
useHandCursor = true;
addEventListener(MouseEvent.CLICK, onClick);
}
public function onClick(_arg1:MouseEvent):void{
linksManager.navigateToTDS("more-girls-level", 3);
}
}
}//package
Section 23
//btnMoreOfThis (btnMoreOfThis)
package {
import flash.events.*;
import flash.display.*;
import flash.system.*;
public class btnMoreOfThis extends SimpleButton {
public function btnMoreOfThis(){
Security.allowDomain("*");
useHandCursor = true;
addEventListener(MouseEvent.CLICK, onClick);
}
public function onClick(_arg1:MouseEvent):void{
linksManager.navigateToTDS("more-same-girls", 2);
}
}
}//package
Section 24
//btnMoreVideos (btnMoreVideos)
package {
import flash.events.*;
import flash.display.*;
import flash.system.*;
public class btnMoreVideos extends SimpleButton {
public function btnMoreVideos(){
Security.allowDomain("*");
useHandCursor = true;
addEventListener(MouseEvent.CLICK, onClick);
}
public function onClick(_arg1:MouseEvent):void{
linksManager.navigateToTDS("more-videos", 6);
}
}
}//package
Section 25
//btnMyHornyBunny (btnMyHornyBunny)
package {
import flash.events.*;
import flash.display.*;
import flash.system.*;
public class btnMyHornyBunny extends SimpleButton {
public function btnMyHornyBunny(){
Security.allowDomain("*");
useHandCursor = true;
addEventListener(MouseEvent.CLICK, onClick);
}
public function onClick(_arg1:MouseEvent):void{
linksManager.navigateToTDS("mhb_site", 1);
}
}
}//package
Section 26
//btnPrivateContent (btnPrivateContent)
package {
import flash.events.*;
import flash.display.*;
import flash.system.*;
public class btnPrivateContent extends SimpleButton {
public function btnPrivateContent(){
Security.allowDomain("*");
useHandCursor = true;
addEventListener(MouseEvent.CLICK, onClick);
}
public function onClick(_arg1:MouseEvent):void{
linksManager.navigateToTDS("private-content", 7);
}
}
}//package
Section 27
//btnReplay (btnReplay)
package {
import flash.events.*;
import flash.display.*;
import flash.system.*;
public class btnReplay extends SimpleButton {
public function btnReplay(){
Security.allowDomain("*");
useHandCursor = true;
addEventListener(MouseEvent.CLICK, onClick);
}
public function onClick(_arg1:MouseEvent){
Main.Application.soundControl.Play(1, 1, false);
Main.Application.Replay();
}
}
}//package
Section 28
//btnRoll (btnRoll)
package {
import flash.events.*;
import flash.display.*;
import flash.system.*;
import flash.net.*;
public class btnRoll extends SimpleButton {
var moves:Array;
var startMC:MovieClip;
var currentMC:MovieClip;
public function btnRoll(){
moves = new Array();
super();
Security.allowDomain("*");
useHandCursor = true;
addEventListener(MouseEvent.CLICK, onClick);
}
public function Start(_arg1:Event){
var i:int;
var el:int;
var event = _arg1;
if (startMC.currentFrame == startMC.totalFrames){
var Swap:Function = function (_arg1:Array, _arg2:int, _arg3:int):void{
var _local4:int = _arg1[_arg2];
_arg1[_arg2] = _arg1[_arg3];
_arg1[_arg3] = _local4;
};
Main.Application.soundControl.Play(4, 1, false);
startMC.removeEventListener(Event.ENTER_FRAME, Start);
startMC.gotoAndStop(1);
Main.Application.ballMC.visible = false;
Main.Application.var0MC.visible = false;
Main.Application.var1MC.visible = false;
Main.Application.var2MC.visible = false;
Main.Application.var3MC.visible = false;
moves = new Array();
i = 0;
while (i < (15 + ((Main.Application.betID - 1) * 2))) {
moves[i] = (1 + Math.round((Math.random() * 2)));
while (moves[i] == 1) {
moves[i] = (1 + Math.round((Math.random() * 2)));
};
if (i > 0){
while (moves[i] == moves[(i - 1)]) {
moves[i] = (1 + Math.round((Math.random() * 2)));
};
};
i = (i + 1);
};
Main.Application.answer = 0;
i = 0;
while (i < moves.length) {
switch (moves[i]){
case 1:
Swap(Main.Application.cells, 0, 2);
break;
case 2:
Swap(Main.Application.cells, 1, 2);
break;
case 3:
Swap(Main.Application.cells, 0, 1);
break;
};
i = (i + 1);
};
i = 0;
while (i < Main.Application.cells.length) {
if (Main.Application.cells[i] == Main.Application.last_cell){
Main.Application.answer = (i + 1);
break;
};
i = (i + 1);
};
switch (Main.Application.answer){
case 1:
Main.Application.ballMC.x = 28;
break;
case 2:
Main.Application.ballMC.x = 113;
break;
case 3:
Main.Application.ballMC.x = 198;
break;
};
el = moves.shift();
switch (el){
case 1:
currentMC = Main.Application.var1MC;
break;
case 2:
currentMC = Main.Application.var2MC;
break;
case 3:
currentMC = Main.Application.var3MC;
break;
default:
currentMC = Main.Application.var0MC;
break;
};
currentMC.visible = true;
currentMC.gotoAndStop(1);
currentMC.nframe = 1;
Main.Application.soundControl.Play(2, 1, false);
currentMC.addEventListener(Event.ENTER_FRAME, nextMove);
};
}
public function onClick(_arg1:MouseEvent){
Main.Application.soundControl.Play(1, 1, false);
if ((Main.Application.money - Main.Application.bet) < 0){
Main.Application.soundControl.Play(5, 1, false);
Main.Application.bet = 0;
return;
};
Main.Application.canPlay = false;
Main.Application.money = (Main.Application.money - Main.Application.bet);
Main.Application.cpanel.money.text = Main.Application.money.toString();
Main.Application.cpanel.bet.text = Main.Application.bet.toString();
Main.Application.bpanel.visible = false;
Main.Application.soundControl.Play(1, 1, false);
Main.Application.screenMC.reDraw();
if (Main.Application.gameStarted == false){
Main.Application.gameStarted = true;
} else {
return;
};
Main.Application.gameWin = false;
switch (Main.Application.answer){
case 1:
startMC = Main.Application.var0MC.shell_1;
break;
case 2:
startMC = Main.Application.var0MC.shell_2;
break;
case 3:
startMC = Main.Application.var0MC.shell_3;
break;
default:
startMC = Main.Application.var0MC.shell_2;
break;
};
startMC.gotoAndPlay(2);
Main.Application.soundControl.Play(3, 1, false);
startMC.addEventListener(Event.ENTER_FRAME, Start);
}
public function nextMove(_arg1:Event):void{
var _local2:int;
switch (Main.Application.betID){
case 1:
case 2:
currentMC.nframe = (currentMC.nframe + 26.5);
break;
case 3:
case 4:
currentMC.nframe = (currentMC.nframe + 27);
break;
case 5:
case 6:
currentMC.nframe = (currentMC.nframe + 27.5);
break;
case 7:
currentMC.nframe = (currentMC.nframe + 28);
break;
case 8:
currentMC.nframe = (currentMC.nframe + 28.5);
break;
default:
currentMC.nframe = (currentMC.nframe + 26.5);
break;
};
if (Math.floor(currentMC.nframe) > currentMC.totalFrames){
currentMC.nframe = currentMC.totalFrames;
};
currentMC.gotoAndStop(Math.floor(currentMC.nframe));
if (currentMC.currentFrame == currentMC.totalFrames){
currentMC.removeEventListener(Event.ENTER_FRAME, nextMove);
currentMC.gotoAndStop(1);
currentMC.visible = false;
if (moves.length == 0){
currentMC = Main.Application.var0MC;
currentMC.visible = true;
currentMC.gotoAndStop(1);
currentMC.shell_1.playQ();
currentMC.shell_1.enableClick();
currentMC.shell_2.playQ();
currentMC.shell_2.enableClick();
currentMC.shell_3.playQ();
currentMC.shell_3.enableClick();
return;
};
_local2 = moves.shift();
switch (_local2){
case 1:
currentMC = Main.Application.var1MC;
break;
case 2:
currentMC = Main.Application.var2MC;
break;
case 3:
currentMC = Main.Application.var3MC;
break;
default:
currentMC = Main.Application.var1MC;
break;
};
currentMC.visible = true;
currentMC.gotoAndPlay(1);
currentMC.nframe = 1;
Main.Application.soundControl.Play(2, 1, false);
currentMC.addEventListener(Event.ENTER_FRAME, nextMove);
};
}
}
}//package
Section 29
//btnSkip (btnSkip)
package {
import flash.events.*;
import flash.display.*;
import flash.system.*;
public class btnSkip extends SimpleButton {
public function btnSkip(){
Security.allowDomain("*");
useHandCursor = true;
addEventListener(MouseEvent.CLICK, onClick);
}
public function onClick(_arg1:MouseEvent){
Main.Application.soundControl.Play(1, 1, false);
Main.Application.btnStartMC.visible = true;
Main.Application.field.visible = true;
parent.visible = false;
}
}
}//package
Section 30
//btnStart (btnStart)
package {
import flash.events.*;
import flash.display.*;
import flash.system.*;
public class btnStart extends SimpleButton {
var moves:Array;
var startMC:MovieClip;
var currentMC:MovieClip;
public function btnStart(){
moves = new Array();
super();
Security.allowDomain("*");
useHandCursor = true;
addEventListener(MouseEvent.CLICK, onClick);
}
public function onClick(_arg1:MouseEvent){
this.visible = false;
Main.Application.btnBuyVideoMC.visible = false;
if (Main.Application.gameStarted == false){
Main.Application.bpanel.visible = true;
};
Main.Application.soundControl.Play(1, 1, false);
}
}
}//package
Section 31
//btnTonsOfHentai (btnTonsOfHentai)
package {
import flash.events.*;
import flash.display.*;
import flash.system.*;
public class btnTonsOfHentai extends SimpleButton {
public function btnTonsOfHentai(){
Security.allowDomain("*");
useHandCursor = true;
addEventListener(MouseEvent.CLICK, onClick);
}
public function onClick(_arg1:MouseEvent):void{
linksManager.navigateToTDS("tons-of-hentai", 8);
}
}
}//package
Section 32
//btnTouchSoundOff (btnTouchSoundOff)
package {
import flash.events.*;
import flash.display.*;
public class btnTouchSoundOff extends SimpleButton {
public function btnTouchSoundOff(){
this.visible = false;
addEventListener(MouseEvent.CLICK, onClick);
}
public function onClick(_arg1:MouseEvent):void{
this.visible = false;
Main.Application.soundControl.Play(1, 1, false);
Main.Application.btnTouchSoundOnMC.visible = true;
Main.Application.soundControl.TouchSound();
}
}
}//package
Section 33
//btnTouchSoundOn (btnTouchSoundOn)
package {
import flash.events.*;
import flash.display.*;
public class btnTouchSoundOn extends SimpleButton {
public function btnTouchSoundOn(){
addEventListener(MouseEvent.CLICK, onClick);
}
public function onClick(_arg1:MouseEvent):void{
this.visible = false;
Main.Application.soundControl.Play(1, 1, false);
Main.Application.btnTouchSoundOffMC.visible = true;
Main.Application.soundControl.TouchSound();
}
}
}//package
Section 34
//button_click (button_click)
package {
import flash.media.*;
public dynamic class button_click extends Sound {
}
}//package
Section 35
//cell (cell)
package {
import flash.events.*;
import flash.net.*;
import flash.display.*;
import flash.text.*;
public class cell extends MovieClip {
public var cell_caption:TextField;
public var video:int;// = 0
public var ico:icons;
public var canBuy:Boolean;// = false
public var cb:cell_border;
public function cell(){
addFrameScript(0, frame1, 1, frame2);
cell_caption = new TextField();
cell_caption.background = false;
cell_caption.border = false;
cell_caption.selectable = false;
cell_caption.autoSize = TextFieldAutoSize.CENTER;
cell_caption.antiAliasType = AntiAliasType.NORMAL;
var _local1:TextFormat = new TextFormat();
_local1.font = "Impact";
_local1.color = 0xCCCCCC;
_local1.size = 18;
_local1.underline = false;
cell_caption.defaultTextFormat = _local1;
cell_caption.embedFonts = true;
addChild(cell_caption);
cell_caption.x = (32 + 4.25);
cell_caption.y = 25.3;
ico.gotoAndStop(1);
addEventListener(Event.ENTER_FRAME, enterFrameHandler);
}
public function setClickable(_arg1:int, _arg2:Boolean=false){
if (_arg2 == true){
if (Main.Application.money < (Main.Application.prices[(_arg1 - 1)] + 1)){
canBuy = false;
return;
};
canBuy = true;
} else {
canBuy = false;
};
video = _arg1;
useHandCursor = true;
buttonMode = true;
addEventListener(MouseEvent.CLICK, onClick);
}
public function setCellIcon(_arg1:int){
ico.gotoAndStop(_arg1);
}
function frame2(){
stop();
}
public function setUnClickable(){
useHandCursor = false;
buttonMode = false;
removeEventListener(MouseEvent.CLICK, onClick);
}
function frame1(){
stop();
}
public function onClick(_arg1:MouseEvent):void{
var _local2:int;
while (_local2 < 12) {
(Main.Application.videoMC.getChildByName(("v" + (_local2 + 1))) as MovieClip).visible = false;
(Main.Application.videoMC.getChildByName(("v" + (_local2 + 1))) as MovieClip).gotoAndStop(1);
_local2++;
};
if ((((canBuy == true)) && ((Main.Application.money >= (Main.Application.prices[Main.Application.videos_unlocked] + 1))))){
Main.Application.money = (Main.Application.money - Main.Application.prices[Main.Application.videos_unlocked]);
Main.Application.cpanel.money.text = Main.Application.money.toString();
Main.Application.videos_unlocked++;
Main.Application.screenMC.reDraw();
canBuy = false;
} else {
if (currentFrame == 1){
Main.Application.screenMC.reDraw();
return;
};
};
Main.Application.btnStartMC.visible = false;
Main.Application.btnBuyVideoMC.visible = false;
if (Main.Application.gameStarted == false){
Main.Application.btnGalleryMC.visible = true;
Main.Application.btnGalleryMC.x = 55;
Main.Application.btnContinueMC.visible = true;
Main.Application.btnContinueMC.x = 180;
} else {
Main.Application.btnGalleryMC.visible = true;
Main.Application.btnGalleryMC.x = 125;
Main.Application.btnContinueMC.visible = false;
};
Main.Application.videoMC.visible = true;
Main.Application.videoMC.getAlpha();
Main.Application.videoMC.gotoAndStop(video);
(Main.Application.videoMC.getChildByName(("v" + video)) as MovieClip).visible = true;
(Main.Application.videoMC.getChildByName(("v" + video)) as MovieClip).gotoAndPlay(1);
Main.Application.soundControl.Stop(0);
if ((((((((video <= 4)) && ((Main.Application.videos_unlocked >= 4)))) || ((((video <= 8)) && ((Main.Application.videos_unlocked >= 8)))))) || ((((video <= 12)) && ((Main.Application.videos_unlocked == 12)))))){
Main.Application.btnMoreOfThisMC.visible = true;
};
}
public function enterFrameHandler(_arg1:Event){
cell_caption.visible = ((currentFrame)==1) ? true : false;
}
}
}//package
Section 36
//cell_border (cell_border)
package {
import flash.display.*;
public dynamic class cell_border extends MovieClip {
public function cell_border(){
addFrameScript(0, frame1, 34, frame35);
}
function frame1(){
stop();
}
function frame35(){
gotoAndPlay(2);
}
}
}//package
Section 37
//cell_border_obj (cell_border_obj)
package {
import flash.display.*;
public dynamic class cell_border_obj extends MovieClip {
}
}//package
Section 38
//coco (coco)
package {
import flash.display.*;
public dynamic class coco extends MovieClip {
}
}//package
Section 39
//coin2 (coin2)
package {
import flash.media.*;
public dynamic class coin2 extends Sound {
}
}//package
Section 40
//configManager (configManager)
package {
import flash.events.*;
import flash.net.*;
import flash.display.*;
import flash.utils.*;
import flash.system.*;
public class configManager extends MovieClip {
var showonload:String;// = null
var popupurl:String;// = ""
var areas:Dictionary;
var areacontent:Dictionary;
var gid:String;
public var values:Array;
var ver:uint;
var configXML:XML;
public function configManager(_arg1:String, _arg2:uint, _arg3:Stage):void{
configXML = <config></config>
;
areas = new Dictionary(true);
areacontent = new Dictionary(true);
values = [];
super();
gid = _arg1;
ver = _arg2;
var _local4:URLLoader = new URLLoader();
configureListeners(_local4);
_local4.addEventListener(Event.COMPLETE, loadXML);
_local4.load(new URLRequest(((((((((tdsOptions.get_config_url + "?gameid=") + _arg1) + "&version=") + _arg2) + "&player=") + Capabilities.version) + "&referer=") + tdsOptions.referer)));
}
private function securityErrorHandler(_arg1:SecurityErrorEvent):void{
trace(("securityErrorHandler: " + _arg1));
}
function getContent(_arg1:String, _arg2:uint, _arg3:String, _arg4:Number, _arg5:Number, _arg6:String):void{
var loadcontent:Function;
var id = _arg1;
var arrid = _arg2;
var loc = _arg3;
var x = _arg4;
var y = _arg5;
var href = _arg6;
loadcontent = function (_arg1:Event):void{
var bannerid:uint;
var e = _arg1;
if (areacontent[id] == undefined){
areacontent[id] = [];
};
e.target.content.x = x;
e.target.content.y = y;
e.target.content.href = href;
e.target.content.gameid = gid;
e.target.content.version = ver;
areacontent[id][arrid] = e.target.content;
if (showonload == id){
bannerid = int((Math.random() * areacontent[id].length));
areas[id].addChild(areacontent[id][bannerid]);
if (areacontent[id][bannerid].href != ""){
areacontent[id][bannerid].addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{
navigateToURL(new URLRequest(areacontent[id][bannerid].href), "_blank");
});
};
};
trace("content loaded");
trace(("LOADED_" + id));
dispatchEvent(new Event(("LOADED_" + id)));
};
var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadcontent);
loader.load(new URLRequest(loc));
}
public function addArea(_arg1:String, _arg2:MovieClip):void{
var bannerid:uint;
var i:uint;
var k:uint;
var id = _arg1;
var area = _arg2;
if (areas[id] == undefined){
areas[id] = area;
if (areacontent[id] == undefined){
areacontent[id] = [];
i = 0;
while (i < configXML.stages.stage.length()) {
if (String(configXML.stages.stage[i].@name) == id){
k = 0;
while (k < configXML.stages.stage[i].banners.banner.length()) {
getContent(configXML.stages.stage[i].@name, k, configXML.stages.stage[i].banners.banner[k].@location, configXML.stages.stage[i].banners.banner[k].@x, configXML.stages.stage[i].banners.banner[k].@y, configXML.stages.stage[i].banners.banner[k].@href);
k = (k + 1);
};
};
i = (i + 1);
};
};
};
bannerid = int((Math.random() * areacontent[id].length));
if (((((!((areacontent[id][bannerid] == null))) && (!((areacontent[id][bannerid] == undefined))))) && (!(area.contains(areacontent[id][bannerid]))))){
area.addChild(areacontent[id][bannerid]);
dispatchEvent(new Event(("LOADED_" + id)));
if (areacontent[id][bannerid].href != ""){
areacontent[id][bannerid].addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{
navigateToURL(new URLRequest(areacontent[id][bannerid].href), "_blank");
});
};
} else {
showonload = id;
};
trace((("start " + id) + " area"));
}
private function httpStatusHandler(_arg1:HTTPStatusEvent):void{
}
function loadXML(_arg1:Event):void{
var _local3:uint;
configXML = new XML(_arg1.target.data);
if (configXML.settings.secured_redirect != ""){
tdsOptions.secured_redirect = ((configXML.settings.secured_redirect)=="true") ? true : false;
};
var _local2:uint;
while (_local2 < configXML.stages.stage.length()) {
_local3 = 0;
while (_local3 < configXML.stages.stage[_local2].banners.banner.length()) {
if (configXML.stages.stage[_local2].banners.banner[_local3].@autoload == "true"){
trace(((("get content " + configXML.stages.stage[_local2].@name) + " loc:") + configXML.stages.stage[_local2].banners.banner[_local3].@location));
getContent(configXML.stages.stage[_local2].@name, _local3, configXML.stages.stage[_local2].banners.banner[_local3].@location, configXML.stages.stage[_local2].banners.banner[_local3].@x, configXML.stages.stage[_local2].banners.banner[_local3].@y, configXML.stages.stage[_local2].banners.banner[_local3].@href);
};
_local3++;
};
_local2++;
};
_local2 = 0;
while (_local2 < configXML.values.value.length()) {
if (String(configXML.values.value[_local2].@stagename).length > 0){
values[configXML.values.value[_local2].@name] = [configXML.values.value[_local2].@stagename, configXML.values.value[_local2].@text];
} else {
values[String(configXML.values.value[_local2].@name)] = String(configXML.values.value[_local2].@value);
};
_local2++;
};
dispatchEvent(new Event("CONFIGLOADED"));
trace("config loaded\n\n");
}
private function completeHandler(_arg1:Event):void{
}
private function progressHandler(_arg1:ProgressEvent):void{
trace(((("progressHandler loaded:" + _arg1.bytesLoaded) + " total: ") + _arg1.bytesTotal));
}
private function openHandler(_arg1:Event):void{
}
private function ioErrorHandler(_arg1:IOErrorEvent):void{
trace(("ioErrorHandler: " + _arg1));
tdsOptions.alive = false;
}
private function configureListeners(_arg1:IEventDispatcher):void{
_arg1.addEventListener(Event.COMPLETE, completeHandler);
_arg1.addEventListener(Event.OPEN, openHandler);
_arg1.addEventListener(ProgressEvent.PROGRESS, progressHandler);
_arg1.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
_arg1.addEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatusHandler);
_arg1.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
}
}
}//package
Section 41
//control_panel (control_panel)
package {
import flash.display.*;
import flash.text.*;
public dynamic class control_panel extends MovieClip {
public var money:TextField;
public var bet:TextField;
}
}//package
Section 42
//dude (dude)
package {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class dude extends MovieClip {
private var T:Timer;
private var tS:Boolean;// = false
public function dude(){
addFrameScript(0, frame1, 69, frame70, 86, frame87);
super();
addEventListener(Event.ENTER_FRAME, enterFrameHandler);
}
public function StartTimer(){
T = new Timer(((Math.round((Math.random() * 4)) * 1000) + 2000), 1);
T.addEventListener(TimerEvent.TIMER, TickHandler);
T.start();
tS = true;
}
public function StopTimer(){
if (T.running == true){
T.stop();
T.removeEventListener(TimerEvent.TIMER, TickHandler);
};
}
public function enterFrameHandler(_arg1:Event):void{
if ((((currentFrame == 1)) && ((tS == false)))){
StartTimer();
};
}
function frame70(){
gotoAndStop(1);
}
function frame1(){
stop();
}
function frame87(){
gotoAndStop(1);
}
public function TickHandler(_arg1:Event):void{
StopTimer();
var _local2:Number = Math.random();
if (_local2 > 0.7){
gotoAndPlay("smoke");
} else {
gotoAndPlay("eyes");
};
tS = false;
}
}
}//package
Section 43
//empty (empty)
package {
import flash.display.*;
public dynamic class empty extends MovieClip {
public function empty(){
addFrameScript(0, frame1);
}
function frame1(){
alpha = 0.95;
}
}
}//package
Section 44
//finalScreen (finalScreen)
package {
import flash.display.*;
public dynamic class finalScreen extends MovieClip {
}
}//package
Section 45
//game_over (game_over)
package {
import flash.media.*;
public dynamic class game_over extends Sound {
}
}//package
Section 46
//game_over_panel (game_over_panel)
package {
import flash.display.*;
public dynamic class game_over_panel extends MovieClip {
}
}//package
Section 47
//gameTheme (gameTheme)
package {
import flash.media.*;
public dynamic class gameTheme extends Sound {
}
}//package
Section 48
//icons (icons)
package {
import flash.display.*;
public dynamic class icons extends MovieClip {
}
}//package
Section 49
//intro (intro)
package {
import flash.display.*;
public dynamic class intro extends MovieClip {
}
}//package
Section 50
//linksManager (linksManager)
package {
import flash.events.*;
import flash.net.*;
import flash.display.*;
public class linksManager {
public static function getRequest(_arg1:String, _arg2:String=""):URLRequest{
var _local3:URLRequest = new URLRequest(_arg1);
_local3.method = URLRequestMethod.POST;
return (_local3);
}
private static function navigateToSpareURL(_arg1:int=-1):void{
if ((((((_arg1 == -1)) || ((_arg1 < 1)))) || ((_arg1 > tdsOptions.spare_links.length)))){
_arg1 = Math.ceil((Math.random() * (tdsOptions.spare_links.length - 1)));
} else {
_arg1--;
};
navigateToURL(tdsOptions.spare_links[_arg1], "_blank");
}
private static function openHandler(_arg1:Event):void{
}
private static function ioErrorHandler(_arg1:IOErrorEvent):void{
navigateToSpareURL();
}
private static function securityErrorHandler(_arg1:SecurityErrorEvent):void{
}
private static function httpStatusHandler(_arg1:HTTPStatusEvent):void{
}
public static function navigateToTDSLink(_arg1:String, _arg2:int=-1):void{
if (tdsOptions.alive == true){
navigateToURL(getRequest(getLinkToTDS(_arg1)));
} else {
navigateToSpareURL(_arg2);
};
}
public static function navigateToTDS(_arg1:String, _arg2:int=-1):void{
if (tdsOptions.secured_redirect){
navigateToSecuredTDSLink(_arg1, _arg2);
} else {
navigateToTDSLink(_arg1, _arg2);
};
}
private static function completeHandler(_arg1:Event):void{
}
private static function configureListeners(_arg1:IEventDispatcher):void{
_arg1.addEventListener(Event.COMPLETE, completeHandler);
_arg1.addEventListener(Event.OPEN, openHandler);
_arg1.addEventListener(ProgressEvent.PROGRESS, progressHandler);
_arg1.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
_arg1.addEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatusHandler);
_arg1.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
}
public static function navigateToSecuredTDSLink(_arg1:String, _arg2:int=-1):void{
var loader:URLLoader;
var action = _arg1;
var spare_url_id = _arg2;
if (tdsOptions.alive == true){
var navigateToLink:Function = function (_arg1:Event):void{
var _local2:XML = <config></config>
;
_local2 = new XML(_arg1.target.data);
navigateToURL(getRequest(_local2.redirect_url, _local2.referer), "_blank");
};
loader = new URLLoader();
configureListeners(loader);
loader.addEventListener(Event.COMPLETE, navigateToLink);
loader.load(getRequest(getLinkToTDS(action, true)));
} else {
navigateToSpareURL(spare_url_id);
};
}
private static function progressHandler(_arg1:ProgressEvent):void{
}
private static function getLinkToTDS(_arg1:String, _arg2:Boolean=false):String{
return ((((((((((tdsOptions.redirect_url + "?gameid=") + tdsOptions.gameid) + "&version=") + tdsOptions.version) + "&action=") + _arg1) + "&referer=") + tdsOptions.referer) + ((_arg2)==true) ? "&secured=true" : ""));
}
}
}//package
Section 51
//Main (Main)
package {
import flash.events.*;
import flash.net.*;
import flash.display.*;
import flash.text.*;
import flash.system.*;
public class Main extends MovieClip {
public var cpanel:control_panel;
public var aBlock1:advBlock1;
public var var3MC:var3;
public var gameWin:Boolean;// = false
public var particle_panel:preloader_background;
public var finalMC:finalScreen;
public var var1MC:var1;
public var bet:int;// = 0
public var loader:URLLoader;
public var gameLoaded:Boolean;// = false
public var btnTouchSoundOffMC:btnTouchSoundOff;
public var screenMC:screen;
public var ProgressBarMC:MovieClip;
public var canPlay:Boolean;// = true
private var progressBar:Sprite;
public var gameStarted:Boolean;// = false
public var btnMoreGirlsLevelMC:btnMoreGirlsLevel;
public var answer:int;// = 2
public var var0MC:var0;
public var money:int;// = 50
public var var2MC:var2;
public var AdultOnlySplashMC:AdultOnlySplash;
public var config_loaded:Boolean;// = false
public var borderMC:border;
public var prices:Array;
public var videoMC:video;
public var ballMC:ball;
public var config:configManager;
public var btnMoreOfThisMC:btnMoreOfThis;
public var soundControl:SoundControl;
public var cells:Array;
public var btnTouchSoundOnMC:btnTouchSoundOn;
public var bpanel:bet_panel;
public var game_over_panelMC:game_over_panel;
public var caption:TextField;
public var btnBuyVideoMC:btnBuyVideo;
public var videos_unlocked:int;// = 0
public var last_cell:int;// = 2
public var betID:int;// = 0
public var dudeMC:dude;
public var btnGalleryMC:btnGallery;
public var btnContinueMC:btnContinue;
public var field:MovieClip;
public var btnStartMC:btnStart;
public static var Application:Main;
public function Main(){
cells = [1, 2, 3];
prices = [105, 160, 205, 240, 275, 300, 325, 340, 355, 370, 395, 410];
super();
stop();
Application = this;
Security.allowDomain("*");
tdsOptions.setReferer(loaderInfo.url, loaderInfo.loaderURL);
config = new configManager(tdsOptions.gameid, tdsOptions.version, stage);
config.addEventListener("CONFIGLOADED", cfgLoaded);
stage.showDefaultContextMenu = false;
stage.scaleMode = StageScaleMode.NO_SCALE;
progressBar = (getChildByName("ProgressBarMC") as Sprite);
progressBar.scaleX = 0;
addEventListener(Event.ENTER_FRAME, Update);
if ((((loaderInfo.bytesLoaded == loaderInfo.bytesTotal)) && (!((gameLoaded == true))))){
gotoAndStop(1, "Game");
Init();
return;
};
loaderInfo.addEventListener(Event.COMPLETE, loadingComplite);
loaderInfo.addEventListener(ProgressEvent.PROGRESS, loaderUpdate);
}
public function Replay(){
videos_unlocked = 0;
money = 50;
bet = 0;
cpanel.money.text = money.toString();
cpanel.bet.text = bet.toString();
var0MC.shell_1.Clear();
var0MC.shell_2.Clear();
var0MC.shell_3.Clear();
finalMC.visible = false;
game_over_panelMC.visible = false;
btnStartMC.visible = true;
btnStartMC.x = 125;
btnGalleryMC.visible = false;
btnContinueMC.visible = false;
btnBuyVideoMC.visible = false;
btnMoreOfThisMC.visible = false;
videoMC.visible = false;
videoMC.gotoAndStop(1);
screenMC.reDraw();
}
public function cfgLoaded(_arg1:Event):void{
config_loaded = true;
}
public function loadingComplite(_arg1:Event):void{
if (gameLoaded == true){
return;
};
gotoAndStop(1, "Game");
Init();
}
function Init():void{
if (gameLoaded == true){
return;
};
gameLoaded = true;
soundControl = new SoundControl();
soundControl.AddSound(new gameTheme());
soundControl.AddSound(new button_click());
soundControl.AddSound(new shell_move());
soundControl.AddSound(new shell_open());
soundControl.AddSound(new shell_close());
soundControl.AddSound(new game_over());
soundControl.AddSound(new tada());
soundControl.AddSound(new coin2());
soundControl.Play(0, 0, false);
screenMC = new screen();
screenMC.gotoAndStop(1);
addChild(screenMC);
screenMC.x = 70;
screenMC.y = 20;
videoMC = new video();
videoMC.gotoAndStop(1);
addChild(videoMC);
videoMC.visible = false;
videoMC.x = 70;
videoMC.y = 20;
var _local1:int;
while (_local1 < 12) {
(videoMC.getChildByName(("v" + (_local1 + 1))) as MovieClip).visible = false;
(videoMC.getChildByName(("v" + (_local1 + 1))) as MovieClip).gotoAndStop(1);
_local1++;
};
field = new MovieClip();
addChild(field);
field.name = "Shells";
field.visible = false;
ballMC = new ball();
ballMC.gotoAndStop(1);
field.addChild(ballMC);
ballMC.name = "ball";
ballMC.x = 113;
ballMC.y = 20;
var0MC = new var0();
var0MC.gotoAndStop(1);
field.addChild(var0MC);
var0MC.name = "var0";
var1MC = new var1();
var1MC.gotoAndStop(1);
var1MC.visible = false;
field.addChild(var1MC);
var1MC.name = "var1";
var2MC = new var2();
var2MC.gotoAndStop(1);
var2MC.visible = false;
field.addChild(var2MC);
var2MC.name = "var2";
var3MC = new var3();
var3MC.gotoAndStop(1);
var3MC.visible = false;
field.addChild(var3MC);
var3MC.name = "var3";
field.x = 110;
field.y = 280;
dudeMC = new dude();
addChild(dudeMC);
dudeMC.x = 385;
dudeMC.y = 79;
cpanel = new control_panel();
addChild(cpanel);
cpanel.y = 350;
cpanel.money.text = money.toString();
cpanel.bet.text = bet.toString();
bpanel = new bet_panel();
addChild(bpanel);
bpanel.x = 395;
bpanel.y = 215;
bpanel.visible = false;
btnStartMC = new btnStart();
addChild(btnStartMC);
btnStartMC.visible = false;
btnStartMC.x = 125;
btnStartMC.y = 360;
btnBuyVideoMC = new btnBuyVideo();
addChild(btnBuyVideoMC);
btnBuyVideoMC.visible = false;
btnBuyVideoMC.x = 55;
btnBuyVideoMC.y = 360;
btnMoreOfThisMC = new btnMoreOfThis();
addChild(btnMoreOfThisMC);
btnMoreOfThisMC.visible = false;
btnMoreOfThisMC.x = 125;
btnMoreOfThisMC.y = 330;
btnGalleryMC = new btnGallery();
addChild(btnGalleryMC);
btnGalleryMC.visible = false;
btnGalleryMC.x = 55;
btnGalleryMC.y = 360;
btnContinueMC = new btnContinue();
addChild(btnContinueMC);
btnContinueMC.visible = false;
btnContinueMC.x = 180;
btnContinueMC.y = 360;
var _local2:intro = new intro();
addChild(_local2);
_local2.x = 85;
_local2.y = 32;
finalMC = new finalScreen();
addChild(finalMC);
finalMC.visible = false;
game_over_panelMC = new game_over_panel();
addChild(game_over_panelMC);
game_over_panelMC.x = 0;
game_over_panelMC.y = 0;
game_over_panelMC.visible = false;
var _local3:btnMyHornyBunny = new btnMyHornyBunny();
addChild(_local3);
_local3.x = 2;
_local3.y = 4;
btnMoreGirlsLevelMC = new btnMoreGirlsLevel();
addChild(btnMoreGirlsLevelMC);
btnMoreGirlsLevelMC.visible = true;
btnMoreGirlsLevelMC.x = 400;
btnMoreGirlsLevelMC.y = 5;
btnTouchSoundOffMC = new btnTouchSoundOff();
addChild(btnTouchSoundOffMC);
btnTouchSoundOffMC.visible = false;
btnTouchSoundOffMC.x = 475;
btnTouchSoundOffMC.y = 5;
btnTouchSoundOnMC = new btnTouchSoundOn();
addChild(btnTouchSoundOnMC);
btnTouchSoundOnMC.visible = true;
btnTouchSoundOnMC.x = 475;
btnTouchSoundOnMC.y = 5;
AdultOnlySplashMC = new AdultOnlySplash();
addChild(AdultOnlySplashMC);
answer = (1 + Math.round((Math.random() * 2)));
switch (answer){
case 1:
ballMC.x = 28;
break;
case 2:
ballMC.x = 113;
break;
case 3:
ballMC.x = 198;
break;
};
last_cell = answer;
}
public function loaderUpdate(_arg1:ProgressEvent):void{
var _local2:Number = Math.floor(((_arg1.bytesLoaded * 100) / _arg1.bytesTotal));
progressBar.scaleX = (_local2 / 100);
if (_local2 == 100){
gotoAndStop(1, "Game");
Init();
};
}
private function Update(_arg1:Event):void{
if (gameLoaded == false){
return;
};
if (money < 0){
game_over_panelMC.visible = true;
};
}
}
}//package
Section 52
//mini_panel (mini_panel)
package {
import flash.display.*;
public dynamic class mini_panel extends MovieClip {
}
}//package
Section 53
//panel (panel)
package {
import flash.display.*;
public dynamic class panel extends MovieClip {
}
}//package
Section 54
//panel2 (panel2)
package {
import flash.display.*;
public dynamic class panel2 extends MovieClip {
}
}//package
Section 55
//preloader_background (preloader_background)
package {
import flash.display.*;
public class preloader_background extends MovieClip {
}
}//package
Section 56
//screen (screen)
package {
import flash.events.*;
import flash.net.*;
import flash.display.*;
public class screen extends MovieClip {
public var cells:Array;
public function screen(){
var _local2:int;
super();
cells = new Array();
var _local1:int;
while (_local1 < 3) {
_local2 = 0;
while (_local2 < 4) {
cells[(_local2 + (_local1 * 4))] = new cell();
addChild(cells[(_local2 + (_local1 * 4))]);
cells[(_local2 + (_local1 * 4))].x = ((_local2 * 76) + 8);
cells[(_local2 + (_local1 * 4))].y = ((_local1 * 75) + 8.5);
cells[(_local2 + (_local1 * 4))].setCellIcon(((_local2 + (_local1 * 4)) + 1));
cells[(_local2 + (_local1 * 4))].cb.mouseEnabled = false;
cells[(_local2 + (_local1 * 4))].cell_caption.mouseEnabled = false;
if ((_local2 + (_local1 * 4)) == Main.Application.videos_unlocked){
cells[(_local2 + (_local1 * 4))].gotoAndStop(1);
cells[(_local2 + (_local1 * 4))].cell_caption.text = ("$" + Main.Application.prices[Main.Application.videos_unlocked]);
cells[(_local2 + (_local1 * 4))].setClickable(((_local2 + (_local1 * 4)) + 1), true);
if (Main.Application.money >= (Main.Application.prices[Main.Application.videos_unlocked] + 1)){
cells[(_local2 + (_local1 * 4))].cb.gotoAndPlay(2);
} else {
cells[(_local2 + (_local1 * 4))].cb.gotoAndStop(1);
};
} else {
if ((_local2 + (_local1 * 4)) > Main.Application.videos_unlocked){
cells[(_local2 + (_local1 * 4))].gotoAndStop(1);
cells[(_local2 + (_local1 * 4))].cb.gotoAndStop(1);
cells[(_local2 + (_local1 * 4))].cell_caption.text = "LOCKED";
cells[(_local2 + (_local1 * 4))].setUnClickable();
} else {
cells[(_local2 + (_local1 * 4))].gotoAndStop(2);
cells[(_local2 + (_local1 * 4))].cb.gotoAndStop(1);
cells[(_local2 + (_local1 * 4))].setClickable(((_local2 + (_local1 * 4)) + 1));
};
};
_local2++;
};
_local1++;
};
}
public function reDraw(){
var _local2:int;
var _local1:int;
while (_local1 < 3) {
_local2 = 0;
while (_local2 < 4) {
if (cells[(_local2 + (_local1 * 4))] != null){
cells[(_local2 + (_local1 * 4))].setCellIcon(((_local2 + (_local1 * 4)) + 1));
if ((_local2 + (_local1 * 4)) == Main.Application.videos_unlocked){
cells[(_local2 + (_local1 * 4))].gotoAndStop(1);
cells[(_local2 + (_local1 * 4))].cell_caption.text = ("$" + Main.Application.prices[Main.Application.videos_unlocked]);
cells[(_local2 + (_local1 * 4))].setClickable(((_local2 + (_local1 * 4)) + 1), true);
if (Main.Application.money >= (Main.Application.prices[Main.Application.videos_unlocked] + 1)){
cells[(_local2 + (_local1 * 4))].cb.gotoAndPlay(2);
} else {
cells[(_local2 + (_local1 * 4))].cb.gotoAndStop(1);
};
} else {
if ((_local2 + (_local1 * 4)) > Main.Application.videos_unlocked){
cells[(_local2 + (_local1 * 4))].gotoAndStop(1);
cells[(_local2 + (_local1 * 4))].cell_caption.text = "LOCKED";
cells[(_local2 + (_local1 * 4))].setUnClickable();
cells[(_local2 + (_local1 * 4))].cb.gotoAndStop(1);
} else {
cells[(_local2 + (_local1 * 4))].gotoAndStop(2);
cells[(_local2 + (_local1 * 4))].cb.gotoAndStop(1);
cells[(_local2 + (_local1 * 4))].setClickable(((_local2 + (_local1 * 4)) + 1));
};
};
};
_local2++;
};
_local1++;
};
}
}
}//package
Section 57
//shell (shell)
package {
import flash.events.*;
import flash.net.*;
import flash.display.*;
public class shell extends MovieClip {
public var q:MovieClip;
public var s:stelka;
public var cocoS:coco;
public function shell(){
addFrameScript(0, frame1);
q.gotoAndStop(1);
s.gotoAndStop(1);
}
public function disableClick(){
useHandCursor = false;
buttonMode = false;
removeEventListener(MouseEvent.CLICK, onClick);
}
public function showRightCell(_arg1:Event){
if (currentFrame == totalFrames){
Main.Application.soundControl.Play(7, 1, false);
Main.Application.soundControl.Play(4, 1, false);
removeEventListener(Event.ENTER_FRAME, showRightCell);
switch (Main.Application.answer){
case 1:
Main.Application.var0MC.shell_1.Open();
Main.Application.var0MC.shell_1.s.gotoAndPlay(1);
break;
case 2:
Main.Application.var0MC.shell_2.Open();
Main.Application.var0MC.shell_2.s.gotoAndPlay(1);
break;
case 3:
Main.Application.var0MC.shell_3.Open();
Main.Application.var0MC.shell_3.s.gotoAndPlay(1);
break;
};
};
}
function frame1(){
stop();
}
public function enableClick(){
useHandCursor = true;
buttonMode = true;
addEventListener(MouseEvent.CLICK, onClick);
}
public function onClick(_arg1:MouseEvent){
Main.Application.var0MC.shell_1.stopQ();
Main.Application.var0MC.shell_2.stopQ();
Main.Application.var0MC.shell_3.stopQ();
Main.Application.var0MC.shell_1.disableClick();
Main.Application.var0MC.shell_2.disableClick();
Main.Application.var0MC.shell_3.disableClick();
Main.Application.ballMC.visible = true;
var _local2:Array = name.split("_");
var _local3:String = _local2[1];
if (_local3 != Main.Application.answer.toString()){
if (Main.Application.money < 1){
Main.Application.game_over_panelMC.visible = true;
};
gotoAndPlay(2);
Main.Application.soundControl.Play(5, 1, false);
Main.Application.soundControl.Play(3, 1, false);
addEventListener(Event.ENTER_FRAME, showRightCell);
} else {
Main.Application.money = (Main.Application.money + (Main.Application.bet * 2));
Main.Application.cpanel.money.text = Main.Application.money.toString();
Main.Application.screenMC.reDraw();
Main.Application.gameWin = true;
Main.Application.soundControl.Play(6, 1, false);
Open();
};
Main.Application.bet = 0;
Main.Application.cpanel.bet.text = Main.Application.bet.toString();
}
public function Open(){
gotoAndPlay(2);
Main.Application.soundControl.Play(3, 1, false);
addEventListener(Event.ENTER_FRAME, clearGame);
}
public function Clear(){
Main.Application.gameStarted = false;
removeEventListener(Event.ENTER_FRAME, clearGame);
removeEventListener(Event.ENTER_FRAME, showRightCell);
q.gotoAndStop(1);
s.gotoAndStop(1);
gotoAndStop(1);
}
public function stopQ(){
q.gotoAndStop(1);
}
public function playQ(){
q.gotoAndPlay(1);
}
public function clearGame(_arg1:Event){
var _local2:int;
if (currentFrame == totalFrames){
Main.Application.soundControl.Play(4, 1, false);
removeEventListener(Event.ENTER_FRAME, clearGame);
if (Main.Application.gameWin == true){
_local2 = 0;
while (_local2 < 12) {
(Main.Application.videoMC.getChildByName(("v" + (_local2 + 1))) as MovieClip).visible = false;
(Main.Application.videoMC.getChildByName(("v" + (_local2 + 1))) as MovieClip).gotoAndStop(1);
_local2++;
};
Main.Application.videoMC.visible = false;
Main.Application.videoMC.gotoAndStop(1);
Main.Application.screenMC.reDraw();
};
Main.Application.btnGalleryMC.visible = false;
Main.Application.btnMoreOfThisMC.visible = false;
Main.Application.btnContinueMC.visible = false;
Main.Application.btnStartMC.visible = true;
if (Main.Application.money < (Main.Application.prices[Main.Application.videos_unlocked] + 1)){
Main.Application.btnStartMC.x = 125;
} else {
Main.Application.btnBuyVideoMC.visible = true;
Main.Application.btnStartMC.x = 180;
};
Main.Application.gameStarted = false;
};
}
}
}//package
Section 58
//shell_close (shell_close)
package {
import flash.media.*;
public dynamic class shell_close extends Sound {
}
}//package
Section 59
//shell_move (shell_move)
package {
import flash.media.*;
public dynamic class shell_move extends Sound {
}
}//package
Section 60
//shell_open (shell_open)
package {
import flash.media.*;
public dynamic class shell_open extends Sound {
}
}//package
Section 61
//siga_smoke (siga_smoke)
package {
import flash.display.*;
public dynamic class siga_smoke extends MovieClip {
}
}//package
Section 62
//SoundControl (SoundControl)
package {
import flash.events.*;
import flash.display.*;
import flash.media.*;
public class SoundControl extends Sprite {
private var sndTransform:Array;
private var sndNum:int;// = 0
private var channel:Array;
private var sound:Array;
private var globalSwitch:Boolean;// = true
private var loopPlay:Array;
private var sndSwitch:Array;
public function SoundControl(){
sound = new Array();
channel = new Array();
sndTransform = new Array();
sndSwitch = new Array();
loopPlay = new Array();
super();
addEventListener(Event.ENTER_FRAME, onEnterFrame);
}
public function Stop(_arg1:int):void{
sndSwitch[_arg1] = false;
}
public function Play(_arg1:int, _arg2:int, _arg3:Boolean=false):void{
sndSwitch[_arg1] = true;
if (!loopPlay[_arg1]){
if (_arg2 == 0){
loopPlay[_arg1] = true;
};
if (((!(globalSwitch)) || (_arg3))){
sndTransform[_arg1].volume = 0;
};
channel[_arg1] = sound[_arg1].play(0, ((_arg2)>0) ? _arg2 : 999999, sndTransform[_arg1]);
};
}
public function AddSound(_arg1:Object):void{
sound[sndNum] = _arg1;
channel[sndNum] = new SoundChannel();
sndTransform[sndNum] = new SoundTransform();
sndSwitch[sndNum] = true;
loopPlay[sndNum] = false;
sndNum++;
}
private function onEnterFrame(_arg1:Event):void{
var _local2:int;
while (_local2 < sndNum) {
if (((((!(globalSwitch)) || (!(sndSwitch[_local2])))) && ((sndTransform[_local2].volume > 0)))){
sndTransform[_local2].volume = (sndTransform[_local2].volume - 0.05);
channel[_local2].soundTransform = sndTransform[_local2];
if (sndTransform[_local2].volume <= 0.07){
sndTransform[_local2].volume = 0;
channel[_local2].soundTransform = sndTransform[_local2];
};
} else {
if (((((globalSwitch) && (sndSwitch[_local2]))) && ((sndTransform[_local2].volume < 1)))){
sndTransform[_local2].volume = (sndTransform[_local2].volume + 0.05);
channel[_local2].soundTransform = sndTransform[_local2];
if (sndTransform[_local2].volume >= 0.93){
sndTransform[_local2].volume = 1;
channel[_local2].soundTransform = sndTransform[_local2];
};
};
};
_local2++;
};
}
public function TouchSound():void{
if (sndNum == 0){
return;
};
globalSwitch = !(globalSwitch);
if (globalSwitch){
sndTransform[0].volume = 1;
channel[0].soundTransform = sndTransform[0];
};
}
}
}//package
Section 63
//stelka (stelka)
package {
import flash.display.*;
public dynamic class stelka extends MovieClip {
public function stelka(){
addFrameScript(49, frame50);
}
function frame50(){
stop();
}
}
}//package
Section 64
//tada (tada)
package {
import flash.media.*;
public dynamic class tada extends Sound {
}
}//package
Section 65
//tdsOptions (tdsOptions)
package {
public class tdsOptions {
public static const redirect_url:String = (("http://" + host) + "/redirect.php");
public static const gameid:String = "ssg2";
public static const version:uint = 1;
public static const host:String = "tds.myhornybunny.com";
public static const link_count_url:String = (("http://" + host) + "/countLink.php");
public static const get_config_url:String = (("http://" + host) + "/getConfig.php");
public static var alive:Boolean = true;
public static var secured_redirect:Boolean = true;
public static var spare_links:Array = new Array("http://myhornybunny.com/", "http://in.sapphicerotica.com/track/MTY4MjY6Mzox/", "http://www.theclassicporn.com/index.php?id=myhbunny", "http://secure.twistys.com/track/MTg2Njc1OjU6MQ/", "http://www.sextronix.com/hit/136/109039/1/1/ssg2/", "http://www.dvdstore.com/?acc=59782890&track=ssg2&rev=yes", "http://www.allpremiumpass.com/?acc=59782890&d=1&track=ssg2&rev=yes", "http://www.allanimemovies.com/?acc=59782890&d=1&track=ssg2&rev=yes");
public static var country:String;
public static var language:String;
public static var referer:String;
public static function setReferer(_arg1:String, _arg2:String):void{
if ((((_arg1 == null)) || ((_arg1 == "")))){
_arg1 = _arg2;
};
referer = "";
if (_arg1 == null){
referer = "empty";
} else {
if (_arg1.substr(0, 7) == "file://"){
referer = "local";
};
};
if (referer != ""){
return;
};
if (_arg1.indexOf("http://") != -1){
_arg1 = _arg1.substr(7);
};
if (_arg1.indexOf("/") != -1){
_arg1 = _arg1.substr(0, _arg1.indexOf("/"));
};
referer = _arg1;
}
}
}//package
Section 66
//var0 (var0)
package {
import flash.display.*;
public dynamic class var0 extends MovieClip {
public var shell_1:shell;
public var shell_2:shell;
public var shell_3:shell;
public function var0(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 67
//var1 (var1)
package {
public dynamic class var1 extends varD {
public function var1(){
addFrameScript(139, frame140);
}
function frame140(){
stop();
}
}
}//package
Section 68
//var2 (var2)
package {
public dynamic class var2 extends varD {
public function var2(){
addFrameScript(139, frame140);
}
function frame140(){
stop();
}
}
}//package
Section 69
//var3 (var3)
package {
public dynamic class var3 extends varD {
public function var3(){
addFrameScript(139, frame140);
}
function frame140(){
stop();
}
}
}//package
Section 70
//varD (varD)
package {
import flash.display.*;
public class varD extends MovieClip {
public var nframe:Number;
public function varD(){
nframe = 1;
}
}
}//package
Section 71
//video (video)
package {
import flash.events.*;
import flash.net.*;
import flash.display.*;
public class video extends MovieClip {
public var v6:MovieClip;
public var v7:MovieClip;
public var v9:MovieClip;
public var v8:MovieClip;
public var v10:MovieClip;
public var v11:MovieClip;
public var v12:MovieClip;
public var v1:MovieClip;
public var v2:MovieClip;
public var v3:MovieClip;
public var v4:MovieClip;
public var v5:MovieClip;
public function video(){
useHandCursor = true;
buttonMode = true;
addEventListener(MouseEvent.CLICK, onClick);
}
public function gettingAlpha(_arg1:Event){
if (alpha == 1){
removeEventListener(Event.ENTER_FRAME, gettingAlpha);
} else {
alpha = (alpha + 0.05);
};
}
public function getAlpha(){
alpha = 0;
addEventListener(Event.ENTER_FRAME, gettingAlpha);
}
public function onClick(_arg1:MouseEvent){
Main.Application.btnGalleryMC.visible = false;
Main.Application.btnMoreOfThisMC.visible = false;
if (Main.Application.btnStartMC.visible == false){
if (Main.Application.money >= (Main.Application.prices[Main.Application.videos_unlocked] + 1)){
Main.Application.btnBuyVideoMC.visible = true;
} else {
Main.Application.btnContinueMC.x = 125;
};
};
Main.Application.videoMC.visible = false;
var _local2:int;
while (_local2 < 12) {
(Main.Application.videoMC.getChildByName(("v" + (_local2 + 1))) as MovieClip).gotoAndStop(1);
_local2++;
};
Main.Application.videoMC.gotoAndStop(1);
Main.Application.soundControl.Play(0, 0, false);
}
}
}//package
Section 72
//video_mask (video_mask)
package {
import flash.display.*;
public dynamic class video_mask extends MovieClip {
}
}//package