Combined Code
frame 1 {
NewgroundsAPI.connectMovie(7591);
}
movieClip 4 {
}
movieClip 8 {
}
movieClip 18 {
frame 40 {
stop();
}
}
movieClip 31 {
}
button 32 {
on (press) {
tellTarget ('_root') {
nextFrame();
}
}
}
button 33 {
on (press) {
gotoAndStop('end');
_root.play();
}
}
movieClip 34 {
instance of movieClip 8 {
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 40 {
on (release) {
NewgroundsAPI.loadNewgrounds();
}
}
button 46 {
on (release) {
NewgroundsAPI.loadNewgrounds();
}
}
movieClip 47 {
}
movieClip 48 {
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 124 {
}
movieClip 126 {
}
movieClip 380 {
}
movieClip 419 {
}
movieClip 431 {
}
frame 3681 {
stop();
}
button 454 {
on (release) {
gotoAndPlay(2);
}
}