Frame 1
function MattelGameAPICall(func, data) {
sendSwf_lc.send("MattelGameAPIConnection_" + phprandid, "MattelGameAPICall", func, data, gid);
trace(" AS1/AS2 game random id : " + phprandid);
trace(" AS1/AS2 game func : " + func);
trace(" AS1/AS2 game data : " + data);
trace(" AS1/AS2 game gid : " + gid);
}
sendSwf_lc = new LocalConnection();
gid = gameid;
phprandid = randid;
sendSwf_lc.send("MattelGameAPIConnection_" + phprandid, "gameAnalyticsValue", gameid, gname, gcamp, gchannel, randid);
_root.MattelGameAPICall("game_ping", "");
Instance of Symbol 6 MovieClip in Frame 1
onClipEvent (enterFrame) {
lb7 = _level7.getBytesLoaded();
tb7 = _level7.getBytesTotal();
lbroot = _root.getBytesLoaded();
tbroot = _root.getBytesTotal();
lb_all = lb7 + lbroot;
tb_all = tb7 + tbroot;
_root.percentloaded = (lb_all / tb_all) * 100;
_root.loading.bar._xscale = _root.percentloaded;
if (lb_all == tb_all) {
_root.play();
}
}
onClipEvent (load) {
loadMovieNum ("petdance_sounds.swf", 7);
}
Instance of Symbol 11 MovieClip "loading" in Frame 3
onClipEvent (load) {
this.bar._xscale = 0;
}
Frame 4
stop();
Frame 10
stop();
_root.MattelGameAPICall("game_loaded", "");
var isPlayed = false;
if ((userid == "") or (userid == null)) {
_root.play();
} else {
getObj = new LoadVars();
getObjloaded = new LoadVars();
getObj.userid = userid;
getObj.rid = rid;
getObj.sendAndLoad("get_data.aspx", getObjloaded);
getObjloaded.onLoad = function () {
var _local1 = _root;
if (getObjloaded.got_data == "y") {
_local1.bk = unescape(getObjloaded.bk);
_local1.mu = unescape(getObjloaded.mu);
_local1.an1 = unescape(getObjloaded.an1);
_local1.an2 = unescape(getObjloaded.an2);
_local1.an3 = unescape(getObjloaded.an3);
_level0.current_move1 = unescape(getObjloaded.current_move1);
_level0.current_move2 = unescape(getObjloaded.current_move2);
_level0.current_move3 = unescape(getObjloaded.current_move3);
_level0.current_row1_animal = unescape(getObjloaded.current_row1_animal);
_level0.current_row3_animal = unescape(getObjloaded.current_row3_animal);
_local1.gotoAndPlay("animals");
}
};
}
Frame 11
stop();
_root.an1 = 0;
_root.an2 = 0;
_root.an3 = 0;
_root.bk = "";
_root.mu = "";
userid = null;
_root.hor = "no";
_root.pos = "no";
_root.bun = "no";
_root.next_button_var = 1;
setProperty("/next", _visible , 0);
_root.heartbeat1._visible = false;
_root.heartbeat2._visible = false;
_root.heartbeat3._visible = false;
_level0.current_move1 = "";
_level0.current_move2 = "";
_level0.current_move3 = "";
_level0.current_row1_animal = "";
_level0.current_row3_animal = "";
counter = 1;
while (counter < 15) {
eval ("animal" + counter).removeMovieClip();
counter++;
}
Frame 16
stop();
_root.next_button_var = 2;
setProperty("/next", _visible , 0);
_root.heartbeat4._visible = false;
_root.heartbeat5._visible = false;
_root.heartbeat6._visible = false;
Frame 21
setProperty("/next", _visible , 0);
stop();
mu1 = "off";
mu2 = "off";
mu3 = "off";
_root.next_button_var = 3;
_root.heartbeat7._visible = false;
_root.heartbeat8._visible = false;
_root.heartbeat9._visible = false;
Frame 26
function set_row_randomnum1() {
if ((_level0.current_move1 == "") or (_level0.current_move1 == null)) {
_level0.movenum = random(3);
_level0.movenum = _level0.movenum + 1;
_level0.current_move1 = _level0.movenum;
} else {
_level0.movenum = _level0.current_move1;
}
}
function set_row_randomnum2() {
if ((_level0.current_move2 == "") or (_level0.current_move2 == null)) {
_level0.movenum = random(3);
_level0.movenum = _level0.movenum + 1;
_level0.current_move2 = _level0.movenum;
} else {
_level0.movenum = _level0.current_move2;
}
}
function set_row_randomnum3() {
if ((_level0.current_move3 == "") or (_level0.current_move3 == null)) {
_level0.movenum = random(3);
_level0.movenum = _level0.movenum + 1;
_level0.current_move3 = _level0.movenum;
} else {
_level0.movenum = _level0.current_move3;
}
}
function replicate_row_1() {
ynum = 55;
xnum = -45;
counter = 1;
while (counter < 5) {
duplicateMovieClip (_root.animations, "animal" + counter, counter);
xnum = xnum + 120;
eval ("animal" + counter)._x = xnum;
eval ("animal" + counter)._y = ynum;
eval ("animal" + counter).gotoAndStop(_level0.animal);
temp = eval ((("animal" + counter) + ".") + _level0.animal);
temp.gotoAndStop("move" + _level0.movenum);
counter++;
}
}
function replicate_row_2() {
ynum = 165;
xnum = -45;
counter = 5;
while (counter < 10) {
duplicateMovieClip (_root.animations, "animal" + counter, counter);
xnum = xnum + 120;
eval ("animal" + counter)._x = xnum;
eval ("animal" + counter)._y = ynum;
eval ("animal" + counter).gotoAndStop(_level0.animal);
temp = eval ((("animal" + counter) + ".") + _level0.animal);
temp.gotoAndStop("move" + _level0.movenum);
counter++;
}
}
function replicate_row_3() {
ynum = 275;
xnum = -45;
counter = 10;
while (counter < 15) {
duplicateMovieClip (_root.animations, "animal" + counter, counter);
xnum = xnum + 120;
eval ("animal" + counter)._x = xnum;
eval ("animal" + counter)._y = ynum;
eval ("animal" + counter).gotoAndStop(_level0.animal);
temp = eval ((("animal" + counter) + ".") + _level0.animal);
temp.gotoAndStop("move" + _level0.movenum);
counter++;
}
}
stop();
_root.music_var = ("music" + _root.mu) + ".swf";
loadMovieNum (_root.music_var, 8);
_root.bgrnd.gotoAndStop("bgrnd_" + _root.bk);
if (((_root.an1 == 1) and (_root.an2 == 0)) and (_root.an3 == 0)) {
set_row_randomnum1();
_level0.animal = "dragon";
replicate_row_1();
set_row_randomnum2();
_level0.animal = "dragon";
replicate_row_2();
set_row_randomnum3();
_level0.animal = "dragon";
replicate_row_3();
_root.animations._visible = false;
} else if (((_root.an1 == 0) and (_root.an2 == 1)) and (_root.an3 == 0)) {
set_row_randomnum1();
_level0.animal = "pets";
replicate_row_1();
set_row_randomnum2();
_level0.animal = "pets";
replicate_row_2();
set_row_randomnum3();
_level0.animal = "pets";
replicate_row_3();
_root.animations._visible = false;
} else if (((_root.an1 == 0) and (_root.an2 == 0)) and (_root.an3 == 1)) {
set_row_randomnum1();
_level0.animal = "dog";
replicate_row_1();
set_row_randomnum2();
_level0.animal = "dog";
replicate_row_2();
set_row_randomnum3();
_level0.animal = "dog";
replicate_row_3();
_root.animations._visible = false;
} else if (((_root.an1 == 1) and (_root.an2 == 1)) and (_root.an3 == 0)) {
if ((_level0.current_row1_animal == "") or (_level0.current_row1_animal == null)) {
randomanimal = random(2);
if (randomanimal == 0) {
_level0.current_row1_animal = 0;
set_row_randomnum1();
_level0.animal = "dragon";
replicate_row_1();
set_row_randomnum2();
_level0.animal = "pets";
replicate_row_2();
} else {
_level0.current_row1_animal = 1;
set_row_randomnum1();
_level0.animal = "pets";
replicate_row_1();
set_row_randomnum2();
_level0.animal = "dragon";
replicate_row_2();
}
} else if (_level0.current_row1_animal == 0) {
set_row_randomnum1();
_level0.animal = "dragon";
replicate_row_1();
set_row_randomnum2();
_level0.animal = "pets";
replicate_row_2();
} else {
set_row_randomnum1();
_level0.animal = "pets";
replicate_row_1();
set_row_randomnum2();
_level0.animal = "dragon";
replicate_row_2();
}
set_row_randomnum3();
if ((_level0.current_row3_animal == "") or (_level0.current_row1_animal == null)) {
randomanimal = random(2);
if (randomanimal == 0) {
_level0.animal = "dragon";
_level0.current_row3_animal = 0;
} else {
_level0.current_row3_animal = 1;
_level0.animal = "pets";
}
} else if (_level0.current_row3_animal == 0) {
_level0.current_row3_animal = 0;
_level0.animal = "dragon";
} else {
_level0.current_row3_animal = 1;
_level0.animal = "pets";
}
replicate_row_3();
_root.animations._visible = false;
} else if (((_root.an1 == 1) and (_root.an2 == 0)) and (_root.an3 == 1)) {
if ((_level0.current_row1_animal == "") or (_level0.current_row1_animal == null)) {
randomanimal = random(2);
if (randomanimal == 0) {
_level0.current_row1_animal = 0;
set_row_randomnum1();
_level0.animal = "dragon";
replicate_row_1();
set_row_randomnum2();
_level0.animal = "dog";
replicate_row_2();
} else {
_level0.current_row1_animal = 1;
set_row_randomnum1();
_level0.animal = "dog";
replicate_row_1();
set_row_randomnum2();
_level0.animal = "dragon";
replicate_row_2();
}
} else if (_level0.current_row1_animal == 0) {
set_row_randomnum1();
_level0.animal = "dragon";
replicate_row_1();
set_row_randomnum2();
_level0.animal = "dog";
replicate_row_2();
} else {
set_row_randomnum1();
_level0.animal = "dog";
replicate_row_1();
set_row_randomnum2();
_level0.animal = "dragon";
replicate_row_2();
}
set_row_randomnum3();
if ((_level0.current_row3_animal == "") or (_level0.current_row1_animal == null)) {
randomanimal = random(2);
if (randomanimal == 0) {
_level0.current_row3_animal = 0;
_level0.animal = "dragon";
} else {
_level0.current_row3_animal = 1;
_level0.animal = "dog";
}
} else if (_level0.current_row3_animal == 0) {
_level0.animal = "dragon";
_level0.current_row3_animal = 0;
} else {
_level0.animal = "dog";
_level0.current_row3_animal = 1;
}
replicate_row_3();
_root.animations._visible = false;
} else if (((_root.an1 == 0) and (_root.an2 == 1)) and (_root.an3 == 1)) {
if ((_level0.current_row1_animal == "") or (_level0.current_row1_animal == null)) {
randomanimal = random(2);
if (randomanimal == 0) {
_level0.current_row1_animal = 0;
set_row_randomnum1();
_level0.animal = "pets";
replicate_row_1();
set_row_randomnum2();
_level0.animal = "dog";
replicate_row_2();
} else {
_level0.current_row1_animal = 1;
set_row_randomnum1();
_level0.animal = "dog";
replicate_row_1();
set_row_randomnum2();
_level0.animal = "pets";
replicate_row_2();
}
} else if (_level0.current_row1_animal == 0) {
set_row_randomnum1();
_level0.animal = "pets";
replicate_row_1();
set_row_randomnum2();
_level0.animal = "dog";
replicate_row_2();
} else {
set_row_randomnum1();
_level0.animal = "dog";
replicate_row_1();
set_row_randomnum2();
_level0.animal = "pets";
replicate_row_2();
}
set_row_randomnum3();
if ((_level0.current_row3_animal == "") or (_level0.current_row1_animal == null)) {
randomanimal = random(2);
if (randomanimal == 0) {
_level0.current_row3_animal = 0;
_level0.animal = "pets";
} else {
_level0.current_row3_animal = 1;
_level0.animal = "dog";
}
} else if (_level0.current_row3_animal == 0) {
_level0.current_row3_animal = 0;
_level0.animal = "pets";
} else {
_level0.current_row3_animal = 1;
_level0.animal = "dog";
}
replicate_row_3();
_root.animations._visible = false;
} else if (((_root.an1 == 1) and (_root.an2 == 1)) and (_root.an3 == 1)) {
if ((_level0.current_row1_animal == "") or (_level0.current_row1_animal == null)) {
randomanimal = random(3);
if (randomanimal == 0) {
_level0.current_row1_animal = 0;
set_row_randomnum1();
_level0.animal = "dragon";
replicate_row_1();
set_row_randomnum2();
_level0.animal = "dog";
set_row_randomnum3();
replicate_row_2();
_level0.animal = "pets";
replicate_row_3();
} else if (randomanimal == 1) {
_level0.current_row1_animal = 1;
set_row_randomnum1();
_level0.animal = "dog";
replicate_row_1();
set_row_randomnum2();
_level0.animal = "pets";
replicate_row_2();
set_row_randomnum3();
_level0.animal = "dragon";
replicate_row_3();
} else if (randomanimal == 2) {
_level0.current_row1_animal = 2;
set_row_randomnum1();
_level0.animal = "pets";
replicate_row_1();
set_row_randomnum2();
_level0.animal = "dragon";
replicate_row_2();
set_row_randomnum3();
_level0.animal = "dog";
replicate_row_3();
}
} else if (_level0.current_row1_animal == 0) {
set_row_randomnum1();
_level0.animal = "dragon";
replicate_row_1();
set_row_randomnum2();
_level0.animal = "dog";
set_row_randomnum3();
replicate_row_2();
_level0.animal = "pets";
replicate_row_3();
} else if (_level0.current_row1_animal == 1) {
set_row_randomnum1();
_level0.animal = "dog";
replicate_row_1();
set_row_randomnum2();
_level0.animal = "pets";
replicate_row_2();
set_row_randomnum3();
_level0.animal = "dragon";
replicate_row_3();
} else if (_level0.current_row1_animal == 2) {
set_row_randomnum1();
_level0.animal = "pets";
replicate_row_1();
set_row_randomnum2();
_level0.animal = "dragon";
replicate_row_2();
set_row_randomnum3();
_level0.animal = "dog";
replicate_row_3();
}
_root.animations._visible = false;
}
Frame 35
function Validate_email(email) {
var _local1 = email;
var _local2 = _root;
_local2.valid_email = true;
count = 0;
Err = 0;
invChars = new Array(" ", "#", "$", "%", "!", "^", "~", "'", "*", "(", ")", ",", "<", ">", "/", "\\");
i = 0;
while (i < invChars.length) {
if (_local1.indexOf(invChars[i]) >= 0) {
_local2.valid_email = false;
}
i++;
}
if (Err == 0) {
i = 0;
while (i < _local1.length) {
if (_local1.charAt(i) == "@") {
count = count + 1;
}
i++;
}
if (count != 1) {
_local2.valid_email = false;
}
}
if (Err == 0) {
splitEmail = _local1.split("@");
emailName = splitEmail[0];
emailDom = splitEmail[1];
if (emailName.length < 1) {
_local2.valid_email = false;
}
if (emailDom.indexOf(".") < 0) {
_local2.valid_email = false;
} else {
splitDom = emailDom.split(".");
if (splitDom[0].length < 2) {
_local2.valid_email = false;
}
if (splitDom[1].length < 2) {
_local2.valid_email = false;
}
}
}
}
stop();
_root.alert._visible = false;
counter = 1;
while (counter < 15) {
eval ("animal" + counter).removeMovieClip();
counter++;
}
Frame 39
stop();
_root.rid = random(1000);
myData1 = new LoadVars();
myreturnData1 = new LoadVars();
myData1.friendemail = _root.friendemail;
myData1.firstname = _root.firstname;
myData1.bk = _root.bk;
myData1.mu = _root.mu;
myData1.an1 = _root.an1;
myData1.an2 = _root.an2;
myData1.an3 = _root.an3;
myData1.current_move1 = _level0.current_move1;
myData1.current_move2 = _level0.current_move2;
myData1.current_move3 = _level0.current_move3;
myData1.current_row1_animal = _level0.current_row1_animal;
myData1.current_row3_animal = _level0.current_row3_animal;
myData1.rid = _root.rid;
trace("saving myData1==" + myData1);
myreturnData1.onLoad = function () {
var _local1 = _root;
if (myreturnData1.saved == "y") {
_local1.userid = myreturnData1.userid;
trace("userid is:" + _local1.userid);
_local1.gotoAndStop("send");
} else {
trace("inside else saved");
setProperty("alert", _visible , 100);
}
};
Frame 44
stop();
myEmail1 = new LoadVars();
myEmailData1 = new LoadVars();
myEmail1.friendemail = _root.friendemail;
myEmail1.firstname = _root.firstname;
myEmail1.userid = _root.userid;
myEmail1.rid = _root.rid;
myEmail1.current_move1 = _level0.current_move1;
myEmail1.current_move2 = _level0.current_move2;
myEmail1.current_move3 = _level0.current_move3;
myEmail1.current_row1_animal = _level0.current_row1_animal;
myEmail1.current_row3_animal = _level0.current_row3_animal;
trace("myEmailData1==" + myEmailData1);
Frame 50
stop();
petdance_emailsent_ft.track();
Symbol 23 Button
on (rollOver) {
gotoAndPlay ("spread");
}
on (rollOut) {
gotoAndPlay ("return");
}
on (press) {
gotoAndPlay ("press");
}
on (release) {
gotoAndPlay ("release");
}
on (release) {
if (_root.next_button_var == 1) {
_level0.an = (_level0.an1 + _level0.an2) + _level0.an3;
_root.gotoAndPlay("bgrnd");
} else if (_root.next_button_var == 2) {
_level0.an = (_level0.an1 + _level0.an2) + _level0.an3;
_root.gotoAndPlay("music");
} else if (_root.next_button_var == 3) {
_level0.an = (_level0.an1 + _level0.an2) + _level0.an3;
_root.gotoAndStop("animals");
}
}
Symbol 28 MovieClip Frame 1
stop();
Symbol 28 MovieClip Frame 2
play();
Symbol 28 MovieClip Frame 4
stop();
Symbol 28 MovieClip Frame 7
play();
Symbol 28 MovieClip Frame 10
stop();
Symbol 28 MovieClip Frame 17
stop();
Symbol 28 MovieClip Frame 21
stop();
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 20
gotoAndPlay ("on");
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 12
stop();
Symbol 49 MovieClip Frame 1
stop();
Symbol 58 MovieClip Frame 1
stop();
Symbol 58 MovieClip Frame 19
stop();
Symbol 59 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 5
stop();
Symbol 95 MovieClip Frame 10
stop();
Symbol 95 MovieClip Frame 15
stop();
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 21
stop();
Symbol 99 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 1
stop();
Symbol 104 Button
on (rollOver) {
_root.choose1.a1.mc_ro.gotoAndPlay("rollover");
}
on (rollOut) {
_root.choose1.a1.mc_ro.gotoAndPlay("off");
}
on (release) {
if (_root.next._visible == false) {
if (isPlayed == false) {
isPlayed = true;
_root.MattelGameAPICall("game_play", "");
}
}
if (hor eq "no") {
_root.choose1.a1.choose_on.gotoAndPlay("on");
_root.heartbeat1._visible = true;
setProperty("/next", _visible , 100);
hor = "yes";
_root.an1 = 1;
} else if (hor eq "yes") {
_root.choose1.a1.choose_on.gotoAndPlay("off");
_root.heartbeat1._visible = false;
setProperty("/next", _visible , 0);
if (bun eq "yes") {
setProperty("/next", _visible , 100);
}
if (pos eq "yes") {
setProperty("/next", _visible , 100);
}
hor = "no";
_root.an1 = 0;
}
}
Symbol 105 Button
on (rollOver) {
_root.choose1.a2.mc_ro.gotoAndPlay("rollover");
}
on (rollOut) {
_root.choose1.a2.mc_ro.gotoAndPlay("off");
}
on (release) {
if (_root.next._visible == false) {
if (isPlayed == false) {
isPlayed = true;
_root.MattelGameAPICall("game_play", "");
}
}
if (pos eq "no") {
_root.choose1.a2.choose_on.gotoAndPlay("on");
_root.heartbeat2._visible = true;
setProperty("/next", _visible , 100);
pos = "yes";
_root.an2 = 1;
} else if (pos eq "yes") {
_root.choose1.a2.choose_on.gotoAndPlay("off");
_root.heartbeat2._visible = false;
setProperty("/next", _visible , 0);
if (hor eq "yes") {
setProperty("/next", _visible , 100);
}
if (bun eq "yes") {
setProperty("/next", _visible , 100);
}
pos = "no";
_root.an2 = 0;
}
}
Symbol 106 Button
on (rollOver) {
_root.choose1.a3.mc_ro.gotoAndPlay("rollover");
}
on (rollOut) {
_root.choose1.a3.mc_ro.gotoAndPlay("off");
}
on (release) {
if (_root.next._visible == false) {
if (isPlayed == false) {
isPlayed = true;
_root.MattelGameAPICall("game_play", "");
}
}
if (bun eq "no") {
_root.choose1.a3.choose_on.gotoAndPlay("on");
_root.heartbeat3._visible = true;
setProperty("/next", _visible , 100);
bun = "yes";
_root.an3 = 1;
} else if (bun eq "yes") {
_root.choose1.a3.choose_on.gotoAndPlay("off");
_root.heartbeat3._visible = false;
setProperty("/next", _visible , 0);
if (hor eq "yes") {
setProperty("/next", _visible , 100);
}
if (pos eq "yes") {
setProperty("/next", _visible , 100);
}
bun = "no";
_root.an3 = 0;
}
}
Symbol 111 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 1
starty = getProperty("_parent", _yscale);
startx = getProperty("_parent", _xscale);
downcount = 0;
upcount = 0;
Symbol 131 MovieClip Frame 8
if (Number(upcount) < 20) {
setProperty("_parent", _xscale , Number(getProperty("_parent", _xscale)) + 7);
setProperty("_parent", _yscale , Number(getProperty("_parent", _yscale)) + 7);
upcount = Number(upcount) + 3;
} else {
gotoAndPlay ("down");
upcount = 0;
}
setProperty("_parent", _rotation , Number(getProperty("_parent", _rotation)) + 3);
Symbol 131 MovieClip Frame 9
gotoAndPlay ("up");
Symbol 131 MovieClip Frame 16
if (Number(downcount) < 20) {
setProperty("_parent", _xscale , getProperty("_parent", _xscale) - 7);
setProperty("_parent", _yscale , getProperty("_parent", _yscale) - 7);
downcount = Number(downcount) + 3;
} else {
gotoAndPlay ("up");
downcount = 0;
}
setProperty("_parent", _rotation , Number(getProperty("_parent", _rotation)) + 3);
Symbol 131 MovieClip Frame 17
gotoAndPlay ("down");
Symbol 133 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 5
stop();
Symbol 134 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 1
bl = "no";
pur = "no";
gr = "no";
setProperty("/next", _visible , 0);
Symbol 137 Button
on (release) {
setProperty("/next", _visible , 100);
_root.choose2.bk1.choose_on.gotoAndPlay("on");
_root.bk = "1";
_root.choose2.bk2.choose_on.gotoAndStop("off");
_root.choose2.bk3.choose_on.gotoAndStop("off");
_root.heartbeat4._visible = true;
_root.heartbeat5._visible = false;
_root.heartbeat6._visible = false;
}
Symbol 138 Button
on (release) {
setProperty("/next", _visible , 100);
_root.choose2.bk3.choose_on.gotoAndPlay("on");
_root.bk = "3";
_root.choose2.bk1.choose_on.gotoAndStop("off");
_root.choose2.bk2.choose_on.gotoAndStop("off");
_root.heartbeat4._visible = false;
_root.heartbeat5._visible = false;
_root.heartbeat6._visible = true;
}
Symbol 139 Button
on (release) {
setProperty("/next", _visible , 100);
_root.choose2.bk2.choose_on.gotoAndPlay("on");
_root.bk = "2";
_root.choose2.bk1.choose_on.gotoAndStop("off");
_root.choose2.bk3.choose_on.gotoAndStop("off");
_root.heartbeat4._visible = false;
_root.heartbeat5._visible = true;
_root.heartbeat6._visible = false;
}
Symbol 146 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 53
gotoAndPlay ("rollover");
Symbol 153 MovieClip Frame 1
stop();
Symbol 153 MovieClip Frame 49
gotoAndPlay ("rollover");
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 31
gotoAndPlay ("rollover");
Symbol 163 Button
on (rollOver) {
_level7.playsound("music1", 1, 100);
_root.choose3.m1.mc_ro.gotoAndPlay("rollover");
}
on (rollOut) {
_level7.stopsound();
_root.choose3.m1.mc_ro.gotoAndStop("off");
}
on (release) {
setProperty("/next", _visible , 100);
_root.choose3.m1.choose_on.gotoAndPlay("on");
_root.mu = "1";
_root.choose3.m2.choose_on.gotoAndStop("off");
_root.choose3.m3.choose_on.gotoAndStop("off");
_root.heartbeat7._visible = true;
_root.heartbeat8._visible = false;
_root.heartbeat9._visible = false;
}
Symbol 164 Button
on (rollOver) {
_level7.playsound("music3", 1, 100);
_root.choose3.m3.mc_ro.gotoAndPlay("rollover");
}
on (rollOut) {
_level7.stopsound();
_root.choose3.m3.mc_ro.gotoAndStop("off");
}
on (release) {
setProperty("/next", _visible , 100);
_root.choose3.m3.choose_on.gotoAndPlay("on");
_root.mu = "3";
_root.choose3.m1.choose_on.gotoAndStop("off");
_root.choose3.m2.choose_on.gotoAndStop("off");
_root.heartbeat7._visible = false;
_root.heartbeat8._visible = false;
_root.heartbeat9._visible = true;
}
Symbol 165 Button
on (rollOver) {
_level7.playsound("music2", 1, 100);
_root.choose3.m2.mc_ro.gotoAndPlay("rollover");
}
on (rollOut) {
_level7.stopsound();
_root.choose3.m2.mc_ro.gotoAndStop("off");
}
on (release) {
setProperty("/next", _visible , 100);
_root.choose3.m2.choose_on.gotoAndPlay("on");
_root.mu = "2";
_root.choose3.m1.choose_on.gotoAndStop("off");
_root.choose3.m3.choose_on.gotoAndStop("off");
_root.heartbeat7._visible = false;
_root.heartbeat8._visible = true;
_root.heartbeat9._visible = false;
}
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 11
stop();
Symbol 171 MovieClip Frame 21
stop();
Symbol 171 MovieClip Frame 32
stop();
Symbol 176 Button
on (rollOver) {
gotoAndPlay ("spread");
}
on (rollOut) {
gotoAndPlay ("return");
}
on (press) {
gotoAndPlay ("press");
}
on (release) {
_root.petdance_play_ft.track();
gotoAndPlay ("release");
unloadMovieNum (8);
_root.isPlayed = false;
_root.MattelGameAPICall("game_replay", "");
counter = 1;
while (counter < 15) {
eval ("animal" + counter).removeMovieClip();
counter++;
}
_root.gotoAndPlay("start");
}
Symbol 182 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 2
play();
Symbol 182 MovieClip Frame 4
stop();
Symbol 182 MovieClip Frame 7
play();
Symbol 182 MovieClip Frame 10
stop();
Symbol 182 MovieClip Frame 17
stop();
Symbol 182 MovieClip Frame 21
stop();
Symbol 198 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 5
stop();
Symbol 198 MovieClip Frame 10
stop();
Symbol 198 MovieClip Frame 15
stop();
Symbol 207 MovieClip Frame 1
stop();
Symbol 207 MovieClip Frame 5
stop();
Symbol 207 MovieClip Frame 10
stop();
Symbol 207 MovieClip Frame 15
stop();
Symbol 208 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 8
stop();
Symbol 208 MovieClip Frame 14
stop();
Symbol 225 Button
on (release) {
_root.friendemail = "";
_root.firstname = "";
_root.userid = null;
_root.rid = null;
_root.gotoAndPlay("animals");
}
Symbol 230 Button
on (release) {
Validate_Email(_root.friendemail);
if ((_root.firstname == null) or (_root.friendemail == null)) {
setProperty("alert", _visible , 100);
} else if (_root.firstname.isNaughty() || (_root.friendemail.isNaughty())) {
setProperty("alert", _visible , 100);
} else if (_root.valid_email == false) {
setProperty("alert", _visible , 100);
} else {
_root.gotoAndStop("save");
}
}
Symbol 238 Button
on (release) {
setProperty("/alert", _visible , 0);
}
Symbol 248 Button
on (release) {
_root.friendemail = "";
_root.firstname = "";
_root.userid = null;
_root.rid = null;
_root.gotoAndPlay("animals");
}
Symbol 249 Button
on (release) {
_root.friendemail = "";
_root.firstname = "";
_root.userid = null;
_root.rid = null;
_root.gotoAndStop("send_email");
}