Frame 1
fscommand ("trapallkeys", true);
fscommand ("showmenu", false);
fscommand ("allowscale", false);
_focusrect = false;
Frame 2
factor = _root.getBytesLoaded() / _root.getBytesTotal();
factor2 = Math.floor(factor * 100);
percent.text = factor2 + "%";
pol.gotoAndStop(factor2);
if (factor >= 1) {
_root.gotoAndStop("Start");
}
Frame 3
_root.gotoAndPlay("Loader");
Frame 8
var switch_title = false;
var visible_game = false;
Symbol 420 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 421 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 422 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 423 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong
{
function Strong () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 424 MovieClip [__Packages.mx.transitions.easing.Bounce] Frame 0
class mx.transitions.easing.Bounce
{
function Bounce () {
}
static function easeOut(t, b, c, d) {
t = t / d;
if (t < 0.363636363636364) {
return((c * ((7.5625 * t) * t)) + b);
}
if (t < 0.727272727272727) {
t = t - 0.545454545454545;
return((c * (((7.5625 * t) * t) + 0.75)) + b);
}
if (t < 0.909090909090909) {
t = t - 0.818181818181818;
return((c * (((7.5625 * t) * t) + 0.9375)) + b);
}
t = t - 0.954545454545455;
return((c * (((7.5625 * t) * t) + 0.984375)) + b);
}
static function easeIn(t, b, c, d) {
return((c - easeOut(d - t, 0, c, d)) + b);
}
static function easeInOut(t, b, c, d) {
if (t < (d / 2)) {
return((easeIn(t * 2, 0, c, d) * 0.5) + b);
}
return(((easeOut((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b);
}
static var version = "1.1.0.52";
}
Symbol 8 MovieClip Frame 1
stop();
Symbol 19 MovieClip Frame 1
stop();
Symbol 22 MovieClip Frame 1
stop();
Symbol 27 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 1
stop();
Symbol 59 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 1
stop();
Symbol 184 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 1
stop();
Symbol 231 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 6
trace(this + "=========================");
Symbol 242 MovieClip Frame 1
stop();
Symbol 253 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 1
stop();
Symbol 290 MovieClip [confitti_mc] Frame 1
stop();
Symbol 324 MovieClip Frame 10
stop();
Symbol 327 Button
on (release) {
getURL ("http://www.sexflash.pp.ua", "_blank");
}
Symbol 338 Button
on (press) {
_parent.soundOn = (_parent.soundOn ? false : true);
trace(_parent.soundOn);
if (_parent.soundOn) {
Off._visible = false;
stopAllSounds();
_parent.menu_snd.fade_in();
_parent.menu_snd.cycle_sound();
}
if (!_parent.soundOn) {
Off._visible = true;
stopAllSounds();
}
}
Symbol 358 MovieClip Frame 1
stop();
Symbol 372 MovieClip Frame 1
stop();
Symbol 382 MovieClip Frame 1
stop();
Instance of Symbol 2 MovieClip [Off] "Off" in Symbol 382 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 382 MovieClip Frame 6
stop();
Symbol 382 MovieClip Frame 12
stop();
Symbol 382 MovieClip Frame 18
stop();
Symbol 382 MovieClip Frame 24
stop();
Symbol 382 MovieClip Frame 31
stop();
Symbol 382 MovieClip Frame 38
stop();
Symbol 382 MovieClip Frame 45
stop();
Symbol 382 MovieClip Frame 53
stop();
Symbol 383 MovieClip Frame 1
function showMenu() {
if (_parent.visible_game) {
game_mc._visible = true;
stopAllSounds();
menu_snd.fade_in();
menu_snd.cycle_sound();
clearInterval(int_visible_game);
}
}
function startMouse() {
lstMouse.onMouseMove = function () {
if (!game_over) {
camera_mc.trackMouse();
mask_camera_mc.trackMouse();
fon_foto_mc._x = camera_mc._x - (fon_mc._xmouse * (fon_foto_mc._width / 555.5));
fon_foto_mc._y = camera_mc._y - (fon_mc._ymouse * (fon_foto_mc._height / 404));
}
};
lstMouse.onMouseWheel = function (delta) {
if (!game_over) {
fon_foto_mc._xscale = (fon_foto_mc._yscale = fon_foto_mc._yscale + delta);
}
};
lstMouse.onMouseDown = function () {
if (!game_over) {
takeShot(mouse_click++);
}
};
}
function buttonMenu() {
play_btn.onRollOver = function () {
menu_click_snd.play_sound();
};
play_btn.onPress = function () {
menu_click_snd.play_sound();
switch (menu_mc._currentframe) {
case Start :
menu_mc.gotoAndStop(Help);
return;
case Help :
menu_mc.gotoAndStop(Missions);
initializeMission();
return;
case Missions :
menu_mc._visible = false;
soundMission();
if (num_mission == end_mission) {
endMission();
} else {
startMouse();
startMission();
}
return;
case Win :
total_cost = 0;
stopAllSounds();
menu_snd.fade_in();
menu_snd.cycle_sound();
menu_mc.gotoAndStop(Start);
return;
case Lose :
total_cost = 0;
menu_mc.gotoAndStop(Missions);
initializeMission();
return;
case Magazine :
trace(magazine_photo_mc.photo_mc);
removeMovieClip(magazine_photo_mc.photo_mc);
trace(magazine_photo_mc.photo_mc);
menu_mc.gotoAndStop(Missions);
num_mission++;
initializeMission();
return;
case ErrorLoad :
menu_mc.gotoAndStop(Start);
}
};
}
function initializeMission() {
mission_name_mc = menu_mc.mission_name_mc;
min_many_txt = menu_mc.min_many_txt;
time_txt = menu_mc.time_txt;
mission_txt = menu_mc.mission_txt;
mission_name_mc.gotoAndStop(num_mission + 1);
min_many_txt.text = arMinMany[num_mission];
time_txt.text = arTimeLimit[num_mission];
mission_txt.text = arMissionText[num_mission];
missions_mc.gotoAndStop(num_mission + 1);
if (num_mission == end_mission) {
counter_mc._visible = false;
camera_mc._visible = false;
} else {
mission_name_mc.gotoAndStop(num_mission + 1);
min_many_txt.text = arMinMany[num_mission];
time_txt.text = arTimeLimit[num_mission];
mission_txt.text = arMissionText[num_mission];
missions_mc.gotoAndStop(num_mission + 1);
counter_mc.time_mc.gotoAndStop(1);
missions_mc._visible = true;
camera_mc._visible = true;
photo_1.pathMC._rotation = photo_1.startRotation;
photo_2.pathMC._rotation = -photo_2.startRotation;
photo_3.pathMC._rotation = photo_3.startRotation;
photo_4.pathMC._rotation = -photo_4.startRotation;
photo_5.pathMC._rotation = photo_5.startRotation;
photoValue = 0;
var _local1 = 0;
while (_local1 < arPhotos.length) {
arPhotos[_local1].pathMC._xscale = (arPhotos[_local1].pathMC._yscale = 70);
_local1++;
}
time_limit = arTimeLimit[num_mission];
_local1 = 0;
while (_local1 < num_photo) {
arPhotos[_local1].pathMC._x = arPhotos[_local1].startPositionX;
arPhotos[_local1].pathMC._y = arPhotos[_local1].startPositionY;
arPhotos[_local1].pathMC._visible = false;
_local1++;
}
}
}
function startMission() {
int_limit_track_mouse = setInterval(this, "limitTrackMouse", 1);
game_over = false;
mouse_click = 0;
time_game = 0;
var _local2 = 0;
while (_local2 < arPhotos.length) {
arPhotos[_local2].cost = 0;
_local2++;
}
hideHero(fon_mc);
hideHero(fon_foto_mc);
clearInterval(int_hero_visibility);
int_hero_visibility = setInterval(this, "heroVisibility", 1500);
clearInterval(int_time_limit);
int_time_limit = setInterval(timeLimit, 10);
}
function hideHero(clip) {
var _local3 = 0;
for (j in clip) {
var _local2 = typeof(clip[j]);
if ((_local2 == "movieclip") && (clip[j]._name.charAt(0) == "h")) {
_local3++;
clip[j]._visible = false;
}
}
num_hero = _local3;
return(num_hero);
}
function heroVisibility() {
r = random(num_hero) + 1;
i = 1;
while (i <= num_hero) {
fon_mc["hero_" + i]._visible = false;
fon_foto_mc["hero_" + i]._visible = false;
i++;
}
f = fon_mc["hero_" + r]._totalframes;
f1 = random(f) + 1;
fon_mc["hero_" + r].gotoAndStop(f1);
fon_foto_mc["hero_" + r].gotoAndStop(f1);
fon_mc["hero_" + r]._visible = true;
fon_foto_mc["hero_" + r]._visible = true;
if (f1 != 1) {
r++;
fon_mc["hero_" + r]._visible = true;
fon_foto_mc["hero_" + r]._visible = true;
}
}
function timeLimit() {
if (!game_over) {
time_game++;
counter_mc.arrow_mc._rotation = Math.ceil((time_game * 360) / (time_limit * 100));
if (Math.ceil((time_game * 360) / (time_limit * 100)) >= 290) {
counter_mc.time_mc.play();
}
if (time_game >= (time_limit * 100)) {
clearInterval(int_time_limit);
clearInterval(int_time_lose);
security_snd.play_sound();
int_time_lose = setInterval(stopMission, 1000, "baddy");
return(undefined);
}
}
}
function limitTrackMouse() {
if ((camera_mc._x - (mask_camera_mc._width / 2)) <= 10) {
camera_mc._x = mask_camera_mc._width / 2;
mask_camera_mc._x = mask_camera_mc._width / 2;
}
if ((camera_mc._x + (mask_camera_mc._width / 2)) > fon_mc._width) {
camera_mc._x = fon_mc._width - (mask_camera_mc._width / 2);
mask_camera_mc._x = fon_foto_mc._width - (mask_camera_mc._width / 2);
}
if ((camera_mc._y - (mask_camera_mc._height / 2)) <= 10) {
camera_mc._y = mask_camera_mc._height / 2;
mask_camera_mc._y = mask_camera_mc._height / 2;
}
if ((camera_mc._y + (mask_camera_mc._height / 2)) > fon_mc._height) {
camera_mc._y = fon_mc._height - (mask_camera_mc._height / 2);
mask_camera_mc._y = fon_foto_mc._height - (mask_camera_mc._height / 2);
}
if (fon_foto_mc._xscale <= 102) {
fon_foto_mc._xscale = (fon_foto_mc._yscale = 102);
}
if (fon_foto_mc._xscale > 120) {
fon_foto_mc._xscale = (fon_foto_mc._yscale = 120);
}
}
function takeShot(photo_num) {
camera_snd.play_sound();
var _local1 = [];
var _local3 = {};
var _local2 = 0;
name_photo = "photo_mc";
name_photo_path = arPhotos[photo_num].pathMC[name_photo].attachMovie([("fon_" + num_mission) + "_mc"], name_photo, arPhotos[photo_num].pathMC[name_photo].getNextHighestDepth());
arPhoto.push(arPhotos[photo_num].pathMC);
for (var _local11 in fon_mc) {
if (typeof(fon_mc[_local11]) == "movieclip") {
_local3 = {pctx:(fon_mc._x - camera_mc._x) * (fon_foto_mc._width / 555.5), pcty:(fon_mc._y - camera_mc._y) * (fon_foto_mc._height / 404), pctscale:fon_foto_mc._xscale, name_src_mc:fon_mc[_local11]._name, visible_src_mc:fon_mc[_local11]._visible, currentframe_src_mc:fon_mc[_local11]._currentframe};
if (fon_mc[_local11]._visible == true) {
_local3 = {visible_src_mc:fon_mc[_local11]._visible, currentframe_src_mc:fon_mc[_local11]._currentframe};
}
_local1.push(_local3);
}
}
for (var _local12 in name_photo_path) {
if (typeof(name_photo_path[_local12]) == "movieclip") {
_local2++;
name_photo_path._x = _local1[_local2 - 1].pctx;
name_photo_path._y = _local1[_local2 - 1].pcty;
name_photo_path._xscale = (name_photo_path._yscale = _local1[_local2 - 1].pctscale);
name_photo_path[_local12].stop();
if (name_photo_path[_local12]._name == _local1[_local2 - 1].name_src_mc) {
name_photo_path[_local12]._visible = _local1[_local2 - 1].visible_src_mc;
continue;
}
name_photo_path[_local12].gotoAndStop(_local1[_local2 - 1].currentframe_src_mc);
for (var _local5 in name_photo_path[_local12]) {
name_photo_path[_local12][_local5].stop();
}
}
}
checkingHero(arPhotos[photo_num]);
animationPhotoScale(arPhotos[photo_num], photo_num);
}
function animationPhotoScale(name_photo, photo_num) {
name_photo.pathMC._visible = true;
name_photo.animation_scale();
photo_num++;
if ((photo_num == num_photo) && (!game_over)) {
game_over = true;
photoAnimation("falling");
clearInterval(int_photo_position);
int_photo_position = setInterval(this, "photoAnimation", 2000, "endposition");
clearInterval(int_camera_sound);
int_camera_sound = setInterval(stopSound, 1000);
clearInterval(int_photo_cost);
int_photo_cost = setInterval(this, "photoAnimation", 5000, "cost");
clearInterval(int_end_photo_position);
int_end_photo_position = setInterval(this, "photoAnimation", 7000, "endcost");
clearInterval(int_show_magazine);
int_show_magazine = setInterval(this, "showMagazine", 9000);
}
}
function photoAnimation(param) {
var _local1 = 0;
while (_local1 < arPhotos.length) {
switch (param) {
case "falling" :
arPhotos[_local1].falling();
break;
case "endposition" :
clearInterval(int_photo_position);
missions_mc._visible = false;
arPhotos[_local1].end_position();
break;
case "cost" :
clearInterval(int_photo_cost);
photoCost(arPhotos[_local1], _local1);
break;
case "endcost" :
clearInterval(int_end_photo_position);
game_mc["price_txt_" + _local1].removeTextField();
arPhotos[_local1].falling();
}
_local1++;
}
}
function checkingHero(ob) {
i = 1;
while (i <= num_hero) {
if (mask_camera_mc.hitTest(fon_mc["hero_" + i]) && (fon_mc["hero_" + i]._visible == true)) {
if (fon_mc["hero_" + i]._currentframe == 1) {
detectCost(i, ob, num);
}
if (fon_mc["hero_" + i]._currentframe == 3) {
game_over = true;
security_snd.play_sound();
clearInterval(int_lose_security);
int_lose_security = setInterval(stopMission, 1000, "baddy");
return(undefined);
}
}
i++;
}
}
function detectCost(target, obj) {
var _local2 = arMissionBonuses[num_mission].split(",");
photo_name = fon_mc["hero_" + target];
obj1_mc = photo_name;
obj2_mc = mask_camera_mc;
minx1 = obj1_mc._x;
maxx1 = obj1_mc._x + obj1_mc._width;
miny1 = obj1_mc._y;
maxy1 = obj1_mc._y + obj1_mc._height;
minx2 = fon_mc._xmouse - (obj2_mc._width / 2);
maxx2 = fon_mc._xmouse + (obj2_mc._width / 2);
miny2 = fon_mc._ymouse - (obj2_mc._height / 2);
maxy2 = fon_mc._ymouse + (obj2_mc._height / 2);
if (obj2_mc.hitTest(obj1_mc) && (obj1_mc._visible == true)) {
photoValueX = Math.abs(100 - Math.abs(Math.abs(minx1) - Math.abs(minx2)));
photoValueY = Math.abs(100 - Math.abs(Math.abs(miny1) - Math.abs(miny2)));
photoValue = Math.ceil((photoValueX + photoValueY) / 2);
}
if (photoValue > 75) {
photoValue = Math.ceil(photoValue + ((arMaxMany[num_mission] / 4) * (num_mission + 1)));
}
var _local1 = 0;
while (_local1 <= _local2.length) {
if (obj1_mc._name == _local2[_local1]) {
photoValue = photoValue + costbonus;
}
_local1++;
}
if (photoValue >= arMaxMany[num_mission]) {
photoValue = arMaxMany[num_mission];
}
obj.cost = photoValue;
total_cost = total_cost + obj.cost;
}
function photoCost(ob, i) {
clearInterval(int_photo_cost);
var _local2 = [photo_1, photo_2, photo_3, photo_4, photo_5];
var _local6 = new TextFormat();
_local6.color = 16758784 /* 0xFFB800 */;
_local6.font = "Arial Black";
game_mc.createTextField("price_txt_" + i, game_mc.getNextHighestDepth(), ob.endPositionX - 20, ob.endPositionY - 75, 90, 20);
game_mc["price_txt_" + i].background = true;
game_mc["price_txt_" + i].backgroundColor = 16777164 /* 0xFFFFCC */;
game_mc["price_txt_" + i].text = (("$" + ob.cost) + "/$") + arMaxMany[num_mission];
game_mc["price_txt_" + i].setTextFormat(_local6);
var _local3 = {};
obmax = Math.max(photo_5.cost, Math.max(Math.max(photo_3.cost, photo_4.cost), Math.max(photo_1.cost, photo_2.cost)));
var _local1 = 0;
while (_local1 < _local2.length) {
if (_local2[_local1].cost == obmax) {
_local3 = _local2[_local1];
}
_local1++;
}
if (_local3.cost >= arMinMany[num_mission]) {
_local3.maxCost = true;
if (ob.pathMC._name == _local3.pathMC._name) {
ob.maxCost = true;
game_mc["price_txt_" + i].backgroundColor = 16724736 /* 0xFF3300 */;
}
}
}
function showMagazine() {
clearInterval(int_show_magazine);
var _local4 = [];
var _local5 = {};
var _local13 = false;
var _local2 = 0;
while (_local2 < arPhotos.length) {
if (arPhotos[_local2].maxCost == true) {
arPhotos[_local2].maxCost = false;
_local13 = true;
for (var _local16 in arPhotos[_local2].pathMC.photo_mc.photo_mc) {
if (typeof(arPhotos[_local2].pathMC.photo_mc.photo_mc[_local16]) == "movieclip") {
_local5 = {srcx:arPhotos[_local2].pathMC.photo_mc.photo_mc._x, srcy:arPhotos[_local2].pathMC.photo_mc.photo_mc._y, src_scale:arPhotos[_local2].pathMC.photo_mc.photo_mc._xscale, src_clip_name:arPhotos[_local2].pathMC.photo_mc.photo_mc[_local16]._name, src_clip_visible:arPhotos[_local2].pathMC.photo_mc.photo_mc[_local16]._visible, src_clip_currentframe:arPhotos[_local2].pathMC.photo_mc.photo_mc[_local16]._currentframe};
_local4.push(_local5);
trace((((((("1=" + _local5.srcx) + "=") + _local5.srcy) + "=") + _local5.src_clip_name) + "=") + _local5.src_clip_visible);
}
}
menu_mc.gotoAndStop(Magazine);
menu_mc.magazine_mc.gotoAndStop(num_mission + 1);
magazine_photo_mc = menu_mc.magazine_mc.foto_magazine_mc;
var _local8 = "photo_mc";
var _local1 = magazine_photo_mc.attachMovie([("fon_" + num_mission) + "_mc"], _local8, magazine_photo_mc[_local8].getNextHighestDepth());
_local1._visible = false;
_local1._xscale = (_local1._yscale = _local4[0].src_scale);
trace(_local1);
for (var _local15 in _local1) {
if (typeof(_local1[_local15]) == "movieclip") {
_local1[_local15].stop();
_local1[_local15]._visible = false;
for (var _local14 in _local1[_local15]) {
_local1[_local15][_local14].stop();
}
var _local3 = 0;
while (_local3 <= _local4.length) {
if (_local1[_local15]._name == _local4[_local3].src_clip_name) {
_local1[_local15]._visible = _local4[_local3].src_clip_visible;
_local1[_local15].gotoAndStop(_local4[_local3].src_clip_currentframe);
_local1._x = _local4[_local3].srcx;
_local1._y = _local4[_local3].srcy;
}
_local3++;
}
}
}
congratulations_snd.play_sound();
menu_mc._visible = true;
_local1._visible = true;
} else {
trace("sas");
trace(((_local2 + "==") + arPhotos.length) - 1);
trace(!_local13);
if ((_local2 == (arPhotos.length - 1)) && (!_local13)) {
trace((("--" + _local2) + "==") + (arPhotos.length - 1));
trace(arPhotos[_local2].cost);
num_mission = 0;
trace("num_mission_lose=" + num_mission);
removeMovieClip(arPhotos[_local2].pathMC.photo_mc.photo_mc);
clearInterval(int_load_result);
loseMision("cost");
}
}
removeMovieClip(arPhotos[_local2].pathMC.photo_mc.photo_mc);
_local2++;
}
}
function loseMision(param) {
clearInterval(int_load_result);
clearInterval(int_lose_photoCost);
clearInterval(int_lose_security);
clearInterval(int_baddy);
switch (param) {
case "cost" :
menu_mc._visible = true;
menu_mc.gotoAndStop(Lose);
break;
case "baddy" :
stopAllSounds();
menu_snd.fade_in();
menu_snd.cycle_sound();
menu_mc._visible = true;
menu_mc.gotoAndStop(Lose);
}
num_mission = 0;
buttonMenu();
}
function stopMission(param) {
game_over = true;
mouse_click = 0;
clearInterval(int_limit_track_mouse);
clearInterval(int_hero_visibility);
clearInterval(int_time_lose);
camera_mc._visible = false;
switch (param) {
case "win" :
break;
case "baddy" :
var _local1 = 0;
while (_local1 < arPhotos.length) {
removeMovieClip(arPhotos[_local1].pathMC.photo_mc.photo_mc);
_local1++;
}
clearInterval(int_lose_security);
clearInterval(int_time_lose);
stopAllSounds();
busted_snd.play_sound();
menu_mc._visible = true;
clearInterval(int_baddy);
int_baddy = setInterval(loseMision, 2000, "baddy");
menu_mc.gotoAndStop(Baddy);
num_mission = 0;
}
}
function stopSound() {
clearInterval(int_camera_sound);
stopAllSounds();
menu_snd.fade_in();
menu_snd.cycle_sound();
}
function endMission() {
animation_mc = missions_mc.mission_end_mc.animation_mc;
char_mc = animation_mc.char_mc;
eyes_mc = char_mc.eyes_mc;
eyes_mc._visible = false;
animation_mc.gotoAndStop(1);
char_mc.gotoAndStop(1);
quest_mc = missions_mc.mission_end_mc.text_mc.quest_mc;
question_txt = quest_mc.question_txt;
text_mc = missions_mc.mission_end_mc.text_mc;
text_mc._visible = true;
txt_1_mc = text_mc.txt_1_mc;
txt_2_mc = text_mc.txt_2_mc;
txt_3_mc = text_mc.txt_3_mc;
player_mc = text_mc.player_mc;
var num = 0;
quest_mc._visible = false;
txt_1_mc.answer_txt.text = arMissionTxt[num].player_1[0];
txt_2_mc._visible = false;
txt_3_mc._visible = false;
missions_mc._visible = true;
txt_1_mc.onRollOver = function () {
menu_click_snd.play_sound();
this.gotoAndStop("Focus");
};
txt_1_mc.onRollOut = function () {
this.gotoAndStop(1);
};
txt_1_mc.onRelease = function () {
menu_click_snd.play_sound();
if (arMissionTxt[num].player_1[1]) {
this.gotoAndStop("Correct");
num++;
int_correct = setInterval(loadDialog, 500, num);
} else {
this.gotoAndStop("Wrong");
int_wrong = setInterval(gameLose, 500, num);
}
};
txt_2_mc.onRollOver = function () {
menu_click_snd.play_sound();
this.gotoAndStop("Focus");
};
txt_2_mc.onRollOut = function () {
this.gotoAndStop(1);
};
txt_2_mc.onRelease = function () {
menu_click_snd.play_sound();
if (arMissionTxt[num].player_2[1]) {
this.gotoAndStop("Correct");
num++;
int_correct = setInterval(loadDialog, 500, num);
} else {
this.gotoAndStop("Wrong");
int_wrong = setInterval(gameLose, 500, num);
}
};
txt_3_mc.onRollOver = function () {
menu_click_snd.play_sound();
this.gotoAndStop("Focus");
};
txt_3_mc.onRollOut = function () {
this.gotoAndStop(1);
};
txt_3_mc.onRelease = function () {
menu_click_snd.play_sound();
if (arMissionTxt[num].player_3[1]) {
this.gotoAndStop("Correct");
num++;
int_correct = setInterval(loadDialog, 500, num);
} else {
this.gotoAndStop("Wrong");
int_wrong = setInterval(gameLose, 500, num);
}
};
blinkingEyes();
}
function loadDialog(num) {
clearInterval(int_wrong);
clearInterval(int_correct);
if (num == 4) {
stopAllSounds();
club_snd.fade_in();
club_snd.cycle_sound();
animation_mc.gotoAndStop(2);
blinkingEyes();
}
if (num == 7) {
text_mc._visible = false;
char_mc.gotoAndPlay(3);
camera_sound_num = 0;
clearInterval(int_camera_sound);
int_camera_sound = setInterval(cameraSound, 1000, camera_sound_num);
int_end_win_animation = setInterval(endWin, 4300);
}
animationAppearance();
txt_1_mc.gotoAndStop(1);
txt_2_mc.gotoAndStop(1);
txt_3_mc.gotoAndStop(1);
quest_mc._visible = true;
txt_2_mc._visible = true;
txt_3_mc._visible = true;
question_txt.text = arMissionTxt[num - 1].correct;
txt_1_mc.answer_txt.text = arMissionTxt[num].player_1[0];
txt_2_mc.answer_txt.text = arMissionTxt[num].player_2[0];
txt_3_mc.answer_txt.text = arMissionTxt[num].player_3[0];
}
function endWin() {
num_mission = 0;
clearInterval(int_end_win_animation);
animation_mc.gotoAndStop(1);
menu_mc._visible = true;
int_end_magazin = setInterval(endMagazin, 3500);
menu_mc.gotoAndStop(Magazine);
menu_mc.magazine_mc.gotoAndStop(5);
menu_mc.play_btn._visible = false;
menu_mc.next_level_mc._visible = false;
}
function endMagazin() {
clearInterval(int_end_magazin);
menu_mc.magazine_mc.gotoAndStop(1);
menu_mc.play_btn._visible = true;
menu_mc.next_level_mc._visible = true;
menu_mc.gotoAndStop(Money);
time_money = 0;
menu_mc.onEnterFrame = function () {
time_money++;
if (time_money >= 45) {
trace("!!");
this.gotoAndStop(Win);
score_txt = this.score_txt;
score_txt.text = 100000 + total_cost;
buttonMenu();
delete this.onEnterFrame;
}
};
}
function initConfitti(i) {
this.attachMovie("confitti_mc", i, this.getNextHighestDepth(), {_y:-10, _x:random(55) * 10});
this[i].gotoAndStop(random(this[i]._totalframes) + 1);
this[i]._xscale = (this[i]._yscale = random(100) + 100);
this[i].onEnterFrame = function () {
this._y = this._y + random(50);
if (random(2) == 0) {
this._x = this._x + random(10);
} else {
this._x = this._x - random(10);
}
if (this._y > 400) {
removeMovieClip(this);
delete this.onEnterFrame;
}
};
}
function gameLose(num) {
clearInterval(int_wrong);
clearInterval(int_correct);
clearInterval(int_end_mission_lose);
int_end_mission_lose = setInterval(showLoseMenu, 3000);
txt_1_mc._visible = false;
txt_2_mc._visible = false;
txt_3_mc._visible = false;
player_mc._visible = false;
question_txt.text = arMissionTxt[num].wrong;
char_mc.gotoAndStop(2);
}
function showLoseMenu() {
clearInterval(int_end_mission_lose);
stopAllSounds();
menu_snd.fade_in();
menu_snd.cycle_sound();
menu_mc._visible = true;
menu_mc.gotoAndStop(Lose);
num_mission = 0;
initializeMission();
buttonMenu();
}
function cameraSound(num) {
camera_snd.play_sound();
num = camera_sound_num++;
if (camera_sound_num >= 4) {
var i = 0;
game_mc.onEnterFrame = function () {
i++;
if (i <= 200) {
initConfitti(i);
} else {
i = 0;
delete this.onEnterFrame;
}
};
congratulations_snd.play_sound();
clearInterval(int_camera_sound);
return(undefined);
}
}
function animationAppearance() {
text_mc._alpha = 0;
txt_1_mc.answer_txt._visible = false;
txt_2_mc.answer_txt._visible = false;
txt_3_mc.answer_txt._visible = false;
question_txt._visible = false;
text_mc.onEnterFrame = function () {
this._alpha = this._alpha + 10;
if (this._alpha >= 100) {
this._alpha = 100;
txt_1_mc.answer_txt._visible = true;
txt_2_mc.answer_txt._visible = true;
txt_3_mc.answer_txt._visible = true;
question_txt._visible = true;
delete this.onEnterFrame;
return(undefined);
}
};
}
function blinkingEyes() {
var time = 0;
eyes_mc._visible = false;
eyes_mc.onEnterFrame = function () {
time++;
if (time >= 60) {
param = random(1);
if (param == 0) {
this._visible = true;
}
if (time >= 65) {
this._visible = false;
time = 0;
}
}
};
}
function soundMission() {
if (soundOn) {
switch (num_mission) {
case 0 :
stopAllSounds();
pool_snd.fade_in();
pool_snd.cycle_sound();
return;
case 1 :
stopAllSounds();
beach_snd.fade_in();
beach_snd.cycle_sound();
return;
case 2 :
stopAllSounds();
club_snd.fade_in();
club_snd.cycle_sound();
return;
case 3 :
stopAllSounds();
beach_snd.fade_in();
beach_snd.cycle_sound();
return;
case 4 :
stopAllSounds();
pool_snd.fade_in();
pool_snd.cycle_sound();
}
}
}
stop();
var soundOn = true;
var num_mission = 0;
var end_mission = 4;
var num_photo = 5;
var game_over = false;
var time_game = 0;
var time_limit = 0;
var mouse_click = 0;
var lose = false;
var costbonus = 100;
var total_cost = 0;
var arPhotoCost = [];
var obPhotoCost = {};
var Start = 1;
var Help = 6;
var Win = 12;
var Lose = 18;
var Missions = 24;
var Magazine = 31;
var Money = 38;
var ErrorLoad = 45;
var Baddy = 53;
game_mc = this;
menu_mc = game_mc.menu_mc;
missions_mc = game_mc.missions_mc;
counter_mc = missions_mc.counter_mc;
camera_mc = missions_mc.camera_mc;
mask_camera_mc = missions_mc.mask_camera_mc;
fon_foto_mc = missions_mc.fon_foto_mc;
fon_mc = missions_mc.fon_mc;
play_btn = menu_mc.play_btn;
magazine_mc = menu_mc.magazine_mc;
var arTimeLimit = [60, 50, 40, 30, "no"];
var arMinMany = [200, 300, 400, 500, "100k"];
var arMaxMany = [500, 500, 500, 1000];
var arMissionText = ["Head over to the Hollywood Hotel pool where Vanessa has been spotted sunbathing. Your mission is to get compromising pictures of her any way possible.", "Vanessa has just been sighted at Malibu Beach. Get some seamy pictures of Vanessa sunbathing at the beach.", "Vanessa is at the Hollywood nightclub! Take some hot picture of Vanessa partying hard in Hollywood. Bonus points for catching a panty shot!", "Vanessa has just been sighted at the airport headed for Mexico. Follow her to Mexico to get more steamy pics of the little starlet. Bonus points for getting a topless shot of Vanessa on the liberal beach in Mexico.", "You have to make it to room of Vanessa and convince her to let you take naked pictures of her just for your own personal portfolio. If you can get her to agree you are in the money and can retire from Paparazzi duties for a while."];
var arMissionBonuses = ["", "", "hero_3,hero_4", "hero_2,hero_4,hero_5", ""];
Photos = function () {
this.startPositionX = 60;
this.startPositionY = 60;
this.endPositionX = 140;
this.endPositionY = 120;
this.pathMC = game_mc.photo_1_mc;
this.cost = 0;
this.maxCost = false;
this.startRotation = 10;
this.endRotation = 0;
this.pathMC._xscale = (this.pathMC._yscale = 70);
this.int_time_falling = "int_time_falling";
this.falling_time = 100;
this.speed = 10;
};
Photos.prototype.animation_scale = function () {
this.pathMC.onEnterFrame = function (ob) {
if (this._xscale < 130) {
this.xyScale(10);
} else {
this._xscale = (this._yscale = 100);
delete this.onEnterFrame;
}
};
};
Photos.prototype.falling = function () {
function timeFalling(ob) {
clearInterval(ob.int_time_falling);
ob.pathMC.onEnterFrame = function () {
this._y = this._y + 30;
if (this._y >= 500) {
delete this.onEnterFrame;
return(undefined);
}
};
}
clearInterval(this.int_time_falling);
this.int_time_falling = setInterval(timeFalling, this.falling_time, this);
};
Photos.prototype.end_position = function () {
function timeFalling(ob) {
clearInterval(ob.int_time_falling);
fallingPhoto(ob, ob.endPositionX, ob.endPositionY);
}
function fallingPhoto(ob, endPositionX, endPositionY) {
ob.pathMC.onEnterFrame = function () {
this._y = this._y - 25;
this._x = this._x - 25;
if ((this._x <= endPositionX) || (this._y <= endPositionY)) {
this._x = endPositionX;
if (this._y <= endPositionY) {
this._y = endPositionY;
delete this.onEnterFrame;
return(undefined);
}
}
};
}
this.pathMC.xyScale(50);
this.pathMC._rotation = this.endRotation;
clearInterval(this.int_time_falling);
this.int_time_falling = setInterval(timeFalling, this.falling_time * 5, this);
};
photo_1 = new Photos();
photo_1.pathMC._rotation = photo_1.startRotation;
photo_2 = new Photos();
photo_2.startPositionX = 160;
photo_2.endPositionX = 270;
photo_2.falling_time = 200;
photo_2.pathMC = game_mc.photo_2_mc;
photo_2.pathMC._rotation = -photo_1.startRotation;
photo_3 = new Photos();
photo_3.startPositionX = 260;
photo_3.endPositionX = 400;
photo_3.falling_time = 300;
photo_3.pathMC = game_mc.photo_3_mc;
photo_3.pathMC._rotation = photo_1.startRotation;
photo_4 = new Photos();
photo_4.startPositionX = 360;
photo_4.endPositionX = 190;
photo_4.endPositionY = 300;
photo_4.falling_time = 400;
photo_4.pathMC = game_mc.photo_4_mc;
photo_4.pathMC._rotation = -photo_1.startRotation;
photo_5 = new Photos();
photo_5.startPositionX = 460;
photo_5.endPositionX = 360;
photo_5.endPositionY = 300;
photo_5.falling_time = 500;
photo_5.pathMC = game_mc.photo_5_mc;
photo_5.pathMC._rotation = photo_1.startRotation;
var arPhotos = [photo_1, photo_2, photo_3, photo_4, photo_5];
MovieClip.prototype.xyScale = function (delta) {
this._xscale = (this._yscale = this._yscale + delta);
return(undefined);
};
MovieClip.prototype.trackMouse = function () {
this._x = _xmouse;
this._y = _ymouse;
return(undefined);
};
game_mc._visible = false;
int_visible_game = setInterval(showMenu, 30);
buttonMenu();
var lstMouse = new Object();
Mouse.addListener(lstMouse);
Dialog = function () {
this.player_1 = [];
this.player_2 = [];
this.player_3 = [];
this.correct;
this.wrong;
};
dialog_0 = new Dialog();
dialog_0.player_1 = ["Hi Vanessa \u2013you look great today!", true];
dialog_0.correct = "Hello there stranger with a camera!";
dialog_1 = new Dialog();
dialog_1.player_1 = ["Can I get your phone number?", false];
dialog_1.player_2 = ["Hey, I really like your shoes!", true];
dialog_1.player_3 = ["Can you show me the quickest way to your apartment?", false];
dialog_1.correct = "Oh really, you like them? I just bought them this afternoon!";
dialog_1.wrong = "What a creep! Tony, come toss out this trash!";
dialog_2 = new Dialog();
dialog_2.player_1 = ["Let me photograph you in your brand new shoes.", true];
dialog_2.player_2 = ["Let\u2019s go play patty cake in your hotel room.", false];
dialog_2.player_3 = ["Let\u2019s make \u2019\u2019Hotel Room Musical\u2019\u2019 together.", flash];
dialog_2.correct = "What a great idea, lets go up to my room where it is more private!";
dialog_2.wrong = "What a creep! Tony, come toss out this trash!";
dialog_3 = new Dialog();
dialog_3.player_1 = ["Where\u2019s the mini-bar around here?", false];
dialog_3.player_2 = ["Have you ever dated a photographer?", false];
dialog_3.player_3 = ["Now lets take some shots for Starbabes Magazine.", true];
dialog_3.correct = "What a great idea where shall I pose for the photos?";
dialog_3.wrong = "That\u2019s it, you are out of here monkey boy \u2013 be gone!";
dialog_4 = new Dialog();
dialog_4.player_1 = ["Hey where\u2019s your laptop? Let\u2019s play some addictinggames.com.", false];
dialog_4.player_2 = ["Why don\u2019t you get more comfortable?", true];
dialog_4.player_3 = ["Do you have a boyfriend?", false];
dialog_4.correct = "What a good idea \u2013 I love getting more comfortable with strange boys I just met in the hotel! This is fun!";
dialog_4.wrong = "You are just like everyone else -Get out of here!";
dialog_5 = new Dialog();
dialog_5.player_1 = ["Vanessa darling, let\u2019s be free to be you and me!", false];
dialog_5.player_2 = ["You have something green in your teeth.", false];
dialog_5.player_3 = ["I REALLY LOVE YOUR SHOES!", true];
dialog_5.correct = "OMG-I just love these shoes too, aren\u2019t they gorgeous!";
dialog_5.wrong = "Time for you to go now! Beat it!";
dialog_6 = new Dialog();
dialog_6.player_1 = ["Let me see how well your shoes photograph?", true];
dialog_6.player_2 = ["Is it hot in here or is it just you?", false];
dialog_6.player_3 = ["Do you wanna party back at my house?", false];
dialog_6.correct = "Oh Yes, here are my shoes, Do you really like them?";
dialog_6.wrong = "What a naughty boy you are \u2013now get lost!";
arMissionTxt = [dialog_0, dialog_1, dialog_2, dialog_3, dialog_4, dialog_5, dialog_6];
Sound.prototype.attach_sound = function (lib_name) {
this.attachSound(lib_name);
this.setVolume(0);
return(undefined);
};
Sound.prototype.play_sound = function () {
if (soundOn) {
this.setVolume(100);
this.start();
}
};
Sound.prototype.fade_in = function () {
function fadeSound(ob) {
if (ob.getVolume() < 100) {
vol++;
ob.setVolume(vol);
} else {
ob.setVolume(100);
clearInterval(int_fade_in);
return(undefined);
}
}
if (soundOn) {
this.start();
var vol = 0;
this.setVolume(vol);
int_fade_in = setInterval(fadeSound, 10, this);
}
};
Sound.prototype.cycle_sound = function () {
function cycleSound(ob) {
if (ob.duration == ob.position) {
ob.start();
ob.setVolume(100);
}
}
clearInterval(int_cycle_sound);
ob.setVolume(100);
int_cycle_sound = setInterval(cycleSound, 30, this);
};
var menu_snd = new Sound();
var beach_snd = new Sound();
var club_snd = new Sound();
var pool_snd = new Sound();
var busted_snd = new Sound();
var congratulations_snd = new Sound();
var security_snd = new Sound();
var camera_snd = new Sound();
var menu_click_snd = new Sound();
beach_snd.attach_sound("beach");
club_snd.attach_sound("club");
pool_snd.attach_sound("pool");
busted_snd.attach_sound("busted");
camera_snd.attach_sound("camera");
menu_click_snd.attach_sound("menu_click");
congratulations_snd.attach_sound("congratulations");
security_snd.attach_sound("security");
menu_snd.attach_sound("menu");
Symbol 390 Button
on (release) {
getURL ("http://www.sexflash.pp.ua", "_blank");
}
Symbol 391 MovieClip Frame 1
function switchTitle() {
if (_parent.switch_title) {
play();
clearInterval(int_switch_title);
}
}
stop();
this.int_switch_title = setInterval(this, "switchTitle", 30);
Symbol 391 MovieClip Frame 103
function Go() {
_visible = false;
_parent.visible_game = true;
clearInterval(fight_int);
this.unloadMovie();
}
stop();
fight_int = setInterval(Go, 3000);
Symbol 407 MovieClip Frame 1
function LOGO_IN() {
var _local4 = new mx.transitions.Tween(AGlogo_mc, "_y", mx.transitions.easing.Strong.easeIn, -75, 85, 12, false);
_local4.onMotionFinished = function () {
LOGO_SMASH();
var _local2 = new mx.transitions.Tween(AGlogo_mc, "_y", mx.transitions.easing.Bounce.easeOut, 60, 85, 6, false);
var _local1 = new mx.transitions.Tween(AGlogo_mc, "_x", mx.transitions.easing.Bounce.easeOut, 30, 50, 6, false);
var _local3 = new mx.transitions.Tween(AGpresented_mc, "_y", mx.transitions.easing.Bounce.easeOut, 15, 25, 6, false);
var _local4 = new mx.transitions.Tween(AGpresented_mc, "_x", mx.transitions.easing.Bounce.easeOut, 110, 100, 6, false);
};
}
function LOGO_SMASH() {
AG_SMASH.start();
AGclick_btn._visible = true;
}
function AG_HOLD_COUNTER() {
if (AG_COUNT == AG_TIME) {
clearInterval(AG_HOLD_ID);
_parent.switch_title = true;
_level0.START_ping.broadcastMessage("presented");
this.unloadMovie();
} else {
AG_COUNT++;
}
}
_parent.stop();
var AG_SMASH = new Sound();
AG_SMASH.attachSound("Smash");
AG_SMASH.setVolume(100);
var AG_COUNT = 0;
var AG_TIME = 0;
var AG_HOLD_ID;
AG_HOLD_ID = setInterval(this, "AG_HOLD_COUNTER", 1000);
AGpresented_mc._alpha = 0;
AGclick_btn._visible = false;
AGlogo_mc._y = -70;
var AGpresented_IN = (new mx.transitions.Tween(AGpresented_mc, "_alpha", mx.transitions.easing.Strong.easeIn, 0, 100, 12, false));
AGpresented_IN.onMotionFinished = function () {
LOGO_IN();
};
AGskip_btn.onRelease = function () {
AG_COUNT = AG_TIME;
AG_HOLD_COUNTER();
};
Symbol 419 MovieClip Frame 1
stop();