Frame 1
Stage.showMenu = false;
NewgroundsAPI.connectMovie(1232);
NewgroundsAPI.setMovieVersion("0.81");
function bolhas(bolha) {
vely = random(6) + 1;
bolha.vely = vely;
bolha._y = Hig + random(200);
bolha._x = random(Wid);
tamanho = random(6) + 10;
bolha._width = tamanho;
bolha._height = tamanho;
}
stop();
var pct;
var totalC;
var totalE;
var bolas = 100;
var Wid = 600;
var Hig = 600;
var i;
var vely;
var lingua;
var boom = false;
i = 0;
while (i < bolas) {
_root.attachMovie("bola1", "bola" + i, getNextHighestDepth());
ball = eval ("bola" + i);
bolhas(ball);
i++;
}
onEnterFrame = function () {
i = 0;
while (i < bolas) {
ball = eval ("bola" + i);
ball._y = ball._y - ball.vely;
if ((ball._y + 30) < 0) {
bolhas(ball);
}
if (boom == true) {
ball.play();
}
i++;
}
totalE = _root.getBytesTotal();
totalC = _root.getBytesLoaded();
pct = Math.round((totalC * 100) / totalE);
pct_txt.text = pct + "%";
};
brasil_btn.onPress = function () {
if (pct == 100) {
lingua = "pt";
play();
}
};
brasil_btn.onRollOver = function () {
if (pct == 100) {
this.gotoAndStop(2);
}
};
brasil_btn.onRollOut = function () {
this.gotoAndStop(1);
};
usa_btn.onPress = function () {
if (pct == 100) {
lingua = "en";
play();
}
};
usa_btn.onRollOver = function () {
if (pct == 100) {
this.gotoAndStop(2);
}
};
usa_btn.onRollOut = function () {
this.gotoAndStop(1);
};
Frame 30
stop();
jogar_mc.onPress = function () {
boom = true;
gotoAndPlay (70);
};
howtoplay_mc.onPress = function () {
exp_mc._alpha = 100;
exp_mc.SHOW();
howtoplay_mc._x = -300;
jogar_mc._x = -300;
op_mc._x = -300;
};
Frame 81
function bolhas(bolha) {
velx = 0;
vely = random(4) + 1;
bolha._y = Hig + random(200);
bolha._x = random(Wid);
tamanho = random(6) + 10;
bolha._width = tamanho;
bolha._height = tamanho;
bolha.velx = velx;
bolha.vely = -vely;
}
function cor(bola) {
corpct = random(215);
if ((corpct >= 0) && (corpct < 160)) {
_root.attachMovie("bola1", "bola" + i, i);
ball = eval ("bola" + i);
ball.tipo = 1;
}
if ((corpct >= 160) && (corpct < 180)) {
_root.attachMovie("bola3", "bola" + i, i);
ball = eval ("bola" + i);
ball.tipo = 3;
}
if ((corpct >= 180) && (corpct < 199)) {
_root.attachMovie("bola4", "bola" + i, i);
ball = eval ("bola" + i);
ball.tipo = 4;
pexist++;
trace(pexist);
}
if ((corpct >= 199) && (corpct < 200)) {
_root.attachMovie("bola2", "bola" + i, i);
ball = eval ("bola" + i);
ball.tipo = 2;
}
if ((corpct >= 200) && (corpct < 215)) {
_root.attachMovie("bola5", "bola" + i, i);
ball = eval ("bola" + i);
ball.tipo = 5;
}
if ((corpct >= 215) && (corpct < 220)) {
_root.attachMovie("bola6", "bola" + i, i);
ball = eval ("bola" + i);
ball.tipo = 6;
}
}
function criarbolhas() {
area_mc.startDrag(Mouse);
bolas = (lvl * lvl) + 9;
exist = bolas;
vidas = vidas + lvl;
i = 0;
while (i < bolas) {
cor(ball);
bolhas(ball);
i++;
}
}
function explode(bola) {
if (over == false) {
if (this.ball._currentframe == 1) {
score++;
switch (ball.tipo) {
case 1 :
break;
case 2 :
explodetudo = true;
pexist = 0;
break;
case 3 :
vidas = vidas + 5;
break;
case 4 :
if (explodetudo == false) {
score--;
vidas = 0;
}
break;
case 5 :
booms++;
break;
case 6 :
if (aumentar != false) {
break;
}
vidas = vidas - 5;
}
exist--;
ball.play();
}
} else {
bola.play();
}
}
stop();
area_mc.useHandCursor = false;
var bolas;
var velx;
var vely;
var i;
var exist;
var pexist = 0;
var vidas = 1;
var lvl = 1;
var score = 0;
var Wid = 600;
var Hig = 600;
var booms = 1;
var aumentar = false;
var over = false;
var explodetudo = false;
again_mc.denovo_txt.text = "";
menu_mc.menu_txt.text = "";
score_txt.text = "";
area_mc.onPress = function () {
if (booms >= 1) {
aumentar = true;
area_mc._alpha = 100;
booms--;
}
};
area_mc.onRelease = function () {
if (area_mc._alpha == 100) {
var j = 0;
while (j < bolas) {
ball = eval ("bola" + j);
if (ball.hitTest(area_mc)) {
explode(ball);
}
j++;
}
aumentar = false;
area_mc._height = 50;
area_mc._width = 50;
area_mc._alpha = 0;
}
};
onEnterFrame = function () {
if (vidas <= 0) {
area_mc.stopDrag();
area_mc._alpha = 0;
area_mc._x = 0;
over = true;
explodetudo = true;
pexist = 0;
again_mc.denovo_txt.text = ((_root.lingua == "pt") ? "Tentar de novo" : "Try again");
menu_mc.menu_txt.text = ((_root.lingua == "pt") ? "Menu Principal" : "Main Menu");
score_txt.text = ((lingua == "pt") ? (("Voc\u00EA fez " + score) + " pontos") : (("You made " + score) + " points"));
again_mc._alpha = 100;
again_mc.useHandCursor = false;
again_mc.onPress = function () {
again_mc.denovo_txt.text = "";
score_txt.text = "";
again_mc._alpha = 0;
vidas = 1;
lvl = 1;
score = 0;
booms = 1;
over = false;
explodetudo = false;
criarbolhas();
};
menu_mc.useHandCursor = false;
menu_mc.onPress = function () {
gotoAndStop ("menu");
};
}
if (aumentar == true) {
area_mc._height++;
area_mc._width++;
}
ex_txt.text = booms;
vida_txt.text = ((lingua == "pt") ? ("Vidas: " + vidas) : ("Lifes: " + vidas));
lvl_txt.text = "Level: " + lvl;
i = 0;
while (i < bolas) {
ball = eval ("bola" + i);
ball._x = ball._x + ball.velx;
ball._y = ball._y + ball.vely;
if (ball.hitTest(_xmouse, _ymouse, 0)) {
explode(ball);
}
if (explodetudo == true) {
explode(ball);
}
if (((ball._y + 30) < 0) && (over == false)) {
if (ball.tipo != 4) {
vidas--;
}
bolhas(ball);
}
i++;
}
};
criarbolhas();
Symbol 6 MovieClip [bola6] Frame 1
stop();
Symbol 6 MovieClip [bola6] Frame 24
if ((_root.exist <= 0) && (pexist != 0)) {
_root.lvl++;
if (_root.over == false) {
_root.explodetudo = false;
_root.criarbolhas();
}
} else if (_root.pexist == _root.exist) {
_root.pexist = 0;
_root.explodetudo = true;
}
this.removeMovieClip();
Symbol 12 MovieClip [bola5] Frame 1
stop();
Symbol 12 MovieClip [bola5] Frame 24
if ((_root.exist <= 0) && (pexist != 0)) {
_root.lvl++;
if (_root.over == false) {
_root.explodetudo = false;
_root.criarbolhas();
}
} else if (_root.pexist == _root.exist) {
_root.pexist = 0;
_root.explodetudo = true;
}
this.removeMovieClip();
Symbol 16 MovieClip [bola4] Frame 1
stop();
Symbol 16 MovieClip [bola4] Frame 24
if ((_root.exist <= 0) && (pexist != 0)) {
_root.lvl++;
if (_root.over == false) {
_root.explodetudo = false;
_root.criarbolhas();
}
} else if (_root.pexist == _root.exist) {
_root.pexist = 0;
_root.explodetudo = true;
}
this.removeMovieClip();
Symbol 20 MovieClip [bola3] Frame 1
stop();
Symbol 20 MovieClip [bola3] Frame 24
if ((_root.exist <= 0) && (pexist != 0)) {
_root.lvl++;
if (_root.over == false) {
_root.explodetudo = false;
_root.criarbolhas();
}
} else if (_root.pexist == _root.exist) {
_root.pexist = 0;
_root.explodetudo = true;
}
this.removeMovieClip();
Symbol 24 MovieClip [bola2] Frame 1
stop();
Symbol 24 MovieClip [bola2] Frame 24
if ((_root.exist <= 0) && (pexist != 0)) {
_root.lvl++;
if (_root.over == false) {
_root.explodetudo = false;
_root.criarbolhas();
}
} else if (_root.pexist == _root.exist) {
_root.pexist = 0;
_root.explodetudo = true;
}
this.removeMovieClip();
Symbol 28 MovieClip [bola1] Frame 1
stop();
Symbol 28 MovieClip [bola1] Frame 24
if ((_root.exist <= 0) && (pexist != 0)) {
_root.lvl++;
if (_root.over == false) {
_root.explodetudo = false;
_root.criarbolhas();
}
} else if (_root.pexist == _root.exist) {
_root.pexist = 0;
_root.explodetudo = true;
}
this.removeMovieClip();
Symbol 45 Button
on (release) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 51 Button
on (release) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 53 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 58 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 1
stop();
Symbol 115 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 63 MovieClip Frame 1
bolhas_txt.text = ((_root.lingua == "pt") ? "Bolhas" : "Bubbles");
Symbol 64 MovieClip Frame 98
stop();
Symbol 67 MovieClip Frame 1
jogar_txt.text = ((_root.lingua == "pt") ? "Jogar" : "Play");
Symbol 68 MovieClip Frame 56
stop();
Symbol 70 MovieClip Frame 1
howto_txt.text = ((_root.lingua == "pt") ? "Como Jogar" : "How to Play");
Symbol 71 MovieClip Frame 56
stop();
Symbol 75 MovieClip Frame 1
stop();
low_txt.text = ((_root.lingua == "pt") ? "Baixa" : "Low");
Symbol 75 MovieClip Frame 2
stop();
low_txt.text = ((_root.lingua == "pt") ? "Baixa" : "Low");
Symbol 78 MovieClip Frame 1
stop();
medium_txt.text = ((_root.lingua == "pt") ? "M\u00E9dia" : "Medium");
Symbol 78 MovieClip Frame 2
stop();
medium_txt.text = ((_root.lingua == "pt") ? "M\u00E9dio" : "Medium");
Symbol 81 MovieClip Frame 1
stop();
high_txt.text = ((_root.lingua == "pt") ? "Alta" : "High");
Symbol 81 MovieClip Frame 2
stop();
high_txt.text = ((_root.lingua == "pt") ? "Alta" : "High");
Symbol 83 MovieClip Frame 1
op_txt.text = ((_root.lingua == "pt") ? "Qualidade" : "Quality");
Symbol 84 MovieClip Frame 1
if (_root._quality == "LOW") {
l_mc.gotoAndStop(2);
}
if (_root._quality == "MEDIUM") {
m_mc.gotoAndStop(2);
}
if (_root._quality == "HIGH") {
h_mc.gotoAndStop(2);
}
l_mc.onPress = function () {
_root._quality = "LOW";
l_mc.gotoAndStop(2);
m_mc.gotoAndStop(1);
h_mc.gotoAndStop(1);
};
m_mc.onPress = function () {
_root._quality = "MEDIUM";
l_mc.gotoAndStop(1);
m_mc.gotoAndStop(2);
h_mc.gotoAndStop(1);
};
h_mc.onPress = function () {
_root._quality = "HIGH";
l_mc.gotoAndStop(1);
m_mc.gotoAndStop(1);
h_mc.gotoAndStop(2);
};
Symbol 84 MovieClip Frame 56
stop();
Symbol 106 MovieClip Frame 1
if (_root.exp_mc._alpha == 100) {
txt_txt.text = ((_root.lingua == "pt") ? "Precione" : "Press");
}
Symbol 106 MovieClip Frame 18
if (_root.exp_mc._alpha == 100) {
txt_txt.text = ((_root.lingua == "pt") ? "Segure" : "Hold");
}
Symbol 106 MovieClip Frame 47
if (_root.exp_mc._alpha == 100) {
txt_txt.text = ((_root.lingua == "pt") ? "Solte" : "Release");
}
Symbol 108 MovieClip Frame 1
stop();
mais_mc.onPress = function () {
if (_currentframe < 5) {
gotoAndStop(_currentframe + 1);
}
};
menos_mc.onPress = function () {
if (_currentframe > 1) {
gotoAndStop(_currentframe - 1);
}
};
x_mc.onPress = function () {
_root.exp_mc.gotoAndStop(1);
_root.exp_mc._alpha = 0;
_root.howtoplay_mc._x = 298.9;
_root.jogar_mc._x = 300;
_root.op_mc._x = 299.3;
ex_mc.txt_txt.text = "";
howto_txt.text = "";
this.txt_txt.text = "";
txt_txt.text = "";
txt1_txt.text = "";
txt2_txt.text = "";
};
function SHOW() {
if (_root.exp_mc._alpha == 100) {
x_mc.txt_txt.text = ((_root.lingua == "pt") ? "Voltar" : "Back");
howto_txt.text = ((_root.lingua == "pt") ? "Como Jogar" : "How to Play");
txt_txt.text = ((_root.lingua == "pt") ? "Esse jogo tem 5 tipos de bolha e cada uma tem suas propriedades" : "This game has 5 types of bubble, and each one has its own properties");
}
}
SHOW();
Symbol 108 MovieClip Frame 2
function SHOW() {
if (_root.exp_mc._alpha == 100) {
x_mc.txt_txt.text = ((_root.lingua == "pt") ? "Voltar" : "Back");
howto_txt.text = ((_root.lingua == "pt") ? "Como Jogar" : "How to Play");
txt_txt.text = ((_root.lingua == "pt") ? "Voc\u00EA s\u00F3 precisa passar em cima delas que elas ir\u00E3o explodir" : "You just need to pass over them and they will pop");
}
}
SHOW();
Symbol 108 MovieClip Frame 3
function SHOW() {
if (_root.exp_mc._alpha == 100) {
x_mc.txt_txt.text = ((_root.lingua == "pt") ? "Voltar" : "Back");
howto_txt.text = ((_root.lingua == "pt") ? "Como Jogar" : "How to Play");
txt_txt.text = ((_root.lingua == "pt") ? "Da mais um ponto" : "Gives more 1 point");
txt1_txt.text = ((_root.lingua == "pt") ? "Da mais um ponto e mais 5 vidas" : "Gives more 1 point and more 5 lifes.");
txt2_txt.text = ((_root.lingua == "pt") ? "Essa vai explodir todas as outras" : "This will pop all the balls.");
}
}
SHOW();
Symbol 108 MovieClip Frame 4
function SHOW() {
if (_root.exp_mc._alpha == 100) {
x_mc.txt_txt.text = ((_root.lingua == "pt") ? "Voltar" : "Back");
howto_txt.text = ((_root.lingua == "pt") ? "Como Jogar" : "How to Play");
txt_txt.text = ((_root.lingua == "pt") ? "Da mais um ponto e mais uma explos\u00E3o" : "Gives more 1 point and more 1 explosion");
txt1_txt.text = ((_root.lingua == "pt") ? "Essa vai fazer voc\u00EA perder, n\u00E3o pegue ela" : "This will make you lose, don't pop it");
}
}
SHOW();
Symbol 108 MovieClip Frame 5
function SHOW() {
if (_root.exp_mc._alpha == 100) {
x_mc.txt_txt.text = ((_root.lingua == "pt") ? "Voltar" : "Back");
howto_txt.text = ((_root.lingua == "pt") ? "Como Jogar" : "How to Play");
txt_txt.text = ((_root.lingua == "pt") ? "O n\u00FAmero the explos\u00F5es ir\u00E1 aparecer em laranja abaixo da tela. Somente precione, segure e solte para fazer uma explos\u00E3o" : "The number of explosions will appear in orange in the bottom of the screen. Just press, hold and release to make an explosion");
}
}
SHOW();