Frame 1
NewgroundsAPI.connectMovie(2367);
Symbol 3 Button
on (release) {
getURL ("http://www.casualtygamer.com", "_blank");
}
Symbol 11 Button
on (release) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 17 Button
on (release) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 19 MovieClip 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");
}
};
ngads_redirect.load(ngad_url);
}
if (NewgroundsAPI.getAdURL()) {
startAd(NewgroundsAPI.getAdURL());
}
NewgroundsAPI.onAdsApproved = function (ad_url) {
startAd(ad_url);
};
stop();
Symbol 27 Button
on (release) {
_root.gotoAndStop(2);
}
Symbol 28 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndPlay ("loaded");
}
Symbol 28 MovieClip Frame 2
gotoAndPlay (1);
Symbol 28 MovieClip Frame 21
stop();
Symbol 255 MovieClip [__Packages.NewgroundsAPI] Frame 0
class NewgroundsAPI
{
static var tracker_id, host, version, debug, error_format, header_format, normal_format, link_format;
function NewgroundsAPI () {
}
static function connectMovie(id) {
if (!id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.connectMovie(id:Number)");
} else if (!tracker_id) {
SendMessage("Connecting to API gateway...");
tracker_id = id;
host = _url.split("/")[2].toLowerCase();
if (host.length < 1) {
host = "localhost";
}
var _local2 = new Object();
SendEvent(MOVIE_VIEWS);
}
}
static function setMovieVersion(movie_version) {
if (!movie_version) {
SendError("Missing required 'version' in NewgroundsAPI.setMovieVersion(version:String)");
} else {
version = movie_version;
}
}
static function debugMode() {
debug = true;
}
static function addCustomEvent(stat_id, stat_name) {
if (!stat_id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)");
} else if (!stat_name) {
SendError("Missing required 'event_name' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)");
} else {
custom_events[stat_name] = CUSTOM_STATS + stat_id;
SendMessage("Created custom event: " + stat_name);
}
}
static function addCustomLink(stat_id, stat_name) {
if (!stat_id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)");
} else if (!stat_name) {
SendError("Missing required 'link_name' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)");
} else {
custom_links[stat_name] = CUSTOM_STATS + stat_id;
SendMessage((("Created custom link " + stat_id) + ": ") + stat_name);
}
}
static function loadMySite() {
SendLink(AUTHOR_SITE);
}
static function loadNewgrounds(special) {
if (special) {
var _local1 = {page:special};
}
SendLink(NEWGROUNDS, _local1);
}
static function logCustomEvent(event_name) {
if (!event_name) {
SendError("Missing required 'event_name' parameter in NewgroundsAPI.logCustomEvent(event_name:String)");
} else if (!custom_events[event_name]) {
SendError("Attempted to log undefined custom event: " + event_name);
} else {
SendEvent(custom_events[event_name]);
}
}
static function loadCustomLink(link_name) {
if (!link_name) {
SendError("Missing required 'link_name' parameter in NewgroundsAPI.loadCustomLink(link_name:String)");
} else if (!custom_links[link_name]) {
SendError("Attempted to open undefined custom link: " + link_name);
} else {
SendLink(custom_links[link_name]);
}
}
static function getAdURL() {
return(movie_options.ad_url);
}
static function getMovieURL() {
if (movie_options.movie_url) {
return(movie_options.movie_url);
}
return("Newgrounds.com");
}
static function getNewVersionURL() {
return((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + NEW_VERSION);
}
static function SendEvent(id) {
SendStat(id, false);
}
static function SendLink(id, extra) {
SendStat(id, true, extra);
}
static function ReadGatewayData(params) {
for (var _local2 in params) {
params[_local2] = unescape(params[_local2]);
movie_options[_local2] = params[_local2];
}
if (params.settings_loaded) {
SendMessage("You have successfully connected to the Newgrounds API gateway!");
SendMessage(("Movie Identified as '" + movie_options.movie_name) + "'");
if (movie_options.message) {
SendMessage(movie_options.message);
}
if (movie_options.ad_url) {
SendMessage("Your movie has been approved to run Flash Ads");
onAdsApproved(movie_options.ad_url);
}
if (movie_options.movie_version and (movie_options.movie_version.toString() != version.toString())) {
SendMessage("WARNING: The movie version configured in your API settings does not match this movie's version!");
onNewVersionAvailable(movie_options.movie_version, getMovieURL(), getNewVersionURL());
}
if (movie_options.deny_host) {
SendMessage("You have blocked 'localHost' in your API settings.");
SendMessage("If you wish to test your movie you will need to remove this block.");
onDenyHost(host, getMovieURL(), getNewVersionURL());
}
if (movie_options.request_portal_url == 1) {
var _local4 = (((GATEWAY_URL + "?&id=") + tracker_id) + "&portal_url=") + escape(_url);
var _local3 = new XML();
_local3.ignoreWhite = true;
_local3.load(_local4);
}
} else if (!movie_options.settings_loaded) {
SendError("Could not establish connection to the API gateway.");
}
}
static function SendStat(stat_id, open_in_browser, extra) {
if (!tracker_id) {
SendError("API calls cannot be made without a valid movie id.");
SendError("Did you remember to add the \"NewgroundsAPI.connectMovie()\" code?");
} else {
var _local7 = (((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + stat_id;
for (var _local9 in extra) {
_local7 = _local7 + ((("&" + escape(_local9)) + "=") + escape(extra[_local9]));
}
trace(_local7);
if (debug) {
_local7 = _local7 + "&debug=1";
}
if (open_in_browser) {
getURL (_local7, "_blank");
} else {
var _local10 = new XML();
_local10.ignoreWhite = true;
_local10.onLoad = function (success) {
var _local6 = new Object();
var _local3 = 0;
while (_local3 < this.firstChild.childNodes.length) {
var _local4 = this.firstChild.childNodes[_local3];
var _local5 = _local4.nodeName;
var _local2 = _local4.attributes.value;
if (_local2 == Number(_local2)) {
_local2 = Number(_local2);
}
_local6[_local5] = _local2;
_local3++;
}
NewgroundsAPI.ReadGatewayData(_local6);
};
_local10.load(_local7);
}
}
}
static function SendError(msg) {
trace("[NEWGROUNDS API ERROR] :: " + msg);
}
static function SendMessage(msg) {
trace("[NEWGROUNDS API] :: " + msg);
}
static function InitTextFormats() {
if (!error_format) {
error_format = new TextFormat();
error_format.font = "Arial Black";
error_format.size = 48;
error_format.color = 16711680 /* 0xFF0000 */;
}
if (!header_format) {
header_format = new TextFormat();
header_format.font = "Arial Black";
header_format.size = 24;
header_format.color = 16777215 /* 0xFFFFFF */;
}
if (!normal_format) {
normal_format = new TextFormat();
normal_format.font = "Arial";
normal_format.bold = true;
normal_format.size = 12;
normal_format.color = 16777215 /* 0xFFFFFF */;
}
if (!link_format) {
link_format = new TextFormat();
link_format.color = 16776960 /* 0xFFFF00 */;
link_format.underline = true;
}
}
static function onNewVersionAvailable(version, movie_url, redirect_url) {
InitTextFormats();
var _local2 = new Object();
_local2.x = Stage.width / 2;
_local2.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(_local2.x - 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.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(_local2.x + 210, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.endFill();
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 214, _local2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 226, _local2.y - 94);
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 226, _local2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 214, _local2.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 _local3 = (("Version " + version) + " is now available at:") + newline;
var _local5 = _local3.length;
_local3 = _local3 + movie_url;
var _local4 = _local3.length;
_root.NGAPI_new_version_overlay.createTextField("mouseblocker", 99, -10, -10, 1000, 1000);
_root.NGAPI_new_version_overlay.createTextField("newversion", 100, _local2.x - 210, _local2.y - 90, 400, 80);
_root.NGAPI_new_version_overlay.newversion.text = "New Version Available!";
_root.NGAPI_new_version_overlay.newversion.setTextFormat(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 = _local3;
_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(normal_format);
link_format.url = redirect_url;
_root.NGAPI_new_version_overlay.message.setTextFormat(_local5, _local4, link_format);
}
static function onDenyHost(hostname, movie_url, redirect_url) {
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 _local2 = ("This movie has not been approved for use on " + hostname) + ".";
_local2 = _local2 + "\r\rFor an aproved copy, please visit:\r";
var _local4 = _local2.length;
_local2 = _local2 + movie_url;
var _local3 = _local2.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(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 = _local2;
_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(normal_format);
link_format.url = redirect_url;
_root.NGAPI_deny_host_overlay.message.setTextFormat(_local4, _local3, link_format);
}
static function isInstalled() {
return(true);
}
static function onAdsApproved(ad_url) {
}
static var movie_options = new Object();
static var custom_events = new Object();
static var custom_links = new Object();
static var MOVIE_VIEWS = 1;
static var AUTHOR_SITE = 2;
static var NEWGROUNDS = 3;
static var NEW_VERSION = 4;
static var CUSTOM_STATS = 50;
static var GATEWAY_URL = "http://www.ngads.com/gateway.php";
}
Symbol 40 MovieClip Frame 6
stop();
Symbol 74 MovieClip Frame 315
_root.gotoAndPlay(3);
Symbol 94 MovieClip Frame 1
function onEnterFrame() {
rp = LipCode[_parent._currentframe] * moveMax;
mouthMove = headPos - rp;
var _local2 = _parent.head._y;
_parent.head._y = _parent.head._y + ((mouthMove - _parent.head._y) / smoothMax);
if (_parent.head._y < _local2) {
if (random(rotateChance) == 0) {
_parent.head._rotation = random(rotateMax) - (rotateMax / 2);
}
}
_parent.head._rotation = _parent.head._rotation / 1.1;
}
var moveMax = 5;
var smoothMax = 7;
var rotateChance = 12;
var rotateMax = 10;
var LipCode = new Array(0, 0, 0, 1, 2, 2, 2, 5, 5, 7, 5, 5, 2, 2, 2, 2, 5, 1, 1, 5, 3, 3, 4, 4, 3, 3, 3, 3, 4, 4, 3, 2, 3, 3, 3, 3, 0, 0, 3, 3, 3, 3, 4, 2, 1, 3, 1, 2, 5, 5, 5, 1, 3, 4, 4, 3, 3, 2, 0, 3, 1, 3, 3, 3, 3, 4, 3, 2, 1, 2, 3, 3, 2, 4, 3, 0, 2, 2, 2, 2, 3, 3, 3, 4, 0, 2, 2, 4, 4, 3, 3, 1, 4, 4, 4, 3, 2, 2, 3, 2, 1, 2, 2, 3, 2, 3, 3, 1, 3, 4, 6, 6, 0, 0, 5, 4, 4, 2, 1, 2, 2, 1, 1, 0, 0, 0, 0, 0, 0, 1, 2, 2, 2, 5, 5, 3, 3, 3, 4, 4, 4, 1, 1, 3, 1,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 1, 1, 1, 2, 3, 4, 2, 2, 6, 1, 1, 2, 3, 2, 0, 3, 4, 4, 3, 3, 3, 1, 2, 3, 1, 0, 3, 3, 3, 2, 2, 1, 2, 1, 0, 2, 0, 2, 2, 2, 2, 2, 0, 1, 2, 0, 1, 4, 4, 2, 1, 1, 2, 2, 2, 2, 1, 5, 5, 3, 3, 3, 2, 2, 3, 3, 1, 3, 3, 2, 2, 2, 2, 5, 4, 5, 1, 1, 1, 0, 0, 0);
var headPos = _parent.head._y;
var counter = 0;
var startFrame = _currentframe;
Symbol 102 MovieClip Frame 1
function onEnterFrame() {
movieTimer = _parent._currentframe;
var _local2 = 0;
var _local3 = 0;
while (_local2 < movieTimer) {
_local2++;
if (_local2 > timeArray[_local3]) {
_local3++;
}
}
subText = textArray[_local3 - 1];
}
var timeArray = new Array(0, 125, 238, 325, 388, 479, 588, 719, 831, 927, 1076, 1160, 1231, 1361, 1495, 1520, 1635, 1682, 1748, 1877, 1963, 2106, 2198, 2332, 2379, 2510, 2653, 2723, 2825, 2928, 2997, 3122, 3254, 3350, 3395);
var textString = "SEGA was founded in 1940 with the intent of producing early coin operated games for military bases,@and later moved to Japan, but our story begins much later, in 1989.@Nintendo was dominating the home console market,burying SEGA's own offering,@The Master System, with the Nintendo Entertainment System.@To counter this, SEGA posistioned it's next home console towards the teenage market,@ and released the now infamous Ad campaign slogan: 'Genesis does what Nintendon't'.@Due to a tradmark violation in Europe, the Genesis was reverted to it's Japanese name the MegaDrive and recieved a@luke warm reception, mainly because there was currently no 'Killer App' which could sell the console on name alone,@and the Industy was still buzzing around the ground breakng Super Mario Bros 3 at the time.@Aiming the console at the Frat boy audience with sports based game could only bring sales so far, and in 1991 days of@intense executive meetings lead to the manufacture of SOnic the Hedgehog.@Compared to Mario, who was the product of a Game Artists Imagination,@Sonic was a PR agent's dream. He was slick, cool, and appealing to the the target audience of the day.@Sonic was designed for one thing and one thing alone - to get SEGA out of the rut it had dug itself into, and it worked@- he rocked.@Coupled with an awesome platform game,a huge marketing campaign based around imaginary buzzwords@(Blast processing, look it up!)@Consoles seemed to be the only thing shifting faster than Sonic himself...@Nintendo wasn't going down without a fight however, and released the Super Nintendo as a late comer to the 16bit era.@SEGA's headstart meant refined sequels competing against Nintendo's early efforts.@Sonic 2 is widely considered one of the best games of the early 90's, and sales initially wiped the floor with Nintendo's offering.@This was not to last, however, as Nintendo came into it's own and released updated versions@of it's classics in the form of Super Mario World, Legend of Zelda A Link to the Past, Super Metroid and others@destroyed Genesis cartridge sales.@3rd party support gradually slipped away from SEGA, and the incremental sports games releases were adding nothing to the genre,@and sales slowed. Nintendo offered titles such as Squaresoft's Final Fantasy series, while Genesis owners had the latest@confusing incarnation of EA's madden series.@It seemed all over for the Genesis. But while Nintendo sales were marginally higher, SEGA still@commanded massive respect from gamers. Afterall, the Genesis was still an excellent console.@But a series of terrible, terrible descisions were about to be made.@Nintendo's development of the Super FX chip left the Genesis technically lacking, and SEGA's answer to the problem@- add on after add on in the form of SEGA CD, 32X and numerous game 'enhancing' peripherals@were all met with consumer rejection, and sent SEGA to downward spiral it would@not recover from during that generation.@";
var textArray = textString.split("@");
Symbol 106 Button
on (release) {
playBut._alpha = 50;
stopBut._alpha = 100;
playActive = true;
}
Symbol 110 Button
on (release) {
targetMovie.gotoAndStop(1);
}
Symbol 111 Button
on (release) {
targetMovie.gotoAndStop(targetMovie._totalframes);
}
Symbol 112 Button
on (release) {
playBut._alpha = 100;
stopBut._alpha = 50;
playActive = false;
}
Symbol 116 Button
on (press) {
sliderActive = true;
}
Symbol 117 MovieClip Frame 1
function onEnterFrame() {
if (_parent._ymouse > yPos) {
slideUp = yPos - slideDistance;
} else if (_parent._ymouse < (yPos - slideDistance)) {
slideUp = yPos;
}
_y = (_y + ((slideUp - _y) / slideSpeed));
if (sliderActive == true) {
slider._x = slider._x + ((_xmouse - slider._x) / 3);
if (slider._x > 300) {
slider._x = 300;
} else if (slider._x < 0) {
slider._x = 0;
}
targetMovie.gotoAndStop(Math.round((targetMovie._totalframes / 300) * slider._x));
} else {
slider._x = Math.round((300 / targetMovie._totalframes) * targetMovie._currentframe);
if (playActive == true) {
if (playActiveSwitch == false) {
targetMovie.play();
playActiveSwitch = true;
}
} else {
playActiveSwitch = false;
targetMovie.stop();
}
}
currentBar._width = slider._x;
}
function onMouseUp() {
playActiveSwitch = false;
sliderActive = false;
}
var targetMovie = _parent;
var slideSpeed = 6;
var slideDistance = 56;
var playActive = true;
var playActiveSwitch = true;
var sliderActive = false;
var yPos = _y;
var slideUp = yPos;