Frame 1
stop();
this.gotoBadSuzy = function () {
getURL ("http://www.badsuzy.com/", "_blank");
};
this.gamezheroMenu = new ContextMenu();
this.gamezheroMenu.builtInItems.forward_back = false;
this.gamezheroMenu.builtInItems.loop = false;
this.gamezheroMenu.builtInItems.play = false;
this.gamezheroMenu.builtInItems.print = false;
this.gamezheroMenu.builtInItems.rewind = false;
this.gamezheroMenu.builtInItems.zoom = false;
this.gamezheroMenu.builtInItems.save = false;
this.gamezheroMenu._parent = this;
this.cm = new ContextMenuItem("Bad Bad Girls at badSuzy.com!!!", this.gotoBadSuzy);
this.cm._parent = this;
this.gamezheroMenu.customItems.push(this.cm);
_root.menu = this.gamezheroMenu;
Frame 2
stop();
Symbol 41 Button
on (release) {
getURL ("http://www.badsuzy.com/?from=cadr1", "_blank");
}
Symbol 42 MovieClip Frame 35
var proc = Math.round((100 * _root.getBytesLoaded()) / _root.getBytesTotal());
trace(proc);
if (proc >= 100) {
gotoAndPlay (47);
}
Symbol 42 MovieClip Frame 43
stop();
this.onEnterFrame = function () {
var _local3 = Math.round((100 * _root.getBytesLoaded()) / _root.getBytesTotal());
trace(_local3);
preloader.gotoAndStop(_local3);
if (_local3 >= 100) {
delete this.onEnterFrame;
play();
}
};
Symbol 42 MovieClip Frame 47
play();
Symbol 42 MovieClip Frame 55
stop();
_root.gotoAndStop(2);
Symbol 51 MovieClip Frame 15
this.removeMovieClip();
Symbol 52 MovieClip Frame 1
item.stop();
item._visible = false;
rotation = 0;
this.onEnterFrame = function () {
var _local2 = this.getNextHighestDepth();
var _local3 = item.duplicateMovieClip("item" + _local2, _local2);
rotation = rotation + 20;
_local3._rotation = rotation;
};
Symbol 70 MovieClip Frame 1
gotoAndPlay(random(30));
Symbol 70 MovieClip Frame 30
gotoAndPlay (2);
Symbol 72 MovieClip Frame 1
i = 0;
n = 200;
napr._alpha = 0;
maxL = 16;
cal = 16286568 /* 0xF88368 */;
this.onEnterFrame = function () {
i = i + 10;
this.clear();
this.lineStyle(16, cal, 100);
this.moveTo(0, 0);
j = 0;
var j = 0;
while (j < n) {
var _local4 = Math.round((maxL - (maxL * (j / n))) + 1);
this.lineStyle(_local4, cal, 100);
var _local3 = j / 4;
var _local2 = j;
var _local5 = _local3 * Math.sin((((_local2 - i) * Math.PI) / 180) * 2);
this.lineTo(_local2, _local5);
j++;
}
};
Symbol 101 MovieClip Frame 1
scoreGameBtn.onPress = function () {
this._parent._parent.play();
};
Symbol 102 MovieClip Frame 1
stop();
_parent.shadowMc._visible = false;
Symbol 102 MovieClip Frame 2
_parent.shadowMc._visible = true;
Symbol 102 MovieClip Frame 5
stop();
Symbol 127 MovieClip Frame 2
stop();
Symbol 128 MovieClip Frame 1
function sendToFriends() {
var _local3 = new LoadVars();
_local3.cardFileName = _global.cardID;
_local3.how = checkBtn._currentframe - 1;
if ((((_level0.fileName == undefined) || (_level0.fileName == null)) || (_level0.fileName == "")) || (_level0.fileName == "undefined")) {
_local3.how = 0;
_local3.params = "mainText=" + escape(_level0.mainText);
} else {
_local3.params = (("fileName=" + _level0.fileName) + "&mainText=") + escape(_level0.mainText);
}
_local3.fromName = nameT.text;
_local3.fromEmail = emailT.text;
_local3.title = titleT.text;
_local3.comment = _level0.mainText;
_local3.toEmail1 = email1.text;
_local3.toEmail2 = email2.text;
_local3.toEmail3 = email3.text;
_local3.sendAndLoad(_global.sendUrl, _local3, "POST");
_local3._parent = this;
sendBtn.enabled = false;
_local3.onLoad = function (how) {
trace("LOADED " + how);
this=this._parent;//parameter overwritten
this._parent;
sendBtn.enabled = true;
};
this._parent.play();
}
nameT.tabIndex = 0;
emailT.tabIndex = 1;
titleT.tabIndex = 2;
email1.tabIndex = 3;
email2.tabIndex = 4;
email3.tabIndex = 5;
sendBtn.onPress = function () {
sendToFriends();
};
cancelBtn.onPress = function () {
this._parent._parent.play();
};
checkBtn.onPress = function () {
this.gotoAndStop(((this._currentframe == 1) ? 2 : 1));
};
Symbol 129 MovieClip Frame 1
stop();
_parent.shadowMc._visible = false;
Symbol 129 MovieClip Frame 2
_parent.shadowMc._visible = true;
Symbol 129 MovieClip Frame 5
stop();
Symbol 131 MovieClip Frame 1
function loadImage() {
trace("load");
if (image.image == undefined) {
image.createEmptyMovieClip("image", image.getNextHighestDepth());
}
image.image._xscale = 100;
image.image._yscale = 100;
obj = new Object();
imgLoader = new MovieClipLoader();
obj.onLoadError = function (trg) {
trg._alpha = 0;
trg.setMask(image.mask);
_quality = "BEST";
gotoAndStop (2);
pr._visible = false;
loadBtn.enabled = true;
};
obj.onLoadInit = function (trg) {
trg._alpha = 0;
trg.setMask(image.mask);
var _local3 = _level0.dx / trg._width;
var _local2 = _level0.dy / trg._height;
var _local1 = Math.max(_local3, _local2);
trg._xscale = 100 * _local1;
trg._yscale = 100 * _local1;
trg._x = (-(trg._width - _level0.dx)) / 2;
trg._y = (-(trg._height - _level0.dy)) / 2;
trg.onEnterFrame = function () {
trg._alpha = trg._alpha + 10;
if (trg._alpha >= 100) {
delete trg.onEnterFrame;
trg._alpha = 100;
}
};
_quality = "BEST";
gotoAndStop (2);
pr._visible = false;
loadBtn.enabled = true;
};
imgLoader.addListener(obj);
imgLoader.loadClip(_global.imagesUrl + _global.fileName, image.image);
trace(_global.imagesUrl + _global.fileName);
}
_global.cardID = "britney_spears";
_level0.cardID = _global.cardID;
_global.imagesUrl = ("http://files.badsuzy.com/files/cards/" + _level0.cardID) + "/";
_global.sendUrl = "http://www.badsuzy.com/common/sendToFriends.php";
System.security.allowDomain("http://files.badsuzy.com/files/britneySpearsLick/", "http://www.badsuzy.com/", "http://badsuzy.com/");
System.security.loadPolicyFile("http://www.badsuzy.com/common/crossdomain.xml");
var allTypes = new Array();
var imageTypes = new Object();
imageTypes.description = "Images (*.jpg, *.jpeg, *.gif, *.png, *.swf)";
imageTypes.extension = "*.jpg; *.jpeg; *.gif; *.png; *.swf";
allTypes.push(imageTypes);
var listener = new Object();
listener.onSelect = function (file) {
trace("onSelect: " + file.name);
_global.fileName = new Date().getTime() + ".jpg";
_level0.fileName = _global.fileName;
if (!file.upload((("http://www.badsuzy.com/common/getFile.php?fileName=" + _level0.fileName) + "&cardFileName=") + _level0.cardID)) {
trace("Upload dialog failed to open.");
pr._visible = false;
loadBtn.enabled = true;
} else {
image.image.onEnterFrame = function () {
image.image._alpha = image.image._alpha - 10;
if (image.image._alpha <= 0) {
image.image._alpha = 0;
delete image.image.onEnterFrame;
}
};
pr._visible = true;
}
};
listener.onCancel = function (file) {
trace("onCancel");
};
listener.onOpen = function (file) {
trace("onOpen: " + file.name);
};
listener.onProgress = function (file, bytesLoaded, bytesTotal) {
trace((("onProgress with bytesLoaded: " + bytesLoaded) + " bytesTotal: ") + bytesTotal);
};
listener.onComplete = function (file) {
trace("onComplete: " + file.name);
loadImage();
};
listener.onHTTPError = function (file) {
trace("onHTTPError: " + file.name);
};
listener.onIOError = function (file) {
trace("onIOError: " + file.name);
};
listener.onSecurityError = function (file, errorString) {
trace((("onSecurityError: " + file.name) + " errorString: ") + errorString);
};
var fileRef = (new flash.net.FileReference());
fileRef.addListener(listener);
stop();
_level0.dx = 317;
_level0.dy = 367;
if ((((_level0.mainText == undefined) || (_level0.mainText == null)) || (_level0.mainText == "undefined")) || (_level0.mainText == "")) {
_level0.mainText = "Who is Kevin? My Baby from Bred Pit!!!";
}
if ((((_level0.fileName == undefined) || (_level0.fileName == null)) || (_level0.fileName == "undefined")) || (_level0.fileName == "")) {
_global.fileName = undefined;
gotoAndStop (2);
} else {
_global.fileName = _level0.fileName;
loadImage();
}
Symbol 131 MovieClip Frame 2
shadowMc._visible = false;
shadowMc.onPress = true;
shadowMc.useHandCursor = false;
loadBtn.onPress = function () {
fileRef.browse(allTypes);
loadBtn.enabled = false;
};
badSuzyBtn.onPress = function () {
getURL ("http://www.badsuzy.com/?from=" + _level0.cardID, "_blank");
};
allCardsBtn.onPress = function () {
getURL ("http://www.badsuzy.com/card/" + _level0.cardID, "_blank");
};
allCardsBtn.onPress = function () {
getURL ("http://www.badsuzy.com/card/" + _level0.cardID, "_blank");
};
getUrlBtn.onPress = function () {
getURL ((((("http://www.badsuzy.com/card/" + _level0.cardID) + "/show.php?h=1&fileName=") + _global.fileName) + "&mainText=") + _level0.mainText, "_blank");
};
editBtn.onPress = function () {
textMc.gotoAndPlay(2);
};
sendBtn.onPress = function () {
sendMc.gotoAndPlay(2);
};
pr._visible = false;
_quality = "BEST";