Combined Code
frame 1 {
stop();
Stage.showMenu = false;
var menuRefresh = true;
var qualityListener = new Object();
qualityListener.onKeyUp = function (Void) {
if (Key.getCode() == 81) {
if (_quality == 'LOW') {
_quality = 'MEDIUM';
} else {
if (_quality == 'MEDIUM') {
_quality = 'HIGH';
} else {
_quality = 'LOW';
}
}
}
};
Key.removeListener(qualityListener);
Key.addListener(qualityListener);
NewgroundsAPI.connectMovie(289);
}
movieClip 4 {
}
movieClip 5 {
}
movieClip 8 {
}
button 12 {
on (press) {
if (NewgroundsAPI.isInstalled()) {
NewgroundsAPI.loadNewgrounds();
} else {
getURL('http://www.newgrounds.com', '_blank');
}
}
}
movieClip 17 {
}
movieClip 18 {
frame 10 {
gotoAndPlay(1);
}
}
movieClip 20 {
}
movieClip 22 {
}
movieClip 25 {
}
movieClip 29 {
}
movieClip 31 {
}
button 34 {
on (press) {
if (NewgroundsAPI.isInstalled()) {
NewgroundsAPI.loadNewgrounds('collection/picoday2008');
} else {
getURL('http://www.newgrounds.com/collection/picoday2008', '_blank');
}
}
}
movieClip 35 {
}
movieClip 36 {
frame 1 {
stop();
}
}
movieClip 41 {
}
button 47 {
on (press) {
nextFrame();
}
}
movieClip 49 {
}
movieClip 50 {
}
movieClip 57 {
}
movieClip 68 {
frame 12 {
stop();
}
}
movieClip 71 {
}
movieClip 74 {
}
movieClip 75 {
}
movieClip 77 {
}
movieClip 88 {
}
button 93 {
on (press) {
if (NewgroundsAPI.isInstalled()) {
NewgroundsAPI.loadNewgrounds('collection/pico');
} else {
getURL('http://www.newgrounds.com', '_blank');
}
}
}
movieClip 108 {
frame 15 {
stop();
}
}
movieClip 114 {
}
movieClip 126 {
}
movieClip 138 {
}
button 149 {
on (press) {
getURL('http://www.newgrounds.com/collection/pico', '_blank');
}
}
movieClip 151 {
}
movieClip 152 {
frame 1 {
_quality = 'MEDIUM';
}
frame 225 {
_quality = 'HIGH';
_root.play();
}
}
movieClip 153 {
frame 1 {
function startAd(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 {}
};
var v1 = 731;
var v2 = 3;
ngads_redirect.load(ngad_url);
}
if (NewgroundsAPI.isInstalled()) {
if (NewgroundsAPI.getAdURL()) {
startAd(NewgroundsAPI.getAdURL());
}
NewgroundsAPI.onAdsApproved = function () {
startAd(NewgroundsAPI.getAdURL());
};
} else {
filepath = _url.split('\\');
if (filepath.length < 2) {
filepath = _url.split('/');
filepath.shift();
filepath.shift();
filepath.shift();
filepath[0] = (filepath[0].split('|')).join(':');
}
filepath.pop();
msg = 'Hey there!\r';
msg += 'I couldn\'t help but notice you are using our snazzy \r';
msg += 'Pico Day preloader.\r\r';
msg += 'Well, it seems like there was a problem with your API\r';
msg += 'installation because we can\'t seem to find the \r';
msg += 'NewgroundsAPI.as file in ' + filepath.join('\\') + '\n';
msg += 'Make sure when you download the API from Newgrounds\r';
msg += 'you unzip everything into this folder.';
trace(msg);
}
stop();
}
instance of movieClip 25 {
onClipEvent (enterFrame) {
loaded = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
gotoAndStop(loaded);
if (loaded == 100) {
_parent.play();
}
}
}
frame 9 {
stop();
}
frame 10 {
stop();
}
}
movieClip 2695 __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 {
gotoAndStop('main');
}
movieClip 156 sd1 {
}
movieClip 159 sd2 {
}
movieClip 162 sd3 {
}
movieClip 165 sd4 {
}
movieClip 168 sd5 {
}
movieClip 171 sd6 {
}
movieClip 174 sd7 {
}
movieClip 177 sd8 {
}
movieClip 180 sd9 {
}
movieClip 183 sd10 {
}
movieClip 186 sd11 {
}
movieClip 189 sd12 {
}
movieClip 192 sd13 {
}
movieClip 195 sd14 {
}
movieClip 198 sd15 {
}
movieClip 201 sd16 {
}
movieClip 204 sd17 {
}
movieClip 207 sd18 {
}
movieClip 210 sd19 {
}
movieClip 213 sc1 {
}
movieClip 216 sc2 {
}
movieClip 219 sc3 {
}
movieClip 222 sc4 {
}
movieClip 225 sc5 {
}
movieClip 228 sc6 {
}
movieClip 231 sc7 {
}
movieClip 234 sc8 {
}
movieClip 237 sc9 {
}
movieClip 240 sc10 {
}
movieClip 243 sc11 {
}
movieClip 246 sc12 {
}
movieClip 249 sc13 {
}
movieClip 252 sp1 {
}
frame 4 {
function fadeTransition(Void) {
var v3 = new flash.display.BitmapData(550, 400, true, 0);
v3.draw(_root);
_root.createEmptyMovieClip('bitmapData', 100);
_root.bitmapData.createEmptyMovieClip('trans', 200);
_root.bitmapData.trans.attachBitmap(v3, 201);
bitmapData.trans.onEnterFrame = function () {
this._alpha -= 8;
if (this._alpha <= 0) {
this.removeMovieClip();
}
};
}
stop();
Stage.showMenu = false;
if (menuRefresh) {
menuRefresh = false;
var menuloop = new Sound();
menuloop.attachSound('menuloop');
menuloop.start(0, 999);
}
}
movieClip 256 {
}
movieClip 259 {
}
movieClip 262 {
}
movieClip 265 {
}
movieClip 268 {
}
movieClip 271 {
}
movieClip 272 {
}
movieClip 276 {
}
movieClip 277 {
}
button 279 {
on (press) {
btnMenu1.enabled = false;
btnMenu2.enabled = false;
btnMenu3.enabled = false;
menuRefresh = true;
behindpics.stop();
slashmc._visible = true;
slashmc.play();
_root.onEnterFrame = function (Void) {
menuloop.setVolume(menuloop.getVolume() - 3);
if (menuloop.getVolume() <= 0) {
menuloop.setVolume(0);
if (slashmc._currentframe == 32) {
menuloop.stop('menuloop');
menuloop.setVolume(100);
gotoAndPlay('picodayintro');
_root.onEnterFrame = null;
}
}
};
}
}
button 281 {
on (press) {
fadeTransition();
gotoAndStop('sceneselect');
}
}
button 283 {
on (press) {
fadeTransition();
gotoAndStop('links');
}
}
movieClip 287 {
}
movieClip 289 {
frame 32 {
stop();
}
}
instance slashmc of movieClip 289 {
onClipEvent (load) {
stop();
_visible = false;
}
}
button 296 {
on (press) {
fadeTransition();
gotoAndStop('main');
}
}
movieClip 298 {
}
button 299 {
on (press) {
menuloop.stop('menuloop');
gotoAndPlay('scene1');
}
on (rollOver) {
txtSceneTitle.text = 'Throne of the King';
}
on (rollOut) {
txtSceneTitle.text = '';
}
}
movieClip 300 {
}
button 301 {
on (press) {
menuloop.stop('menuloop');
gotoAndPlay('scene2');
}
on (rollOver) {
txtSceneTitle.text = 'Spam Factory';
}
on (rollOut) {
txtSceneTitle.text = '';
}
}
movieClip 302 {
}
button 303 {
on (press) {
menuloop.stop('menuloop');
gotoAndPlay('scene3');
}
on (rollOver) {
txtSceneTitle.text = 'Unidentified Flying Ownage';
}
on (rollOut) {
txtSceneTitle.text = '';
}
}
movieClip 304 {
}
button 305 {
on (press) {
menuloop.stop('menuloop');
gotoAndPlay('scene4');
}
on (rollOver) {
txtSceneTitle.text = 'The Fight Begins';
}
on (rollOut) {
txtSceneTitle.text = '';
}
}
movieClip 306 {
}
button 307 {
on (press) {
menuloop.stop('menuloop');
gotoAndPlay('scene5');
}
on (rollOver) {
txtSceneTitle.text = 'Cat-Bot\'s Awakening';
}
on (rollOut) {
txtSceneTitle.text = '';
}
}
movieClip 308 {
}
button 309 {
on (press) {
menuloop.stop('menuloop');
gotoAndPlay('scene6');
}
on (rollOver) {
txtSceneTitle.text = 'Revenge';
}
on (rollOut) {
txtSceneTitle.text = '';
}
}
movieClip 310 {
}
button 311 {
on (press) {
menuloop.stop('menuloop');
gotoAndPlay('scene8');
}
on (rollOver) {
txtSceneTitle.text = 'Painful Memories';
}
on (rollOut) {
txtSceneTitle.text = '';
}
}
movieClip 312 {
}
button 313 {
on (press) {
menuloop.stop('menuloop');
gotoAndPlay('scene7');
}
on (rollOver) {
txtSceneTitle.text = 'Tom\'s Dream';
}
on (rollOut) {
txtSceneTitle.text = '';
}
}
movieClip 314 {
}
button 315 {
on (press) {
menuloop.stop('menuloop');
gotoAndPlay('scene9');
}
on (rollOver) {
txtSceneTitle.text = 'Funeral for the Fallen';
}
on (rollOut) {
txtSceneTitle.text = '';
}
}
// unknown tag 88 length 70
movieClip 320 {
}
button 322 {
on (press) {
getURL('http://newgrounds.com', 'blank');
}
}
button 323 {
on (press) {
getURL('http://kittykrew.net', 'blank');
}
}
button 324 {
on (press) {
getURL('http://afro-ninja.com', 'blank');
}
}
frame 7 {
var calmloop = new Sound();
calmloop.attachSound('calmloop');
}
frame 36 {
function changePic(Void) {
prevPicMC = curPicMC;
if (curYear == 'sc' && curPic == 14) {
curYear = 'sd';
curPic = 1;
nextFrame();
} else {
if (curYear == 'sd' && curPic == 20) {
curYear = 'sp';
curPic = 1;
nextFrame();
}
}
var v3 = new String(curYear + curPic);
curPicMC = picbase.attachMovie(v3, v3, curDepth);
--curDepth;
++curPic;
curPicMC.onEnterFrame = function (Void) {
if (_root.curYear == 'sp') {
if (this._y >= 250 && !this.transitionFire) {
this.transitionFire = true;
_root.play();
}
}
if (this._y < 400) {
this._y += 50;
} else {
this._y = 400;
this.shakes = 1;
this.onEnterFrame = function (Void) {
switch (this.shakes) {
case 1:
this._y = 405;
break;
case 2:
this._y = 396;
break;
case 3:
this._y = 402;
break;
case 4:
this._y = 400;
break;
case 5:
this.onEnterFrame = null;
default:
}
++this.shakes;
};
}
};
prevPicMC.onEnterFrame = function (Void) {
this._y += 50;
if (this._y > 1000) {
this.removeMovieClip();
}
};
}
calmloop.start(0, 999);
stop();
var curPic = 1;
var curDepth = 100;
var curYear = 'sc';
var curPicMC;
var prevPicMC;
changePic();
CP = setInterval(changePic, 650);
}
movieClip 327 {
}
movieClip 332 {
}
instance of movieClip 332 {
onClipEvent (load) {
gotoAndPlay(random(3) + 1);
rightLimit = _x + 35;
leftLimit = _x - 35;
if (random(2) != 1) {
moveDirection = -1;
} else {
moveDirection = 1;
}
-1;
moveSpeed = 0.2;
}
onClipEvent (enterFrame) {
_x = _x + moveDirection * moveSpeed;
if (_x < leftLimit) {
_x = leftLimit + 1;
moveDirection = 1;
} else {
if (_x > rightLimit) {
_x = rightLimit - 1;
moveDirection = -1;
}
}
}
}
instance of movieClip 332 {
onClipEvent (load) {
gotoAndPlay(random(3) + 1);
rightLimit = _x + 35;
leftLimit = _x - 35;
if (random(2) != 1) {
moveDirection = -1;
} else {
moveDirection = 1;
}
-1;
moveSpeed = 0.2;
}
onClipEvent (enterFrame) {
_x = _x + moveDirection * moveSpeed;
if (_x < leftLimit) {
_x = leftLimit + 1;
moveDirection = 1;
} else {
if (_x > rightLimit) {
_x = rightLimit - 1;
moveDirection = -1;
}
}
}
}
instance of movieClip 332 {
onClipEvent (load) {
gotoAndPlay(random(3) + 1);
rightLimit = _x + 35;
leftLimit = _x - 35;
if (random(2) != 1) {
moveDirection = -1;
} else {
moveDirection = 1;
}
-1;
moveSpeed = 0.2;
}
onClipEvent (enterFrame) {
_x = _x + moveDirection * moveSpeed;
if (_x < leftLimit) {
_x = leftLimit + 1;
moveDirection = 1;
} else {
if (_x > rightLimit) {
_x = rightLimit - 1;
moveDirection = -1;
}
}
}
}
movieClip 334 {
}
movieClip 339 {
}
instance of movieClip 339 {
onClipEvent (enterFrame) {
_alpha = random(30) + 10;
}
}
movieClip 345 {
frame 45 {
gotoAndPlay(random(_totalframes));
}
}
movieClip 346 {
}
movieClip 347 {
frame 30 {
stop();
}
}
movieClip 349 {
}
movieClip 350 {
frame 325 {
stop();
}
}
frame 37 {
stop();
}
movieClip 352 {
}
movieClip 353 {
frame 325 {
stop();
}
}
frame 38 {
stop();
clearInterval(CP);
}
frame 39 {
calmloop.stop('calmloop');
}
movieClip 354 {
}
movieClip 355 {
}
frame 235 {
Stage.showMenu = true;
}
movieClip 358 {
}
movieClip 360 {
}
movieClip 362 {
}
movieClip 364 {
}
movieClip 367 {
}
movieClip 369 {
}
movieClip 371 {
}
movieClip 374 {
}
movieClip 376 {
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 379 {
}
movieClip 384 {
}
movieClip 385 {
}
movieClip 389 {
}
movieClip 390 {
}
movieClip 395 {
}
// unknown tag 88 length 63
movieClip 441 {
}
movieClip 447 {
}
movieClip 449 {
}
movieClip 453 {
}
movieClip 457 {
}
movieClip 478 {
}
movieClip 482 {
}
movieClip 484 {
}
movieClip 486 {
}
movieClip 494 {
}
movieClip 497 {
}
movieClip 498 {
}
movieClip 500 {
}
movieClip 502 {
}
movieClip 510 {
}
movieClip 511 {
}
movieClip 516 {
}
movieClip 517 {
}
movieClip 522 {
}
movieClip 526 {
}
movieClip 537 {
}
movieClip 548 {
}
movieClip 550 {
}
movieClip 573 {
}
movieClip 589 {
}
movieClip 591 {
}
movieClip 597 {
}
movieClip 620 {
}
movieClip 624 {
}
movieClip 628 {
}
movieClip 630 {
}
movieClip 634 {
}
movieClip 637 {
}
movieClip 639 {
}
movieClip 642 {
}
// unknown tag 88 length 54
movieClip 646 {
}
movieClip 658 {
}
movieClip 662 {
}
movieClip 694 {
}
movieClip 698 {
}
movieClip 700 {
}
movieClip 704 {
}
movieClip 707 {
}
movieClip 727 {
}
movieClip 729 {
}
movieClip 731 {
}
movieClip 733 {
}
movieClip 735 {
}
movieClip 736 {
}
movieClip 738 {
}
movieClip 739 {
}
movieClip 747 {
}
movieClip 749 {
}
movieClip 757 {
}
movieClip 760 {
}
movieClip 762 {
}
movieClip 764 {
}
movieClip 766 {
}
movieClip 768 {
}
movieClip 795 {
}
movieClip 803 {
}
movieClip 815 {
}
movieClip 826 {
}
movieClip 828 {
}
movieClip 835 {
}
movieClip 842 {
}
movieClip 851 {
}
movieClip 857 {
}
movieClip 858 {
}
movieClip 860 {
}
movieClip 862 {
}
movieClip 864 {
}
movieClip 866 {
}
movieClip 868 {
}
movieClip 870 {
}
movieClip 878 {
}
movieClip 911 {
}
movieClip 922 {
}
movieClip 924 {
}
movieClip 931 {
}
movieClip 938 {
}
movieClip 950 {
}
movieClip 956 {
}
movieClip 959 {
}
movieClip 974 {
}
movieClip 982 {
}
movieClip 1000 {
}
movieClip 1040 {
}
movieClip 1047 {
}
movieClip 1058 {
}
movieClip 1060 {
}
movieClip 1066 {
}
movieClip 1068 {
}
movieClip 1081 {
}
movieClip 1084 {
}
movieClip 1090 {
}
movieClip 1092 {
}
movieClip 1095 {
}
movieClip 1097 {
}
movieClip 1100 {
}
movieClip 1102 {
}
movieClip 1187 {
}
movieClip 1190 {
}
movieClip 1201 {
}
movieClip 1209 {
}
movieClip 1211 {
}
movieClip 1214 {
}
movieClip 1217 {
}
movieClip 1219 {
}
movieClip 1222 {
}
movieClip 1226 {
}
movieClip 1247 {
}
movieClip 1249 {
}
movieClip 1251 {
}
movieClip 1253 {
}
movieClip 1255 {
}
movieClip 1257 {
}
movieClip 1259 {
}
movieClip 1261 {
}
movieClip 1263 {
}
movieClip 1264 {
}
movieClip 1266 {
}
movieClip 1268 {
}
movieClip 1270 {
}
movieClip 1272 {
}
movieClip 1274 {
}
movieClip 1276 {
}
movieClip 1278 {
}
movieClip 1280 {
}
movieClip 1282 {
}
movieClip 1284 {
}
movieClip 1286 {
}
movieClip 1288 {
}
movieClip 1290 {
}
movieClip 1292 {
}
movieClip 1294 {
}
movieClip 1303 {
}
movieClip 1307 {
}
movieClip 1321 {
}
movieClip 1330 {
}
movieClip 1340 {
}
movieClip 1342 {
}
movieClip 1344 {
}
movieClip 1346 {
}
movieClip 1348 {
}
movieClip 1364 {
}
movieClip 1407 {
}
movieClip 1425 {
}
movieClip 1427 {
}
movieClip 1433 {
}
movieClip 1444 {
}
movieClip 1480 {
}
movieClip 1502 {
}
movieClip 1504 {
}
movieClip 1506 {
}
movieClip 1508 {
}
movieClip 1510 {
}
movieClip 1512 {
}
movieClip 1516 {
}
movieClip 1589 {
}
movieClip 1591 {
}
movieClip 1596 {
}
movieClip 1599 {
}
movieClip 1603 {
}
movieClip 1605 {
}
movieClip 1607 {
}
movieClip 1615 {
}
movieClip 1625 {
}
movieClip 1628 {
}
movieClip 1630 {
}
movieClip 1634 {
}
movieClip 1637 {
}
movieClip 1639 {
}
movieClip 1641 {
}
movieClip 1643 {
}
movieClip 1645 {
}
movieClip 1647 {
}
movieClip 1674 {
}
movieClip 1678 {
}
movieClip 1695 {
}
movieClip 1739 {
}
movieClip 1741 {
}
movieClip 1743 {
}
movieClip 1745 {
}
movieClip 1747 {
}
movieClip 1750 {
}
movieClip 1781 {
}
movieClip 1789 {
}
movieClip 1824 {
}
movieClip 1837 {
}
movieClip 1847 {
}
movieClip 1849 {
}
movieClip 1851 {
}
movieClip 1853 {
}
movieClip 1901 {
}
movieClip 1904 {
}
movieClip 1929 {
}
movieClip 1936 {
}
movieClip 1938 {
}
movieClip 1940 {
}
movieClip 1942 {
}
movieClip 2000 {
}
movieClip 2003 {
}
movieClip 2016 {
}
movieClip 2020 {
}
movieClip 2022 {
}
movieClip 2035 {
}
movieClip 2077 {
}
// unknown tag 88 length 73
movieClip 2248 {
}
movieClip 2252 {
}
movieClip 2302 {
}
movieClip 2304 {
}
movieClip 2332 {
}
movieClip 2334 {
}
movieClip 2336 {
}
movieClip 2338 {
}
movieClip 2340 {
}
movieClip 2342 {
}
movieClip 2353 {
}
movieClip 2356 {
}
movieClip 2358 {
}
movieClip 2360 {
}
movieClip 2362 {
}
movieClip 2364 {
}
movieClip 2366 {
}
movieClip 2368 {
}
movieClip 2370 {
}
movieClip 2372 {
}
movieClip 2379 {
}
movieClip 2383 {
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 2570 {
}
movieClip 2601 {
}
movieClip 2608 {
}
movieClip 2611 {
}
movieClip 2617 {
}
movieClip 2632 {
}
movieClip 2654 {
}
movieClip 2656 {
}
movieClip 2658 {
}
movieClip 2667 {
}
movieClip 2675 {
}
movieClip 2679 {
}
movieClip 2682 {
}
movieClip 2684 {
}
movieClip 2686 {
}
movieClip 2688 {
}
// unknown tag 88 length 78