Combined Code
frame 1 {
NewgroundsAPI.connectMovie(2922);
}
frame 1 {
Stage.showMenu = false;
}
frame 1 {
stopAllSounds();
}
button 4 {
on (keyPress '<Left>') {
nextFrame();
}
}
movieClip 5 {
frame 1 {
stop();
}
}
movieClip 11 {
}
movieClip 15 {
}
movieClip 23 {
}
movieClip 26 {
}
movieClip 30 {
}
movieClip 31 {
}
movieClip 37 {
}
movieClip 39 {
}
movieClip 42 {
}
movieClip 44 {
}
movieClip 46 {
}
movieClip 48 {
}
movieClip 64 {
}
movieClip 69 {
}
movieClip 73 {
}
movieClip 83 {
frame 40 {
stop();
}
}
movieClip 96 {
}
button 97 {
on (press) {
tellTarget ('_root') {
nextFrame();
}
}
}
button 98 {
on (press) {
gotoAndStop('end');
_root.play();
}
}
movieClip 99 {
instance of movieClip 73 {
onClipEvent (load) {
_root.stop();
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndStop('lastframe');
}
}
onClipEvent (enterFrame) {
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndPlay('loaded');
}
}
}
frame 101 {
play();
}
frame 165 {
stop();
}
}
button 105 {
on (release) {
NewgroundsAPI.loadNewgrounds();
}
}
button 111 {
on (release) {
NewgroundsAPI.loadNewgrounds();
}
}
movieClip 112 {
}
movieClip 113 {
frame 1 {
function startAd(ngad_url) {
trace('opening ' + ngad_url);
System.security.allowDomain('70.87.128.99');
System.security.allowInsecureDomain('70.87.128.99');
System.security.allowDomain('ads.shizmoo.com');
System.security.allowInsecureDomain('ads.shizmoo.com');
System.security.allowDomain('www.cpmstar.com');
System.security.allowInsecureDomain('www.cpmstar.com');
System.security.allowDomain('server.cpmstar.com');
System.security.allowInsecureDomain('server.cpmstar.com');
var ngads_redirect = new XML();
ngads_redirect.ignoreWhite = true;
ngads_redirect.onLoad = function (success) {
trace('[NEWGROUNDS FLASH ADS] :: You may get a \'Security Sandbox Violation\' ... this is normal, do not freak out!');
if (success) {
ng_ad.loadMovie(ngads_redirect.toString(), 'GET');
} else {}
};
ngads_redirect.load(ngad_url);
}
if (NewgroundsAPI.getAdURL()) {
startAd(NewgroundsAPI.getAdURL());
}
NewgroundsAPI.onAdsApproved = function (ad_url) {
startAd(ad_url);
};
stop();
}
}
movieClip 1660 __Packages.NewgroundsAPI {
#initclip
if (!_global.NewgroundsAPI) {
var v1 = function () {};
_global.NewgroundsAPI = v1;
var v2 = v1.prototype;
v1.connectMovie = function (id) {
if (!id) {
NewgroundsAPI.SendError('Missing required \'id\' parameter in NewgroundsAPI.connectMovie(id:Number)');
} else {
if (!NewgroundsAPI.tracker_id) {
NewgroundsAPI.SendMessage('Connecting to API gateway...');
NewgroundsAPI.tracker_id = id;
NewgroundsAPI.host = (_url.split('/'))[2].toLowerCase();
if (NewgroundsAPI.host.length < 1) {
NewgroundsAPI.host = 'localhost';
}
var v2 = new Object();
NewgroundsAPI.SendEvent(NewgroundsAPI.MOVIE_VIEWS);
}
}
};
v1.setMovieVersion = function (movie_version) {
if (!movie_version) {
NewgroundsAPI.SendError('Missing required \'version\' in NewgroundsAPI.setMovieVersion(version:String)');
} else {
NewgroundsAPI.version = movie_version;
}
};
v1.debugMode = function () {
NewgroundsAPI.debug = true;
};
v1.addCustomEvent = function (stat_id, stat_name) {
if (!stat_id) {
NewgroundsAPI.SendError('Missing required \'id\' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)');
} else {
if (!stat_name) {
NewgroundsAPI.SendError('Missing required \'event_name\' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)');
} else {
NewgroundsAPI.custom_events[stat_name] = NewgroundsAPI.CUSTOM_STATS + stat_id;
NewgroundsAPI.SendMessage('Created custom event: ' + stat_name);
}
}
};
v1.addCustomLink = function (stat_id, stat_name) {
if (!stat_id) {
NewgroundsAPI.SendError('Missing required \'id\' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)');
} else {
if (!stat_name) {
NewgroundsAPI.SendError('Missing required \'link_name\' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)');
} else {
NewgroundsAPI.custom_links[stat_name] = NewgroundsAPI.CUSTOM_STATS + stat_id;
NewgroundsAPI.SendMessage('Created custom link ' + stat_id + ': ' + stat_name);
}
}
};
v1.loadMySite = function () {
NewgroundsAPI.SendLink(NewgroundsAPI.AUTHOR_SITE);
};
v1.loadNewgrounds = function (special) {
if (special) {
var v1 = {'page': special};
}
NewgroundsAPI.SendLink(NewgroundsAPI.NEWGROUNDS, v1);
};
v1.logCustomEvent = function (event_name) {
if (!event_name) {
NewgroundsAPI.SendError('Missing required \'event_name\' parameter in NewgroundsAPI.logCustomEvent(event_name:String)');
} else {
if (!NewgroundsAPI.custom_events[event_name]) {
NewgroundsAPI.SendError('Attempted to log undefined custom event: ' + event_name);
} else {
NewgroundsAPI.SendEvent(NewgroundsAPI.custom_events[event_name]);
}
}
};
v1.loadCustomLink = function (link_name) {
if (!link_name) {
NewgroundsAPI.SendError('Missing required \'link_name\' parameter in NewgroundsAPI.loadCustomLink(link_name:String)');
} else {
if (!NewgroundsAPI.custom_links[link_name]) {
NewgroundsAPI.SendError('Attempted to open undefined custom link: ' + link_name);
} else {
NewgroundsAPI.SendLink(NewgroundsAPI.custom_links[link_name]);
}
}
};
v1.getAdURL = function () {
return NewgroundsAPI.movie_options.ad_url;
};
v1.getMovieURL = function () {
if (NewgroundsAPI.movie_options.movie_url) {
return NewgroundsAPI.movie_options.movie_url;
} else {
return 'Newgrounds.com';
}
};
v1.getNewVersionURL = function () {
return NewgroundsAPI.GATEWAY_URL + '?&id=' + NewgroundsAPI.tracker_id + '&host=' + escape(NewgroundsAPI.host) + '&stat=' + NewgroundsAPI.NEW_VERSION;
};
v1.SendEvent = function (id) {
NewgroundsAPI.SendStat(id, false);
};
v1.SendLink = function (id, extra) {
NewgroundsAPI.SendStat(id, true, extra);
};
v1.ReadGatewayData = function (params) {
for (var v2 in params) {
params[v2] = unescape(params[v2]);
NewgroundsAPI.movie_options[v2] = params[v2];
}
if (params.settings_loaded) {
NewgroundsAPI.SendMessage('You have successfully connected to the Newgrounds API gateway!');
NewgroundsAPI.SendMessage('Movie Identified as \'' + NewgroundsAPI.movie_options.movie_name + '\'');
if (NewgroundsAPI.movie_options.message) {
NewgroundsAPI.SendMessage(NewgroundsAPI.movie_options.message);
}
if (NewgroundsAPI.movie_options.ad_url) {
NewgroundsAPI.SendMessage('Your movie has been approved to run Flash Ads');
NewgroundsAPI.onAdsApproved(NewgroundsAPI.movie_options.ad_url);
}
if (NewgroundsAPI.movie_options.movie_version and NewgroundsAPI.movie_options.movie_version.toString() != NewgroundsAPI.version.toString()) {
NewgroundsAPI.SendMessage('WARNING: The movie version configured in your API settings does not match this movie\'s version!');
NewgroundsAPI.onNewVersionAvailable(NewgroundsAPI.movie_options.movie_version, NewgroundsAPI.getMovieURL(), NewgroundsAPI.getNewVersionURL());
}
if (NewgroundsAPI.movie_options.deny_host) {
NewgroundsAPI.SendMessage('You have blocked \'localHost\' in your API settings.');
NewgroundsAPI.SendMessage('If you wish to test your movie you will need to remove this block.');
NewgroundsAPI.onDenyHost(NewgroundsAPI.host, NewgroundsAPI.getMovieURL(), NewgroundsAPI.getNewVersionURL());
}
if (NewgroundsAPI.movie_options.request_portal_url == 1) {
var v4 = NewgroundsAPI.GATEWAY_URL + '?&id=' + NewgroundsAPI.tracker_id + '&portal_url=' + escape(_url);
var v3 = new XML();
v3.ignoreWhite = true;
v3.load(v4);
}
} else {
if (!NewgroundsAPI.movie_options.settings_loaded) {
NewgroundsAPI.SendError('Could not establish connection to the API gateway.');
}
}
};
v1.SendStat = function (stat_id, open_in_browser, extra) {
if (!NewgroundsAPI.tracker_id) {
NewgroundsAPI.SendError('API calls cannot be made without a valid movie id.');
NewgroundsAPI.SendError('Did you remember to add the "NewgroundsAPI.connectMovie()" code?');
} else {
var v7 = NewgroundsAPI.GATEWAY_URL + '?&id=' + NewgroundsAPI.tracker_id + '&host=' + escape(NewgroundsAPI.host) + '&stat=' + stat_id;
for (var v9 in extra) {
v7 += '&' + escape(v9) + '=' + escape(extra[v9]);
}
trace(v7);
if (NewgroundsAPI.debug) {
v7 += '&debug=1';
}
if (open_in_browser) {
getURL(v7, '_blank');
} else {
var v10 = new XML();
v10.ignoreWhite = true;
v10.onLoad = function (success) {
var v6 = new Object();
var v3 = 0;
while (v3 < this.firstChild.childNodes.length) {
var v4 = this.firstChild.childNodes[v3];
var v5 = v4.nodeName;
var v2 = v4.attributes.value;
if (v2 == Number(v2)) {
v2 = Number(v2);
}
v6[v5] = v2;
++v3;
}
NewgroundsAPI.ReadGatewayData(v6);
};
v10.load(v7);
}
}
};
v1.SendError = function (msg) {
trace('[NEWGROUNDS API ERROR] :: ' + msg);
};
v1.SendMessage = function (msg) {
trace('[NEWGROUNDS API] :: ' + msg);
};
v1.InitTextFormats = function () {
if (!NewgroundsAPI.error_format) {
NewgroundsAPI.error_format = new TextFormat();
NewgroundsAPI.error_format.font = 'Arial Black';
NewgroundsAPI.error_format.size = 48;
NewgroundsAPI.error_format.color = 16711680;
}
if (!NewgroundsAPI.header_format) {
NewgroundsAPI.header_format = new TextFormat();
NewgroundsAPI.header_format.font = 'Arial Black';
NewgroundsAPI.header_format.size = 24;
NewgroundsAPI.header_format.color = 16777215;
}
if (!NewgroundsAPI.normal_format) {
NewgroundsAPI.normal_format = new TextFormat();
NewgroundsAPI.normal_format.font = 'Arial';
NewgroundsAPI.normal_format.bold = true;
NewgroundsAPI.normal_format.size = 12;
NewgroundsAPI.normal_format.color = 16777215;
}
if (!NewgroundsAPI.link_format) {
NewgroundsAPI.link_format = new TextFormat();
NewgroundsAPI.link_format.color = 16776960;
NewgroundsAPI.link_format.underline = true;
}
};
v1.onNewVersionAvailable = function (version, movie_url, redirect_url) {
NewgroundsAPI.InitTextFormats();
var v2 = new Object();
v2.x = Stage.width / 2;
v2.y = Stage.height / 2;
_root.createEmptyMovieClip('NGAPI_new_version_overlay', _root.getNextHighestDepth());
_root.NGAPI_new_version_overlay.lineStyle(1, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(0, 70);
_root.NGAPI_new_version_overlay.moveTo(-10, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, -10);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.lineStyle(10, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(51);
_root.NGAPI_new_version_overlay.moveTo(v2.x - 240, v2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(v2.x + 240, v2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(v2.x + 240, v2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(v2.x - 240, v2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(v2.x - 240, v2.y - 120);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.createEmptyMovieClip('exit', 1000);
_root.NGAPI_new_version_overlay.exit.lineStyle(2, 39423, 100);
_root.NGAPI_new_version_overlay.exit.beginFill(0, 50);
_root.NGAPI_new_version_overlay.exit.moveTo(v2.x + 210, v2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 230, v2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 230, v2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 210, v2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 210, v2.y - 110);
_root.NGAPI_new_version_overlay.exit.endFill();
_root.NGAPI_new_version_overlay.exit.moveTo(v2.x + 214, v2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 226, v2.y - 94);
_root.NGAPI_new_version_overlay.exit.moveTo(v2.x + 226, v2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 214, v2.y - 94);
_root.NGAPI_new_version_overlay.exit.onMouseUp = function () {
if (_root.NGAPI_new_version_overlay.exit.hitTest(_root._xmouse, _root._ymouse)) {
_root.NGAPI_new_version_overlay.removeMovieClip();
}
};
var v3 = 'Version ' + version + ' is now available at:' + '\n';
var v5 = v3.length;
v3 += movie_url;
var v4 = v3.length;
_root.NGAPI_new_version_overlay.createTextField('mouseblocker', 99, -10, -10, 1000, 1000);
_root.NGAPI_new_version_overlay.createTextField('newversion', 100, v2.x - 210, v2.y - 90, 400, 80);
_root.NGAPI_new_version_overlay.newversion.text = 'New Version Available!';
_root.NGAPI_new_version_overlay.newversion.setTextFormat(NewgroundsAPI.header_format);
_root.NGAPI_new_version_overlay.createTextField('message', 101, (Stage.width - 400) / 2, Stage.height / 2, 400, 40);
_root.NGAPI_new_version_overlay.message.text = v3;
_root.NGAPI_new_version_overlay.message.multiline = true;
_root.NGAPI_new_version_overlay.message.wordWrap = true;
_root.NGAPI_new_version_overlay.message.html = true;
_root.NGAPI_new_version_overlay.message.setTextFormat(NewgroundsAPI.normal_format);
NewgroundsAPI.link_format.url = redirect_url;
_root.NGAPI_new_version_overlay.message.setTextFormat(v5, v4, NewgroundsAPI.link_format);
};
v1.onDenyHost = function (hostname, movie_url, redirect_url) {
NewgroundsAPI.InitTextFormats();
_root.createEmptyMovieClip('NGAPI_deny_host_overlay', _root.getNextHighestDepth());
_root.NGAPI_deny_host_overlay.lineStyle(20, 0, 100);
_root.NGAPI_deny_host_overlay.beginFill(6684672);
_root.NGAPI_deny_host_overlay.moveTo(0, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, 0);
_root.NGAPI_deny_host_overlay.endFill();
var v2 = 'This movie has not been approved for use on ' + hostname + '.';
v2 += '\r\rFor an aproved copy, please visit:\r';
var v4 = v2.length;
v2 += movie_url;
var v3 = v2.length;
_root.NGAPI_deny_host_overlay.createTextField('mousekill', 100, 0, 0, Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.createTextField('error', 101, (Stage.width - 400) / 2, Stage.height / 2 - 100, 400, 200);
_root.NGAPI_deny_host_overlay.error.text = 'ERROR!';
_root.NGAPI_deny_host_overlay.error.setTextFormat(NewgroundsAPI.error_format);
_root.NGAPI_deny_host_overlay.createTextField('message', 102, (Stage.width - 400) / 2, Stage.height / 2, 400, 200);
_root.NGAPI_deny_host_overlay.message.text = v2;
_root.NGAPI_deny_host_overlay.message.multiline = true;
_root.NGAPI_deny_host_overlay.message.wordWrap = true;
_root.NGAPI_deny_host_overlay.message.html = true;
_root.NGAPI_deny_host_overlay.message.setTextFormat(NewgroundsAPI.normal_format);
NewgroundsAPI.link_format.url = redirect_url;
_root.NGAPI_deny_host_overlay.message.setTextFormat(v4, v3, NewgroundsAPI.link_format);
};
v1.isInstalled = function () {
return true;
};
v1.onAdsApproved = function (ad_url) {};
v1.movie_options = new Object();
v1.custom_events = new Object();
v1.custom_links = new Object();
v1.MOVIE_VIEWS = 1;
v1.AUTHOR_SITE = 2;
v1.NEWGROUNDS = 3;
v1.NEW_VERSION = 4;
v1.CUSTOM_STATS = 50;
v1.GATEWAY_URL = 'http://www.ngads.com/gateway.php';
ASSetPropFlags(_global.NewgroundsAPI.prototype, null, 1);
}
#endinitclip
}
frame 2 {
_quality = 'MEDIUM';
quality = 'MEDIUM';
}
frame 10 {
stopAllSounds();
play();
}
frame 11 {
play();
}
movieClip 116 {
}
movieClip 118 {
}
movieClip 120 {
}
movieClip 123 {
}
movieClip 126 {
}
button 145 {
on (release) {
gotoAndPlay('play');
}
on (keyPress '<Space>') {
gotoAndPlay('play');
}
}
button 150 {
on (release) {
gotoAndPlay('gallery');
}
}
button 155 {
on (release) {
gotoAndPlay('credits');
}
}
button 160 {
on (release) {
gotoAndPlay('pvp');
}
}
movieClip 161 {
}
button 166 {
on (release) {
_quality = 'HIGH';
quality = 'HIGH';
}
}
button 169 {
on (release) {
_quality = 'MEDIUM';
quality = 'MEDIUM';
}
}
button 172 {
on (release) {
_quality = 'LOW';
quality = 'LOW';
}
}
movieClip 174 {
}
frame 19 {
stop();
}
movieClip 177 {
}
movieClip 179 {
}
movieClip 181 {
}
button 182 {
on (release) {
nextFrame();
}
}
movieClip 185 {
}
button 186 {
on (release) {
prevFrame();
}
}
movieClip 190 {
}
movieClip 194 {
}
movieClip 198 {
}
movieClip 202 {
}
movieClip 206 {
}
movieClip 210 {
}
movieClip 214 {
}
movieClip 218 {
}
movieClip 222 {
}
movieClip 226 {
}
movieClip 230 {
}
movieClip 234 {
}
movieClip 238 {
}
movieClip 242 {
}
movieClip 246 {
}
movieClip 250 {
}
movieClip 254 {
}
movieClip 258 {
}
movieClip 262 {
}
movieClip 266 {
}
movieClip 270 {
}
movieClip 274 {
}
movieClip 278 {
}
movieClip 281 {
}
movieClip 284 {
}
movieClip 287 {
}
movieClip 290 {
}
movieClip 293 {
}
movieClip 296 {
}
movieClip 299 {
}
movieClip 302 {
}
movieClip 305 {
}
movieClip 308 {
}
movieClip 310 {
}
movieClip 313 {
}
movieClip 315 {
}
movieClip 319 {
}
movieClip 323 {
}
movieClip 327 {
}
movieClip 331 {
}
movieClip 335 {
}
movieClip 339 {
}
movieClip 343 {
}
movieClip 347 {
}
movieClip 351 {
}
movieClip 355 {
}
movieClip 359 {
}
movieClip 363 {
}
movieClip 367 {
}
movieClip 371 {
}
movieClip 375 {
}
movieClip 379 {
}
movieClip 383 {
}
movieClip 386 {
frame 1 {
stop();
}
}
button 392 {
on (release) {
gotoAndPlay('menu2');
}
}
frame 37 {
stop();
}
button 393 {
on (release) {
gotoAndPlay('menu');
}
}
button 399 {
on (press) {
getURL('http://kupo707.deviantart.com', '_blank');
}
}
frame 66 {
stop();
}
frame 91 {
stopAllSounds();
}
button 401 {
on (keyPress '<Space>') {
gotoAndPlay('skip');
}
}
movieClip 407 {
}
movieClip 411 {
}
movieClip 414 {
}
movieClip 416 {
}
movieClip 423 {
}
movieClip 426 {
}
movieClip 431 {
}
movieClip 435 {
}
movieClip 438 {
frame 1 {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var v4 = sX / this._width;
var v3 = sY / this._height;
_parent._x = cX - this._x * v4;
_parent._y = cY - this._y * v3;
_parent._xscale = 100 * v4;
_parent._yscale = 100 * v3;
}
function resetStage() {
var v2 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0};
parentColor.setTransform(v2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = 'exactFit';
var cX = Stage.width / 2;
var cY = Stage.height / 2;
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
}
movieClip 442 {
}
button 514 {
on (release) {
tellTarget ('/') {
gotoAndPlay(1);
}
}
on (keyPress '<Space>') {
tellTarget ('/') {
gotoAndPlay(1);
}
}
}
button 515 {
on (release) {
tellTarget ('/') {
gotoAndPlay('menu');
}
}
on (keyPress '<Space>') {
tellTarget ('/') {
gotoAndPlay('menu');
}
}
}
movieClip 516 {
frame 1 {
stop();
}
frame 24 {
stop();
tellTarget ('/') {
play();
}
}
frame 40 {
stop();
tellTarget ('/') {
play();
}
}
frame 129 {
stop();
}
}
movieClip 520 {
}
movieClip 528 {
}
movieClip 530 {
}
movieClip 535 {
}
movieClip 537 {
}
movieClip 544 {
}
movieClip 547 {
}
movieClip 548 {
}
movieClip 550 {
}
movieClip 552 {
}
movieClip 553 {
}
movieClip 555 {
}
movieClip 556 {
}
movieClip 558 {
}
movieClip 560 {
}
movieClip 571 {
frame 1 {
stop();
}
frame 117 {
tellTarget ('/fouls') {
play();
}
}
}
button 590 {
on (keyPress '<Space>') {
gotoAndStop('round1');
tellTarget ('foul') {
gotoAndPlay(1);
}
}
on (press) {
gotoAndStop('round1');
tellTarget ('foul') {
gotoAndPlay(1);
}
}
}
frame 985 {
play();
}
button 593 {
on (keyPress '<Space>') {
gotoAndPlay('win1');
}
on (press) {
gotoAndPlay('win1');
}
}
button 610 {
on (release) {
gotoAndPlay('menu');
}
on (keyPress '<Space>') {
gotoAndPlay('menu');
}
}
frame 1271 {
stop();
}
frame 1271 {
stop();
}
button 611 {
on (release) {
tellTarget ('/') {
gotoAndPlay(1);
}
}
on (keyPress '<Space>') {
tellTarget ('/') {
gotoAndPlay(1);
}
}
}
movieClip 612 {
}
movieClip 635 {
}
movieClip 637 {
}
movieClip 639 {
}
movieClip 641 {
}
movieClip 643 {
}
movieClip 645 {
}
movieClip 647 {
}
movieClip 649 {
}
movieClip 651 {
}
movieClip 653 {
}
movieClip 655 {
}
movieClip 657 {
}
movieClip 659 {
}
movieClip 661 {
}
button 669 {
on (keyPress '<Space>') {
gotoAndStop('round2');
tellTarget ('foul') {
gotoAndPlay(1);
}
}
on (press) {
gotoAndStop('round2');
tellTarget ('foul') {
gotoAndPlay(1);
}
}
}
frame 1907 {
play();
}
button 670 {
on (keyPress '<Space>') {
gotoAndPlay('win2');
}
on (press) {
gotoAndPlay('win2');
}
}
movieClip 678 {
}
button 712 {
on (release) {
gotoAndPlay('menu');
}
on (keyPress '<Space>') {
gotoAndPlay('menu');
}
}
frame 2153 {
stop();
}
movieClip 735 {
}
button 766 {
on (keyPress '<Space>') {
gotoAndStop('round3');
tellTarget ('foul') {
gotoAndPlay(1);
}
}
on (press) {
gotoAndStop('round3');
tellTarget ('foul') {
gotoAndPlay(1);
}
}
}
frame 2909 {
play();
}
button 767 {
on (keyPress '<Space>') {
gotoAndPlay('win3');
}
on (press) {
gotoAndPlay('win3');
}
}
movieClip 773 {
}
movieClip 778 {
}
movieClip 788 {
}
button 796 {
on (release) {
gotoAndPlay('menu');
}
on (keyPress '<Space>') {
gotoAndPlay('menu');
}
}
frame 3164 {
stop();
}
movieClip 817 {
}
movieClip 833 {
}
movieClip 835 {
}
movieClip 845 {
}
movieClip 861 {
}
movieClip 865 {
}
button 875 {
on (keyPress '<Space>') {
gotoAndStop('round4');
tellTarget ('foul') {
gotoAndPlay(1);
}
}
on (press) {
gotoAndStop('round4');
tellTarget ('foul') {
gotoAndPlay(1);
}
}
}
frame 4014 {
play();
}
button 876 {
on (keyPress '<Space>') {
gotoAndPlay('win4');
}
on (press) {
gotoAndPlay('win4');
}
}
movieClip 886 {
}
movieClip 902 {
}
button 903 {
on (release) {
gotoAndPlay('menu');
}
on (keyPress '<Space>') {
gotoAndPlay('menu');
}
}
frame 4219 {
stop();
}
movieClip 906 {
}
movieClip 908 {
}
movieClip 912 {
}
movieClip 913 {
}
movieClip 919 {
}
movieClip 924 {
}
movieClip 926 {
}
movieClip 929 {
}
movieClip 932 {
}
movieClip 934 {
}
button 940 {
on (keyPress '<Space>') {
gotoAndStop('round5');
tellTarget ('foul') {
gotoAndPlay(1);
}
}
on (press) {
gotoAndStop('round5');
tellTarget ('foul') {
gotoAndPlay(1);
}
}
}
button 941 {
on (keyPress '<Space>') {
gotoAndPlay('win5');
}
on (press) {
gotoAndPlay('win5');
}
}
movieClip 947 {
}
movieClip 949 {
}
movieClip 973 {
}
button 974 {
on (release) {
gotoAndPlay('menu');
}
on (keyPress '<Space>') {
gotoAndPlay('menu');
}
}
frame 5099 {
stop();
}
movieClip 981 {
}
movieClip 984 {
}
movieClip 992 {
}
movieClip 993 {
}
movieClip 997 {
}
movieClip 1007 {
}
movieClip 1008 {
}
button 1017 {
on (keyPress '<Space>') {
gotoAndStop('round6');
tellTarget ('foul') {
gotoAndPlay(1);
}
}
on (press) {
gotoAndStop('round6');
tellTarget ('foul') {
gotoAndPlay(1);
}
}
}
button 1018 {
on (keyPress '<Space>') {
gotoAndPlay('win6');
}
on (press) {
gotoAndPlay('win6');
}
}
button 1021 {
on (release) {
gotoAndPlay('menu');
}
on (keyPress '<Space>') {
gotoAndPlay('menu');
}
}
frame 5981 {
stop();
}
movieClip 1026 {
}
movieClip 1096 {
}
movieClip 1107 {
}
movieClip 1109 {
}
movieClip 1113 {
}
movieClip 1116 {
}
movieClip 1118 {
}
button 1157 {
on (keyPress '<Space>') {
gotoAndStop('round7');
tellTarget ('foul') {
gotoAndPlay(1);
}
}
on (press) {
gotoAndStop('round7');
tellTarget ('foul') {
gotoAndPlay(1);
}
}
}
button 1158 {
on (keyPress '<Space>') {
gotoAndPlay('win7');
}
on (press) {
gotoAndPlay('win7');
}
}
button 1171 {
on (release) {
gotoAndPlay('menu');
}
on (keyPress '<Space>') {
gotoAndPlay('menu');
}
}
frame 7037 {
stop();
}
movieClip 1185 {
}
movieClip 1194 {
}
movieClip 1199 {
}
movieClip 1216 {
}
movieClip 1217 {
}
movieClip 1219 {
}
movieClip 1230 {
}
button 1240 {
on (keyPress '<Space>') {
gotoAndStop('round8');
tellTarget ('foul') {
gotoAndPlay(1);
}
}
on (press) {
gotoAndStop('round8');
tellTarget ('foul') {
gotoAndPlay(1);
}
}
}
movieClip 1243 {
}
button 1244 {
on (keyPress '<Space>') {
gotoAndPlay('win8');
}
on (press) {
gotoAndPlay('win8');
}
}
movieClip 1246 {
}
button 1254 {
on (release) {
gotoAndPlay('menu');
}
on (keyPress '<Space>') {
gotoAndPlay('menu');
}
}
frame 7964 {
stop();
}
movieClip 1268 {
}
movieClip 1269 {
}
movieClip 1271 {
}
movieClip 1274 {
}
movieClip 1284 {
}
movieClip 1288 {
}
movieClip 1291 {
}
movieClip 1293 {
}
movieClip 1295 {
}
movieClip 1296 {
}
button 1300 {
on (keyPress '<Space>') {
gotoAndStop('round9');
tellTarget ('foul') {
gotoAndPlay(1);
}
}
on (press) {
gotoAndStop('round9');
tellTarget ('foul') {
gotoAndPlay(1);
}
}
}
button 1301 {
on (keyPress '<Space>') {
gotoAndPlay('win9');
}
on (press) {
gotoAndPlay('win9');
}
}
button 1309 {
on (release) {
gotoAndPlay('menu');
}
on (keyPress '<Space>') {
gotoAndPlay('menu');
}
}
frame 8922 {
stop();
}
movieClip 1414 {
}
movieClip 1416 {
}
movieClip 1422 {
}
movieClip 1423 {
}
movieClip 1431 {
}
movieClip 1435 {
}
movieClip 1437 {
}
movieClip 1439 {
}
movieClip 1443 {
}
movieClip 1445 {
}
movieClip 1449 {
}
movieClip 1451 {
}
movieClip 1458 {
}
movieClip 1460 {
}
movieClip 1462 {
}
movieClip 1463 {
}
movieClip 1469 {
}
button 1473 {
on (keyPress '<Space>') {
gotoAndStop('round10');
tellTarget ('foul') {
gotoAndPlay(1);
}
}
on (press) {
gotoAndStop('round10');
tellTarget ('foul') {
gotoAndPlay(1);
}
}
}
button 1474 {
on (keyPress '<Space>') {
gotoAndPlay('win10');
}
on (press) {
gotoAndPlay('win10');
}
}
movieClip 1482 {
}
movieClip 1484 {
}
movieClip 1486 {
}
movieClip 1489 {
}
movieClip 1491 {
}
movieClip 1493 {
}
movieClip 1499 {
}
movieClip 1500 {
}
button 1502 {
on (release) {
gotoAndPlay('menu');
}
on (keyPress '<Space>') {
gotoAndPlay('menu');
}
}
frame 10482 {
stop();
}
movieClip 1521 {
}
movieClip 1538 {
}
movieClip 1540 {
}
movieClip 1542 {
}
frame 10959 {
stopAllSounds();
}
movieClip 1544 {
}
movieClip 1546 {
}
movieClip 1548 {
}
movieClip 1549 {
}
movieClip 1551 {
}
movieClip 1552 {
}
movieClip 1555 {
}
movieClip 1568 {
}
movieClip 1584 {
}
movieClip 1587 {
}
movieClip 1591 {
}
movieClip 1597 {
}
frame 11659 {
stop();
}
button 1599 {
on (keyPress '<Space>') {
gotoAndPlay('menu');
}
}
movieClip 1601 {
}
movieClip 1602 {
frame 362 {
stop();
}
}
frame 11660 {
p1points = 0;
p2points = 0;
stopAllSounds();
}
frame 11715 {
stop();
}
button 1615 {
on (release) {
play();
}
}
button 1619 {
on (keyPress '<Space>') {
gotoAndPlay('p1foul');
}
on (keyPress '<Enter>') {
gotoAndPlay('p2foul');
}
}
button 1620 {
on (keyPress '<Space>') {
gotoAndPlay('p1win');
}
on (keyPress '<Enter>') {
gotoAndPlay('p2win');
}
}
button 1621 {
on (keyPress '<Space>') {
gotoAndPlay('p1win');
}
on (keyPress '<Enter>') {
gotoAndPlay('p2win');
}
}
button 1627 {
on (release) {
gotoAndStop(11660);
}
}
button 1628 {
on (release) {
play();
}
on (keyPress '<Space>') {
play();
}
on (keyPress '<Enter>') {
play();
}
}
button 1629 {
on (release) {
gotoAndPlay('menu');
}
}
frame 12094 {
stop();
}
button 1630 {
on (release) {
play();
}
}
frame 12111 {
gotoAndPlay('pvpStart');
}
frame 12128 {
p1points += 1;
}
frame 12249 {
stop();
}
frame 12258 {
gotoAndPlay('again');
}
frame 12272 {
p2points += 1;
}
frame 12395 {
stop();
}
frame 12404 {
gotoAndPlay('again');
}
frame 12410 {
p1points -= 1;
}
frame 12521 {
stop();
}
frame 12530 {
gotoAndPlay('again');
}
frame 12535 {
p2points -= 1;
}
frame 12647 {
stop();
}
frame 12656 {
gotoAndPlay('again');
}