Combined Code
frame 1 {
NewgroundsAPI.connectMovie(3477);
}
frame 1 {
mysound = new Sound();
mysound.attachSound();
playtime = 0;
playOn = true;
}
movieClip 6 {
}
movieClip 10 {
}
movieClip 20 {
frame 40 {
stop();
}
}
movieClip 33 {
}
button 34 {
on (press) {
tellTarget ('_root') {
nextFrame();
}
}
}
button 35 {
on (press) {
gotoAndStop('end');
_root.play();
}
}
movieClip 36 {
instance of movieClip 10 {
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 42 {
on (release) {
NewgroundsAPI.loadNewgrounds();
}
}
button 48 {
on (release) {
NewgroundsAPI.loadNewgrounds();
}
}
movieClip 49 {
}
movieClip 50 {
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();
}
}
frame 2 {
stop();
}
button 55 {
on (press) {
gotoAndStop(2);
}
}
button 58 {
on (press) {
gotoAndStop(3);
}
}
button 73 {
on (press) {
getURL('http://www.gun-chest.com/index.html', '_blank');
}
}
movieClip 130 {
}
movieClip 2975 {
}
movieClip 3208 {
}
movieClip 3211 {
}
movieClip 3213 {
}
movieClip 3215 {
}
movieClip 3809 {
frame 9746 {
_root.gotoAndStop('1');
}
}
movieClip 3810 {
}
movieClip 3811 {
}
movieClip 3812 {
frame 1 {
stop();
mysound = new Sound();
mysound.attachSound();
mysound.setVolume(100);
playtime = 0;
playOn = true;
if (_root.playOn == true) {
_root.startTime = getTimer();
_root.Offset = playtime / 1000;
_root.mysound.start(_root.Offset, 8);
_root.playOn = false;
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}