Combined Code
frame 1 {
function rightclick() {
getURL('http://www.dressupgames8.com', '_blank');
}
function cargando() {
var v2;
var v3;
var v4;
v2 = _root.getBytesTotal();
v3 = _root.getBytesLoaded();
v4 = Math.floor(v3 * 100 / v2);
barra_mc.gotoAndStop(v4);
txt.text = String(v4) + '%';
if (v3 == v2) {
clearInterval(hiloPrecarga);
barra_mc._visible = false;
gotoAndPlay(2);
}
}
stop();
loaderbgFunc = function () {
Sound1 = new Sound(this);
Sound1.attachSound('loaderbg');
Sound1.start(0, 4);
};
var fmm01_menu = new ContextMenu();
fmm01_menu.hideBuiltInItems();
_root.menu = fmm01_menu;
var item = new ContextMenuItem('Powered by www.dressupgames8.com', rightclick);
fmm01_menu.customItems[0] = item;
var hiloPrecarga = setInterval(cargando, 1);
}
movieClip 5 {
}
movieClip 7 {
}
movieClip 9 {
}
movieClip 11 {
}
movieClip 13 {
}
movieClip 15 {
}
movieClip 16 {
}
movieClip 17 {
}
movieClip 18 {
}
movieClip 19 {
}
movieClip 20 {
}
movieClip 21 {
}
movieClip 23 {
}
movieClip 25 {
}
movieClip 27 {
}
movieClip 28 {
}
movieClip 30 {
}
movieClip 32 {
}
movieClip 37 {
}
movieClip 40 {
}
// unknown tag 88 length 81
movieClip 46 {
}
movieClip 49 {
}
movieClip 52 {
}
movieClip 55 {
}
movieClip 57 {
}
movieClip 60 {
}
movieClip 62 {
}
movieClip 65 {
}
movieClip 68 {
}
movieClip 70 {
}
movieClip 73 {
}
movieClip 76 {
}
movieClip 79 {
}
movieClip 82 {
}
movieClip 84 {
}
movieClip 86 {
}
movieClip 88 {
}
movieClip 90 {
}
movieClip 92 {
}
movieClip 94 {
}
movieClip 97 {
}
movieClip 99 {
}
movieClip 101 {
frame 1 {
stop();
}
}
button 103 {
on (release) {
getURL('http://www.dressupgames8.com', '_blank');
}
}
movieClip 482 __Packages.SoundManager {
#initclip
if (!_global.SoundManager) {
var v1 = function () {};
_global.SoundManager = v1;
var v2 = v1.prototype;
v1.changeState = function () {
SoundManager.soundOn = !SoundManager.soundOn;
if (SoundManager.soundOn) {
SoundManager.sounds.volumiser.setVolume(100);
return 'Sound ON';
} else {
SoundManager.sounds.volumiser.setVolume(0);
return 'Sound OFF';
}
};
v1.init = function () {
SoundManager.sounds.volumiser = new Sound();
SoundManager.sounds.wak = new Sound();
SoundManager.sounds.wak.attachSound('hit');
SoundManager.sounds.swing = new Sound();
SoundManager.sounds.swing.attachSound('swing');
};
v1.wak = function () {
SoundManager.sounds.wak.start(0.17);
};
v1.swing = function () {
if (SoundManager.sounds.swing.position == 0 || SoundManager.sounds.swing.position == SoundManager.sounds.swing.duration) {
SoundManager.sounds.swing.start();
}
};
v1.musicOn = function () {
var v2 = _root.createEmptyMovieClip('music', 997);
SoundManager.musicSound = new Sound(v2);
SoundManager.musicSound.attachSound('music');
SoundManager.musicSound.start(0, 99999);
};
v1.setMusicLow = function () {
SoundManager.musicSound.setVolume(65);
};
v1.setMusicHigh = function () {
SoundManager.musicSound.setVolume(100);
};
v1.sounds = new Object();
v1.soundOn = true;
v1.musicSound = null;
ASSetPropFlags(_global.SoundManager.prototype, null, 1);
}
#endinitclip
}
movieClip 483 __Packages.Console {
#initclip
if (!_global.Console) {
var v1 = function () {
super();
};
_global.Console = v1;
_global.Console extends MovieClip;
var v2 = v1.prototype;
v2.reset = function () {
var v2 = this;
v2.fastestScore = 0;
v2.latestScore = 0;
v2.displayScores();
v2.setSpeed(0);
};
v2.displayScores = function () {
var v2 = this;
v2.fastest_txt.text = v2.fastestScore;
v2.latest_txt.text = v2.latestScore;
};
v2.setSpeed = function (speed) {
var v2 = this;
var v3 = speed;
if (v3 > v2.maxSpeed) {
v3 = v2.maxSpeed;
}
v2.pointer_mc._rotation = v3 * 250 / v2.maxSpeed;
};
v2.setWakSpeed = function (speed) {
var v2 = this;
var v3 = speed;
v2.latestScore = Math.round(v3);
if (v2.fastestScore < v3) {
v2.fastestScore = Math.round(v3);
}
v2.displayScores();
v2.setSpeed(v3);
};
v2.getMaxSpeed = function () {
return this.maxSpeed;
};
v2.fastestScore = 0;
v2.latestScore = 0;
v2.maxSpeed = 500;
ASSetPropFlags(_global.Console.prototype, null, 1);
}
#endinitclip
}
movieClip 484 __Packages.Hand {
#initclip
if (!_global.Hand) {
var v1 = function () {
super();
var v3 = this;
v3.startx = v3._x;
v3.starty = v3._y;
v3.setFrame();
};
_global.Hand = v1;
_global.Hand extends MovieClip;
var v2 = v1.prototype;
v2.show = function () {
var v2 = this;
v2._x = v2.startx;
v2._y = v2.starty;
v2.setFrame();
v2._visible = true;
};
v2.hide = function () {
this._visible = false;
};
v2.onPress = function () {
var v2 = this;
v2.dragging = true;
v2._x = v2._parent._xmouse;
v2.oldx = v2._x;
v2._y = v2._parent._ymouse;
v2.oldy = v2._y;
v2.oldt = getTimer();
};
v2.onRelease = function () {
var v2 = this;
v2.dragging = false;
v2._x = Math.min(Math.max(v2._x, -350), 350);
v2._y = Math.min(Math.max(v2._y, -175), 175);
};
v2.onEnterFrame = function () {
var v2 = this;
if (v2.dragging) {
v2._x = v2._parent._xmouse;
var v6 = v2._x;
v2._y = v2._parent._ymouse;
var v5 = v2._y;
var v4 = getTimer();
var v3 = 33 * Math.sqrt(Math.pow(v6 - v2.oldx, 2) + Math.pow(v5 - v2.oldy, 2)) / (v4 - v2.oldt);
v2.oldx = v6;
v2.oldy = v5;
v2.oldt = v4;
v2.setFrame();
v2._parent.console_mc.setSpeed(v3);
if (v3 > 100) {
SoundManager.swing();
}
if (v2.hitTest(v2._parent.hitarea_mc)) {
v2.onRelease();
v2._parent.wak(v3);
}
}
};
v2.setFrame = function () {
var v2 = 0;
this.gotoAndStop(v2);
};
v2.dragging = false;
v2.oldx = 0;
v2.oldy = 0;
v2.oldt = 0;
ASSetPropFlags(_global.Hand.prototype, null, 1);
}
#endinitclip
}
movieClip 485 __Packages.Score {
#initclip
if (!_global.Score) {
var v1 = function () {
super();
};
_global.Score = v1;
_global.Score extends MovieClip;
var v2 = v1.prototype;
v2.hide = function () {
this._visible = false;
};
v2.show = function () {
var v2 = this;
v2.speed_mc.score_txt.text = ScoreKeeper.getLatestScore();
v2._visible = true;
v2.gotoAndPlay('start');
};
ASSetPropFlags(_global.Score.prototype, null, 1);
}
#endinitclip
}
movieClip 486 __Packages.ScoreKeeper {
#initclip
if (!_global.ScoreKeeper) {
var v1 = function () {};
_global.ScoreKeeper = v1;
var v2 = v1.prototype;
v1.reset = function () {
ScoreKeeper.numScores = 0;
ScoreKeeper.totalScores = 0;
ScoreKeeper.latestScore = 0;
};
v1.addScore = function (score) {
ScoreKeeper.totalScores += score;
ScoreKeeper.latestScore = score;
};
v1.getNumScores = function () {
return ScoreKeeper.numScores;
};
v1.getLatestScore = function () {
return Math.round(ScoreKeeper.latestScore);
};
v1.getAverageScore = function () {
if (ScoreKeeper.numScores == 0) {
return 0;
}
return Math.round(ScoreKeeper.totalScores / ScoreKeeper.numScores);
};
v1.totalScores = 0;
v1.numScores = 0;
v1.latestScore = 0;
ASSetPropFlags(_global.ScoreKeeper.prototype, null, 1);
}
#endinitclip
}
movieClip 487 __Packages.Game {
#initclip
if (!_global.Game) {
var v1 = function () {
super();
ScoreKeeper.reset();
};
_global.Game = v1;
_global.Game extends MovieClip;
var v2 = v1.prototype;
v2.start = function () {
var v2 = this;
v2.console_mc.setSpeed(0);
v2.hand_mc.show();
v2.score_mc.hide();
};
v2.wak = function (speed) {
var v2 = this;
var v3 = speed;
v2.hand_mc.hide();
v2.console_mc.setWakSpeed(v3);
ScoreKeeper.addScore(v3);
var v5 = v2.console_mc.getMaxSpeed();
var v4 = Math.max(Math.min(Math.ceil(3 * v3 / v5), 3), 1);
if (v4 > 1) {
SoundManager.wak();
}
v2.bottom_mc.wak(v4);
};
v2.end = function () {
if (ScoreKeeper.getNumScores() >= 3) {
this._parent.gotoAndStop('endgame');
} else {
this.start();
}
};
ASSetPropFlags(_global.Game.prototype, null, 1);
}
#endinitclip
}
movieClip 488 __Packages.Bottom {
#initclip
if (!_global.Bottom) {
var v1 = function () {
super();
};
_global.Bottom = v1;
_global.Bottom extends MovieClip;
var v2 = v1.prototype;
v2.wak = function (level) {
var v2 = this;
switch (level) {
v2.gotoAndStop('wakMed');
return undefined;
case 1:
v2.gotoAndStop('wakSoft');
return undefined;
case 3:
v2.gotoAndStop('wakHard');
return undefined;
}
v2.gotoAndStop('wakMed');
return undefined;
};
v2.wobbleDone = function () {
this._parent.score_mc.show();
};
v2.end = function () {
this.gotoAndStop('still');
this._parent.end();
};
ASSetPropFlags(_global.Bottom.prototype, null, 1);
}
#endinitclip
}
frame 4 {
loaderbgFunc();
}
movieClip 108 {
}
movieClip 109 {
}
movieClip 112 {
}
movieClip 115 {
}
movieClip 116 {
}
movieClip 119 {
}
movieClip 121 {
}
movieClip 124 {
}
movieClip 126 {
}
movieClip 128 {
}
movieClip 131 {
}
movieClip 133 {
}
movieClip 136 {
}
movieClip 139 {
}
movieClip 142 {
}
movieClip 144 {
}
movieClip 146 {
}
movieClip 148 {
}
movieClip 150 {
}
movieClip 152 {
}
movieClip 154 {
}
movieClip 156 {
}
movieClip 157 {
}
movieClip 159 {
}
movieClip 162 {
}
movieClip 164 {
}
movieClip 167 {
}
movieClip 170 {
}
movieClip 173 {
}
movieClip 176 {
}
movieClip 179 {
}
movieClip 181 {
}
movieClip 184 {
}
movieClip 186 {
}
movieClip 189 {
}
movieClip 191 {
}
movieClip 192 {
}
movieClip 194 {
}
movieClip 195 {
}
movieClip 197 {
}
movieClip 198 {
}
movieClip 201 {
}
movieClip 203 {
}
movieClip 206 {
}
movieClip 208 {
}
movieClip 211 {
}
movieClip 214 {
}
movieClip 217 {
}
movieClip 220 {
}
movieClip 223 {
}
movieClip 226 {
}
movieClip 230 {
}
movieClip 232 {
}
movieClip 235 {
}
movieClip 238 {
}
movieClip 240 {
}
movieClip 242 {
}
movieClip 243 {
}
movieClip 245 {
}
movieClip 246 {
}
movieClip 248 {
}
movieClip 251 {
}
movieClip 253 {
}
movieClip 254 {
}
movieClip 256 {
}
movieClip 259 {
}
movieClip 262 {
}
movieClip 265 {
}
movieClip 268 {
}
movieClip 270 {
}
movieClip 272 {
}
movieClip 275 {
}
movieClip 278 {
}
movieClip 279 {
}
movieClip 282 {
}
movieClip 285 {
}
movieClip 288 {
}
movieClip 290 {
}
movieClip 293 {
}
movieClip 296 {
}
movieClip 298 {
}
movieClip 301 {
}
movieClip 304 {
}
movieClip 306 {
}
movieClip 309 {
}
movieClip 311 {
}
movieClip 313 {
}
movieClip 316 {
}
movieClip 318 {
}
movieClip 319 {
}
movieClip 321 {
}
movieClip 325 {
}
movieClip 327 {
}
movieClip 329 {
}
movieClip 331 {
}
movieClip 332 {
}
movieClip 333 {
}
movieClip 335 {
}
movieClip 339 {
}
movieClip 340 {
}
movieClip 342 {
}
movieClip 344 {
}
movieClip 345 {
}
movieClip 346 {
}
movieClip 348 {
}
movieClip 352 {
}
movieClip 354 {
}
movieClip 356 {
}
movieClip 358 {
}
movieClip 359 {
}
movieClip 360 {
}
movieClip 362 {
}
frame 212 {
stop();
}
button 371 {
on (release) {
getURL('http://www.dressupgames8.com/dora', '_blank');
}
}
button 372 {
on (release) {
getURL('http://baby-games.dressupgames8.com/', '_blank');
}
}
button 373 {
on (release) {
getURL('http://www.dressupgames8.com/hair', '_blank');
}
}
button 374 {
on (release) {
getURL('http://www.dressupgames8.com/nail', '_blank');
}
}
button 376 {
on (release) {
getURL('http://www.dressupgames8.com/flashgames/girls-dress-up', '_blank');
}
}
movieClip 377 {
}
button 378 {
on (release) {
getURL('http://www.dressupgames8.com/flashgames/cooking-games', '_blank');
}
}
button 379 {
on (release) {
getURL('http://www.dressupgames8.com', '_blank');
}
}
button 380 {
on (release) {
stopAllSounds();
gotoAndStop('preloader');
}
}
frame 213 {
stop();
}
movieClip 383 {
}
movieClip 387 {
}
movieClip 389 {
}
// unknown tag 88 length 302
button 396 {
on (release) {
gotoAndStop('playgame');
}
}
button 400 {
on (release) {
getURL('http://www.dressupgames8.com', '_blank');
}
}
button 405 {
on (release) {
gotoAndStop('instructions');
}
}
button 407 {
on (release) {
getURL('http://www.dressupgames8.com', '_blank');
}
}
movieClip 413 {
frame 1 {
stop();
}
}
frame 215 {
SoundManager.init();
SoundManager.musicOn();
stop();
}
button 421 {
on (release) {
getURL('http://www.dressupgames8.com', '_blank');
}
}
frame 218 {
var l1 = 1;
var l2 = 1;
var l3 = 1;
var l4 = 1;
var l5 = 1;
}
button 425 {
on (press) {
gotoAndStop('playing');
this._root.mbv.hand_mc.gotoAndStop(1);
}
}
button 429 {
on (press) {
gotoAndStop('playing');
this._root.mbv.hand_mc.gotoAndStop(2);
}
}
button 433 {
on (press) {
gotoAndStop('playing');
this._root.mbv.hand_mc.gotoAndStop(3);
}
}
button 437 {
on (press) {
gotoAndStop('playing');
this._root.mbv.hand_mc.gotoAndStop(4);
}
}
button 441 {
on (press) {
gotoAndStop('playing');
this._root.mbv.hand_mc.gotoAndStop(5);
}
}
movieClip 443 {
}
movieClip 444 {
}
movieClip 446 {
}
movieClip 447 {
}
movieClip 449 {
frame 65 {
stop();
this._parent.wobbleDone();
}
}
movieClip 450 {
frame 105 {
stop();
this._parent.wobbleDone();
}
}
movieClip 451 {
frame 152 {
stop();
this._parent.wobbleDone();
}
}
movieClip 452 bottom {
#initclip
Object.registerClass('bottom', Bottom);
#endinitclip
frame 1 {
stop();
}
}
movieClip 455 {
}
movieClip 459 console {
#initclip
Object.registerClass('console', Console);
#endinitclip
frame 1 {
stop();
}
}
movieClip 461 {
}
movieClip 467 handy {
#initclip
Object.registerClass('handy', Hand);
#endinitclip
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 471 {
}
movieClip 472 scoremovie {
#initclip
Object.registerClass('scoremovie', Score);
#endinitclip
frame 1 {
stop();
this.hide();
}
frame 61 {
this._parent.bottom_mc.end();
this.hide();
stop();
}
}
movieClip 473 play_movie {
#initclip
Object.registerClass('play_movie', Game);
#endinitclip
frame 1 {
this.start();
}
}
movieClip 477 {
}
movieClip 478 {
frame 1 {
this.average_mc.score_txt.text = ScoreKeeper.getAverageScore();
}
frame 32 {
stop();
}
}
button 481 {
on (release) {
gotoAndStop('playgame');
}
}