Frame 1
String.prototype.replace = function (searchStr, replaceStr) {
return(this.split(searchStr).join(replaceStr));
};
Symbol 6 Button
on (release) {
var mylist = "a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vr / w / wg / i / ic / r9k / s4s / cm / hm / lgbt / y / 3 / adv / an / asp / biz / cgl / ck / co / diy / fa / fit / gd / hc / int / jp / lit / mlp / mu / n / out / po / pol / sci / soc / sp / tg / toy / trv / tv / vp / wsg / x".split(" / ");
var x = new LoadVars();
var randomurl = mylist[Math.floor(Math.random() * ((1 + (mylist.length - 1)) - 0)) + 0];
x.load(("./" + randomurl) + "/");
_root.data2.text = randomurl;
x.onLoad = function (success) {
if (success) {
var _local5 = this.toString();
var _local3 = unescape(_local5.replace("a%20href%3D%22%2F%2Fi%2E", newline).replace("%2E", ".").replace(newline, "\nhttp://i."));
_local3 = _local3.split(newline);
var _local4 = _local3.length;
var _local6 = Math.floor(Math.random() * ((1 + (_local4 - 1)) - 1)) + 1;
var _local7 = _local3[_local6].split("\"")[0];
_root.data.text = _local7;
_root.getURL(_root.data.text, "_blank");
} else {
_root.data.text = "http://i.imgur.com/LcRrAzK.jpg";
_root.getURL(_root.data.text, "_blank");
}
};
this.data.text = "http://i.imgur.com/LcRrAzK.jpg";
}