Instance of Symbol 13 MovieClip in Frame 1
onClipEvent (load) {
mcLoader = "_root";
}
onClipEvent (load) {
fscommand ("allowscale", false);
_root.stop();
var mcLoader = _root;
}
onClipEvent (enterFrame) {
this.percentloaded = Math.floor((mcLoader.getBytesLoaded() / mcLoader.getBytesTotal()) * 100);
trace(this.percentloaded);
this.prozent.percentdisplay = percentloaded + "%";
this.loaderbalken._yscale = percentloaded;
if ((percentloaded == 100) && (!initialized)) {
initialized = true;
_root.gotoAndStop("intro");
}
}
Frame 2
stop();
Set("/:best_lap", "null");
Set("/:just_starting", "yes");
randyurl = random(1000);
loadVariablesNum ("http://vodafone.panlogic.co.uk/vodafone/servlet/vodafone?flag=1&url=start&rand=" add randyurl, 0);
Instance of Symbol 160 MovieClip "app_position" in Frame 2
onClipEvent (enterFrame) {
Set("/:new_position", _root.controller.position);
}
Frame 9
if (/:just_starting == "yes") {
tellTarget ("_root.speed_bar") {
gotoAndStop ("middle");
tellTarget ("_root.steering_bar") {
gotoAndStop ("middle");
tellTarget ("_root.acc_bar") {
gotoAndStop ("middle");
tellTarget ("_root.brake_bar") {
gotoAndStop ("middle");
};
};
};
};
}
Set("/:welcome_text", /:username add ", welcome to the Vodafone Ferrari F1 racing game. You've got three pulsating circuits to put in the fastest lap and see where you stand on the global leaderboard.\n\nBefore you race, you can tune your car. Decide if you're a beginner, rookie or legend of the sport?");
Set("/:first_lap", 0);
Frame 16
stop();
tellTarget ("_root.howto") {
play();
};
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 267 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee.square1)) {
Set("/:speed", -1);
} else if (this.hitTest(_root.bee.square2)) {
Set("/:speed", 1);
}
}
Instance of Symbol 304 MovieClip "bee" in Frame 16
onClipEvent (load) {
Set("/:speed", 0);
Set("/:angle", 270);
Set("/:lum", 1);
Set("/:downspeed", true);
}
onClipEvent (enterFrame) {
if (!_root.track.hitTest(_x, _y, true)) {
setProperty("_root.speedo.dial", _rotation , 20);
Set("/:sex", "off");
Set("/:speed", 3);
} else if (_root.hit1.hitTest(_x, _y, true)) {
Set("/:sex", "off");
Set("/:speed", -1);
Set("/:seeds", "Penis");
} else {
Set("/:sex", "on");
Set("/:seeds", "vagina");
}
Set("/:dickhead", getProperty(_root.speedo.dial, _rotation));
if (/:downspeed == true) {
if (0 < /:speed) {
Set("/:speed", Number(/:speed) - /:braking);
setProperty("_root.speedo.dial", _rotation , getProperty(_root.speedo.dial, _rotation) - 2.4);
}
}
if (Key.isDown(Key.RIGHT)) {
Set("/:wheels", "right");
if (/:speed == 0) {
Set("/:angleclav", 0);
} else {
Set("/:angleclav", /:steering_angle);
}
} else if (Key.isDown(Key.LEFT)) {
Set("/:wheels", "left");
if (/:speed == 0) {
Set("/:angleclav", 0);
} else {
Set("/:angleclav", -/:steering_angle);
}
}
if (Key.isDown(Key.SPACE)) {
Set("/:downspeed", false);
if (/:sex == "on") {
if (/:speed < /:speed_limit) {
Set("/:speed", Number(/:speed) + /:acceleration);
if (0 < /:speed) {
setProperty("_root.speedo.dial", _rotation , getProperty(_root.speedo.dial, _rotation) + 2.4);
tellTarget ("_root.howto") {
gotoAndStop (1);
};
}
}
}
} else {
Set("/:downspeed", true);
}
Set("/:angle", /:angle + (/:anglemous + /:angleclav));
Set("/:angleclav", 0);
}
Instance of Symbol 306 MovieClip "wheels" in Frame 16
onClipEvent (enterFrame) {
if (/:wheels == "left") {
tellTarget ("_root.bee.bee1.bee2.wheels") {
gotoAndStop ("left");
};
} else if (/:wheels == "right") {
tellTarget ("_root.bee.bee1.bee2.wheels") {
gotoAndStop ("right");
};
} else {
tellTarget ("_root.bee.bee1.bee2.wheels") {
gotoAndStop ("straight");
};
}
}
Instance of Symbol 306 MovieClip "wheels" in Frame 16
onClipEvent (enterFrame) {
if (/:wheels == "left") {
tellTarget ("_root.bee.bee1.bee2.wheels") {
gotoAndStop ("left");
};
} else if (/:wheels == "right") {
tellTarget ("_root.bee.bee1.bee2.wheels") {
gotoAndStop ("right");
};
} else {
tellTarget ("_root.bee.bee1.bee2.wheels") {
gotoAndStop ("straight");
};
}
}
Instance of Symbol 343 MovieClip "clock_control" in Frame 16
onClipEvent (load) {
Set("/:last_lap", "00:00:000");
Set("/:best_lap", "00:00:000");
Set("/:lets_go", false);
tellTarget ("_root.clock_control") {
stop();
};
}
Frame 25
Set("/:congrats", (((("Well done " add /:username) add ", your best lap was ") add /:best_lap) add " and your position is ") add _root.controller.bestpos);
Set("/:new_position", _root.controller.position);
Set("/:just_starting", "yes");
Frame 32
function getElementsByTagName(xmlDoc, tagname, xmlObjArray) {
var Nodes = null;
if (xmlObjArray == null) {
Nodes = new Array();
} else {
Nodes = xmlObjArray;
}
if (xmlDoc.hasChildNodes()) {
var i = 0;
while (i < xmlDoc.childNodes.length) {
if ((xmlDoc.childNodes[i].nodeType == 1) && (xmlDoc.childNodes[i].nodeName == tagname)) {
Nodes.push(xmlDoc.childNodes[i]);
}
getElementsByTagName(xmlDoc.childNodes[i], tagname, Nodes);
i++;
}
}
return(Nodes);
}
function myLoadHandler(success) {
if (success && (document.status == 0)) {
var personal_rank = getElementsByTagName(document, personalTag, null)[0];
Set("/:personal_rank", getPersonalText(personal_rank));
var itemsArr = getElementsByTagname(document, playerTag, null);
var yPos = 115;
var xPos = 665;
var last_inttime = 0;
var current_inttime = 0;
var pos = 0;
Set("/:display_pos", "");
Set("/:display_name", "");
Set("/:display_time", "");
var i = 0;
while (i < itemsArr.length) {
current_inttime = Number(getIntTimeText(getFirstIntTimeElement(itemsArr[i])));
trace(" Test : " + current_inttime);
if (last_inttime == current_inttime) {
Set("/:display_pos", /:display_pos + "=\n");
Set("/:display_name", (/:display_name + getNameText(getFirstNameElement(itemsArr[i]))) + newline);
Set("/:display_time", (/:display_time + getTimeText(getFirstTimeElement(itemsArr[i]))) + newline);
} else {
pos++;
Set("/:display_pos", (/:display_pos + pos) + newline);
Set("/:display_name", (/:display_name + getNameText(getFirstNameElement(itemsArr[i]))) + newline);
Set("/:display_time", (/:display_time + getTimeText(getFirstTimeElement(itemsArr[i]))) + newline);
last_inttime = Number(current_inttime);
}
i++;
}
} else {
Set("/:personal_rank", "Not working");
}
}
function getPersonalText(titleElement) {
return(titleElement.firstChild.nodeValue);
}
function getFirstPersonalElement(xmlObjArray) {
return(getElementsByTagName(xmlObjArray, personalTag, null)[0]);
}
function getNameText(playerElement) {
return(playerElement.firstChild.nodeValue);
}
function getFirstNameElement(xmlObjArray) {
return(getElementsByTagName(xmlObjArray, nameTag, null)[0]);
}
function getTimeText(timeElement) {
return(timeElement.firstChild.nodeValue);
}
function getFirstTimeElement(xmlObjArray) {
return(getElementsByTagName(xmlObjArray, timeTag, null)[0]);
}
function getIntTimeText(timeElement) {
return(timeElement.firstChild.nodeValue);
}
function getFirstIntTimeElement(xmlObjArray) {
return(getElementsByTagName(xmlObjArray, intTimeTag, null)[0]);
}
var personalTag = "personal";
var leaderboardTag = "leaderboard";
var playerTag = "player";
var nameTag = "name";
var timeTag = "time";
var intTimeTag = "inttime";
Set("/:personal_rank", "Yes I am working");
var /:totClips = 0;
var document = new XML();
document.onload = myLoadHandler;
randy = random(10000);
document.load("http://vodafone.panlogic.co.uk/vodafone/servlet/vodafone?flag=3&random=" add randy);
Instance of Symbol 383 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (upPressed) {
/:display_pos.scroll = /:display_pos.scroll - 1;
/:display_name.scroll = /:display_name.scroll - 1;
/:display_time.scroll = /:display_time.scroll - 1;
} else if (downPressed) {
/:display_pos.scroll = /:display_pos.scroll + 1;
/:display_name.scroll = /:display_name.scroll + 1;
/:display_time.scroll = /:display_time.scroll + 1;
}
}
Symbol 29 Button
on (release) {
loadVariablesNum ("http://vodafone.panlogic.co.uk/terms_home.html", 0);
getURL ("http://vodafone.panlogic.co.uk/terms", "_blank");
}
Symbol 34 Button
on (release) {
loadVariablesNum ("http://vodafone.panlogic.co.uk/privacy_home.html", 0);
getURL ("http://vodafone.co.uk/privacypolicy", "_blank");
}
Symbol 55 Button
on (release) {
loadVariablesNum ("http://vodafone.panlogic.co.uk/win_tickets_home.html", 0);
tellTarget ("_root.win clip") {
gotoAndPlay (2);
};
}
Symbol 59 Button
on (release) {
tellTarget ("_root.usernm_clip") {
gotoAndPlay (2);
};
}
Symbol 76 Button
on (release) {
nextFrame();
}
Symbol 78 Button
on (release) {
prevFrame();
}
Symbol 79 MovieClip Frame 1
stop();
Set("/:tcs", "no");
Symbol 79 MovieClip Frame 2
Set("/:tcs", "yes");
Symbol 88 Button
on (release) {
loadVariablesNum ("http://vodafone.panlogic.co.uk/enter_details_home.html", 0);
count = 0;
Err = 0;
invChars = new Array(" ", "#", "$", "%", "!", "^", "~", "'", "*", "(", ")", ",", "<", ">", "/", "\\");
email = /:email;
i = 0;
while (i < invChars.length) {
if (email.indexOf(invChars[i]) >= 0) {
Err = 1;
}
i++;
}
if (Err == 0) {
i = 0;
while (i < email.length) {
if (email.charAt(i) == "@") {
count = count + 1;
}
i++;
}
if (count != 1) {
Err = 2;
}
}
if (Err == 0) {
splitEmail = email.split("@");
emailName = splitEmail[0];
emailDom = splitEmail[1];
if (emailName.length < 1) {
Err = 3;
}
if (emailDom.indexOf(".") < 0) {
Err = 4;
} else {
splitDom = emailDom.split(".");
if (splitDom[0].length < 2) {
Err = 5;
}
if (splitDom[1].length < 2) {
Err = 6;
}
}
}
if ((((0 < Err) || (/:name == null)) || (/:surname == null)) || (/:tcs == "no")) {
tellTarget ("_root.win clip.alert_two") {
play();
};
} else if (/:email == /:confemail) {
flag = 2;
fname = /:name;
lname = /:surname;
email = /:email;
loadVariablesNum ("http://vodafone.panlogic.co.uk/vodafone/servlet/vodafone", 0, "POST");
play();
} else {
tellTarget ("_root.win clip.alert_two") {
play();
};
}
}
Symbol 93 Button
on (release) {
gotoAndPlay (72);
}
Symbol 98 MovieClip Frame 1
stop();
Symbol 105 Button
on (release) {
gotoAndPlay (72);
}
Symbol 108 Button
on (release) {
randyurl = random(1000);
loadVariablesNum ("http://vodafone.panlogic.co.uk/vodafone/servlet/vodafone?flag=1&url=newsletter sign up&rand=" add randyurl, 0);
getURL ("http://www.vodafone.co.uk/enewsletter", "_blank");
loadVariablesNum ("http://vodafone.panlogic.co.uk/keep_in_touch_home.html", 0);
}
Symbol 110 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 20
stop();
Symbol 110 MovieClip Frame 71
stop();
randyurl = random(1000);
loadVariablesNum ("http://vodafone.panlogic.co.uk/vodafone/servlet/vodafone?flag=1&url=number optin emails&rand=" add randyurl, 0);
Symbol 115 Button
on (release) {
gotoAndStop (1);
}
Symbol 118 Button
on (release) {
loadVariablesNum ("http://vodafone.panlogic.co.uk/play_game_home.html", 0);
if (/:username.length == 0) {
tellTarget ("_root.usernm_clip.abla") {
play();
};
} else if (/:username.indexOf("&") >= 0) {
tellTarget ("_root.usernm_clip.ablee") {
play();
};
} else {
play();
}
}
Symbol 121 MovieClip Frame 1
stop();
Set("/:uknob", "");
Symbol 121 MovieClip Frame 2
Set("/:uknob", "Please enter a driver name!");
Symbol 124 MovieClip Frame 1
stop();
Set("/:uknob", "");
Symbol 124 MovieClip Frame 2
Set("/:uknob", "You can't use the & character!");
Symbol 126 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 15
stop();
Set("/:username", "");
Symbol 126 MovieClip Frame 29
tellTarget ("_root") {
gotoAndStop ("stats");
};
Symbol 131 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 79
tellTarget ("_root") {
gotoAndStop ("results");
};
Symbol 135 Button
on (release) {
gotoAndPlay (1);
}
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 15
stop();
Symbol 160 MovieClip Frame 1
stop();
Symbol 173 Button
on (release) {
gotoAndStop(_currentframe + 5);
}
Symbol 178 Button
on (release) {
gotoAndStop(_currentframe - 5);
}
Symbol 180 MovieClip Frame 1
Set("/:acceleration", 0.05);
stop();
Symbol 180 MovieClip Frame 6
Set("/:acceleration", 0.06);
Symbol 180 MovieClip Frame 11
Set("/:acceleration", 0.07);
Symbol 180 MovieClip Frame 16
Set("/:acceleration", 0.08);
Symbol 180 MovieClip Frame 21
Set("/:acceleration", 0.09);
Symbol 180 MovieClip Frame 26
Set("/:acceleration", 0.1);
Symbol 180 MovieClip Frame 31
Set("/:acceleration", 0.14);
Symbol 180 MovieClip Frame 36
Set("/:acceleration", 0.18);
Symbol 180 MovieClip Frame 41
Set("/:acceleration", 0.2);
Symbol 180 MovieClip Frame 46
Set("/:acceleration", 0.22);
Symbol 183 MovieClip Frame 1
Set("/:steering_angle", 3.6);
stop();
Symbol 183 MovieClip Frame 6
Set("/:steering_angle", 3.7);
Symbol 183 MovieClip Frame 11
Set("/:steering_angle", 3.8);
Symbol 183 MovieClip Frame 16
Set("/:steering_angle", 3.9);
Symbol 183 MovieClip Frame 21
Set("/:steering_angle", 4);
Symbol 183 MovieClip Frame 26
Set("/:steering_angle", 4.1);
Symbol 183 MovieClip Frame 31
Set("/:steering_angle", 4.2);
Symbol 183 MovieClip Frame 36
Set("/:steering_angle", 4.3);
Symbol 183 MovieClip Frame 41
Set("/:steering_angle", 4.4);
Symbol 183 MovieClip Frame 46
Set("/:steering_angle", 4.5);
Symbol 186 MovieClip Frame 1
Set("/:speed_limit", 3.5);
stop();
Symbol 186 MovieClip Frame 6
Set("/:speed_limit", 4);
Symbol 186 MovieClip Frame 11
Set("/:speed_limit", 4.5);
Symbol 186 MovieClip Frame 16
Set("/:speed_limit", 5);
Symbol 186 MovieClip Frame 21
Set("/:speed_limit", 5.5);
Symbol 186 MovieClip Frame 26
Set("/:speed_limit", 6);
Symbol 186 MovieClip Frame 31
Set("/:speed_limit", 7);
Symbol 186 MovieClip Frame 36
Set("/:speed_limit", 8);
Symbol 186 MovieClip Frame 41
Set("/:speed_limit", 9);
Symbol 186 MovieClip Frame 46
Set("/:speed_limit", 10);
Symbol 189 MovieClip Frame 1
stop();
Set("/:braking", 0.05);
Symbol 189 MovieClip Frame 6
Set("/:braking", 0.06);
Symbol 189 MovieClip Frame 11
Set("/:braking", 0.07);
Symbol 189 MovieClip Frame 16
Set("/:braking", 0.08);
Symbol 189 MovieClip Frame 21
Set("/:braking", 0.09);
Symbol 189 MovieClip Frame 26
Set("/:braking", 0.1);
Symbol 189 MovieClip Frame 31
Set("/:braking", 0.12);
Symbol 189 MovieClip Frame 36
Set("/:braking", 0.14);
Symbol 189 MovieClip Frame 41
Set("/:braking", 0.16);
Symbol 189 MovieClip Frame 46
Set("/:braking", 0.18);
Symbol 194 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 2
stop();
Symbol 202 Button
on (release) {
loadVariablesNum ("http://vodafone.panlogic.co.uk/rookie.html", 0);
tellTarget ("_root.speed_bar") {
gotoAndStop (16);
tellTarget ("_root.steering_bar") {
gotoAndStop (31);
tellTarget ("_root.acc_bar") {
gotoAndStop (16);
tellTarget ("_root.brake_bar") {
gotoAndStop (36);
tellTarget ("_root.title1") {
gotoAndStop ("beginner");
};
};
};
};
};
}
Symbol 208 Button
on (release) {
loadVariablesNum ("http://vodafone.panlogic.co.uk/pro.html", 0);
tellTarget ("_root.speed_bar") {
gotoAndStop (31);
tellTarget ("_root.steering_bar") {
gotoAndStop (36);
tellTarget ("_root.acc_bar") {
gotoAndStop (26);
tellTarget ("_root.brake_bar") {
gotoAndStop (26);
tellTarget ("_root.title1") {
gotoAndStop ("inter");
};
};
};
};
};
}
Symbol 214 Button
on (release) {
loadVariablesNum ("http://vodafone.panlogic.co.uk/champion.html", 0);
tellTarget ("_root.speed_bar") {
gotoAndStop (41);
tellTarget ("_root.steering_bar") {
gotoAndStop (36);
tellTarget ("_root.acc_bar") {
gotoAndStop (36);
tellTarget ("_root.brake_bar") {
gotoAndStop (46);
tellTarget ("_root.title1") {
gotoAndStop ("advanced");
};
};
};
};
};
}
Symbol 217 Button
on (release) {
loadVariablesNum ("http://vodafone.panlogic.co.uk/terms_bottombar.html", 0);
getURL ("http://vodafone.panlogic.co.uk/terms", "_blank");
}
Symbol 218 Button
on (release) {
loadVariablesNum ("http://vodafone.panlogic.co.uk/privacy_bottombar.html", 0);
getURL ("http://www.vodafone.co.uk/privacypolicy ", "_blank");
}
Symbol 223 Button
on (release) {
randyurl = random(1000);
loadVariablesNum ("http://vodafone.panlogic.co.uk/vodafone/servlet/vodafone?flag=1&url=newsletter sign up&rand=" add randyurl, 0);
loadVariablesNum ("http://vodafone.panlogic.co.uk/newsletter_bottombar.html", 0);
getURL ("http://www.vodafone.co.uk/enewsletter ", "_blank");
}
Symbol 228 Button
on (release) {
randyurl = random(1000);
loadVariablesNum ("http://vodafone.panlogic.co.uk/vodafone/servlet/vodafone?flag=1&url=vodafone site&rand=" add randyurl, 0);
loadVariablesNum ("http://vodafone.panlogic.co.uk/vodafone_racing_bottombar.html", 0);
getURL ("http://www.vodafoneracing.com/website/index.html", "_blank");
}
Symbol 233 Button
on (release) {
loadVariablesNum ("http://vodafone.panlogic.co.uk/challenge_friend_bottombar.html", 0);
randyurl = random(1000);
loadVariablesNum ("http://vodafone.panlogic.co.uk/vodafone/servlet/vodafone?flag=1&url=forward to friend&rand=" add randyurl, 0);
var subject = "Bet you can't beat Schumacher...";
var body = "I've just played this superb Vodafone Ferrari F1 racing game and I think you'll love it.%0D %0A %0D %0ASee where you can get on the global leaderboard.%0D %0A %0D %0AClick http://vodafone.panlogic.co.uk to play.";
getURL ((("mailto:?subject=" + subject) + "&body=") + body);
}
Symbol 240 Button
on (release) {
loadVariablesNum ("http://vodafone.panlogic.co.uk/win_tickets_bottombar.html", 0);
tellTarget ("_root.win clip") {
gotoAndPlay (2);
};
}
Symbol 245 Button
on (release) {
loadVariablesNum ("http://vodafone.panlogic.co.uk/start_racing_pitlane.html", 0);
Set("/:just_starting", "no");
gotoAndStop (16);
randy = random(10000);
loadVariables ("http://vodafone.panlogic.co.uk/vodafone/servlet/vodafone?flag=6&rand=" add randy, _root.controller, "GET");
}
Symbol 247 Button
on (release) {
tellTarget ("_root.speed_bar") {
gotoAndStop (46);
tellTarget ("_root.steering_bar") {
gotoAndStop (46);
tellTarget ("_root.acc_bar") {
gotoAndStop (46);
tellTarget ("_root.brake_bar") {
gotoAndStop (46);
};
};
};
};
}
Symbol 279 MovieClip Frame 1
stop();
Instance of Symbol 269 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee)) {
tellTarget ("_root.clock_control") {
play();
};
tellTarget ("_root.finished_grid") {
nextFrame();
};
}
}
Instance of Symbol 272 MovieClip in Symbol 279 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee)) {
tellTarget ("_root.finished_grid") {
nextFrame();
};
}
}
Instance of Symbol 274 MovieClip in Symbol 279 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee)) {
tellTarget ("_root.finished_grid") {
nextFrame();
};
}
}
Symbol 279 MovieClip Frame 4
tellTarget ("_root.clock_control") {
gotoAndPlay (1);
};
tellTarget ("_root.app_position") {
play();
};
Set("/:last_lap", /:current_lap);
Set("/:best_lap", /:current_lap);
Set("/:current_lap_var", (_root.clock_control.sw_m add _root.clock_control.sw_s) add _root.clock_control.sw_ms);
Set("/:current_lap_var", Number(/:current_lap_var));
Set("/:last_lap_var", /:current_lap_var);
Set("/:best_lap_var", /:current_lap_var);
randy = random(10000);
loadVariables ((("http://vodafone.panlogic.co.uk/vodafone/servlet/vodafone?flag=4&time=" add /:best_lap_var) add "&rand=") add randy, _root.controller, "GET");
Instance of Symbol 272 MovieClip in Symbol 279 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee)) {
tellTarget ("_root.finished_grid") {
nextFrame();
};
}
}
Instance of Symbol 274 MovieClip in Symbol 279 MovieClip Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee)) {
tellTarget ("_root.finished_grid") {
nextFrame();
};
}
}
Symbol 279 MovieClip Frame 6
tellTarget ("_root.clock_control") {
gotoAndPlay (1);
};
tellTarget ("_root.app_position") {
play();
};
Set("/:current_lap_var", (_root.clock_control.sw_m add _root.clock_control.sw_s) add _root.clock_control.sw_ms);
Set("/:current_lap_var", Number(/:current_lap_var));
if (/:current_lap_var < /:best_lap_var) {
Set("/:best_lap_var", /:current_lap_var);
Set("/:best_lap", /:current_lap);
Set("/:last_lap_var", /:current_lap_var);
Set("/:last_lap", /:current_lap);
randy = random(10000);
loadVariables ((("http://vodafone.panlogic.co.uk/vodafone/servlet/vodafone?flag=4&time=" add /:best_lap_var) add "&rand=") add randy, _root.controller, "GET");
} else {
Set("/:last_lap_var", /:current_lap_var);
Set("/:last_lap", /:current_lap);
}
Instance of Symbol 272 MovieClip in Symbol 279 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee)) {
tellTarget ("_root.finished_grid") {
nextFrame();
};
}
}
Instance of Symbol 277 MovieClip in Symbol 279 MovieClip Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.bee)) {
tellTarget ("_root.finished_grid") {
nextFrame();
};
}
}
Symbol 279 MovieClip Frame 8
tellTarget ("_root.clock_control") {
stop();
};
tellTarget ("_root.app_position") {
play();
};
tellTarget ("_root.poobar") {
play();
};
Set("/:current_lap_var", (_root.clock_control.sw_m add _root.clock_control.sw_s) add _root.clock_control.sw_ms);
Set("/:current_lap_var", Number(/:current_lap_var));
if (/:current_lap_var < /:best_lap_var) {
Set("/:best_lap_var", /:current_lap_var);
Set("/:best_lap", /:current_lap);
Set("/:last_lap_var", /:current_lap_var);
Set("/:last_lap", /:current_lap);
} else {
Set("/:last_lap_var", /:current_lap_var);
Set("/:last_lap", /:current_lap);
}
randy = random(10000);
loadVariables ((((((((_root.controller.leaderboardurl add "?flag=5&nick=") add /:username) add "&time=") add /:best_lap_var) add "&strtime=") add /:best_lap) add "&rand=") add randy, _root.controller, "GET");
Symbol 284 Button
on (release) {
loadVariablesNum ("http://vodafone.panlogic.co.uk/win_tickets_game.html", 0);
tellTarget ("_root.win clip") {
gotoAndPlay (2);
};
}
Symbol 287 Button
on (release) {
randyurl = random(1000);
loadVariablesNum ("http://vodafone.panlogic.co.uk/vodafone/servlet/vodafone?flag=1&url=forward to friend&rand=" add randyurl, 0);
var subject = "Bet you can't beat Schumacher...";
var body = "I've just played this superb Vodafone Ferrari F1 racing game and I think you'll love it.%0D %0A %0D %0ASee where you can get on the global leaderboard.%0D %0A %0D %0AClick http://vodafone.panlogic.co.uk to play.";
getURL ((("mailto:?subject=" + subject) + "&body=") + body);
}
on (release) {
loadVariablesNum ("http://vodafone.panlogic.co.uk/challenge_friend_game.html", 0);
}
Symbol 290 Button
on (release) {
randyurl = random(1000);
loadVariablesNum ("http://vodafone.panlogic.co.uk/vodafone/servlet/vodafone?flag=1&url=play again&rand=" add randyurl, 0);
loadVariablesNum ("http://vodafone.panlogic.co.uk/start_again_game.html", 0);
gotoAndStop (9);
}
Symbol 295 MovieClip Frame 1
stop();
Instance of Symbol 295 MovieClip "wheels" in Symbol 299 MovieClip Frame 1
onClipEvent (enterFrame) {
if (/:wheels == "left") {
tellTarget ("_root.bee.bee1.bee2.wheels") {
gotoAndStop ("left");
};
} else if (/:wheels == "right") {
tellTarget ("_root.bee.bee1.bee2.wheels") {
gotoAndStop ("right");
};
} else {
tellTarget ("_root.bee.bee1.bee2.wheels") {
gotoAndStop ("straight");
};
}
}
Instance of Symbol 299 MovieClip "bee2" in Symbol 300 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
Set("/:wheels", "right");
} else if (Key.isDown(Key.LEFT)) {
Set("/:wheels", "left");
} else {
Set("/:wheels", "straight");
}
}
Symbol 304 MovieClip Frame 1
stop();
Instance of Symbol 300 MovieClip "bee1" in Symbol 304 MovieClip Frame 1
onClipEvent (enterFrame) {
Set("/:radian", (Math.PI/180) * /:angle);
_parent._x = _parent._x + (/:speed * Math.cos(/:radian));
_parent._y = _parent._y + (/:speed * Math.sin(/:radian));
_parent._rotation = /:angle;
}
Symbol 306 MovieClip Frame 1
stop();
Symbol 343 MovieClip Frame 1
sw_m = "00";
sw_s = "00";
sw_ms = "000";
Set("/:current_lap", (((sw_m add ":") add sw_s) add ":") add sw_ms);
Symbol 343 MovieClip Frame 2
sw_raw = 0;
start = getTimer() - (sw_raw * 1000);
Symbol 343 MovieClip Frame 3
start = getTimer() - (sw_raw * 1000);
Symbol 343 MovieClip Frame 4
sw_raw = Math.round(getTimer() - start) / 1000;
sec_ct = Math.floor(sw_raw);
msecs = Math.floor((sw_raw - Math.floor(sw_raw)) * 1000);
mins = Math.floor(sec_ct / 60);
secs = Math.floor(sec_ct - (60 * mins));
if (msecs < 10) {
sw_ms = "00" + msecs;
} else if (msecs < 100) {
sw_ms = "0" + msecs;
} else {
sw_ms = msecs;
}
if (secs < 10) {
sw_s = "0" + secs;
} else {
sw_s = secs;
}
if (mins < 10) {
sw_m = "0" + mins;
} else {
sw_m = mins;
}
Set("/:current_lap", (((sw_m add ":") add sw_s) add ":") add sw_ms);
gotoAndPlay (3);
Symbol 343 MovieClip Frame 5
stop();
Symbol 345 Button
on (release) {
tellTarget ("_root") {
gotoAndStop ("results");
};
}
Symbol 346 Button
on (release) {
randy = random(10000);
loadVariables ((((((((_root.controller.leaderboardurl add "?flag=5&nick=") add /:username) add "&time=") add /:best_lap_var) add "&strtime=") add /:best_lap) add "&rand=") add randy, _root.controller, "GET");
tellTarget ("_root") {
gotoAndStop ("results");
};
}
on (press) {
Set("/:best_lap_var", "8412");
Set("/:best_lap", "00:08:412");
}
Symbol 352 Button
on (release) {
tellTarget ("_root") {
gotoAndStop ("leaderboard");
};
}
on (press) {
loadVariablesNum ("http://vodafone.panlogic.co.uk/top_100_results.html", 0);
}
Symbol 355 Button
on (release) {
randyurl = random(1000);
loadVariablesNum ("http://vodafone.panlogic.co.uk/vodafone/servlet/vodafone?flag=1&url=play again&rand=" add randyurl, 0);
loadVariablesNum ("http://vodafone.panlogic.co.uk/play_again.html", 0);
tellTarget ("_root") {
gotoAndStop ("stats");
};
}
Symbol 358 Button
on (release) {
randyurl = random(1000);
loadVariablesNum ("http://vodafone.panlogic.co.uk/vodafone/servlet/vodafone?flag=1&url=forward to friend&rand=" add randyurl, 0);
var subject = "Bet you can't beat my fastest lap...";
var body = (((("I've just played this superb Vodafone Ferrari F1 racing game and my fastest lap was " add /:best_lap) add " secs. That's put me at position ") add _root.controller.position) add " on the leaderboard.%0D %0A %0D %0ASee if you can beat me...%0D %0A %0D %0AClick http://vodafone.panlogic.co.uk to play.");
getURL ((("mailto:?subject=" + subject) + "&body=") + body);
}
on (release) {
loadVariablesNum ("http://vodafone.panlogic.co.uk/challenge_friend.html", 0);
}
Symbol 360 Button
on (release) {
count = 0;
Err = 0;
invChars = new Array(" ", "#", "$", "%", "!", "^", "~", "'", "*", "(", ")", ",", "<", ">", "/", "\\");
email = /:email;
i = 0;
while (i < invChars.length) {
if (email.indexOf(invChars[i]) >= 0) {
Err = 1;
}
i++;
}
if (Err == 0) {
i = 0;
while (i < email.length) {
if (email.charAt(i) == "@") {
count = count + 1;
}
i++;
}
if (count != 1) {
Err = 2;
}
}
if (Err == 0) {
splitEmail = email.split("@");
emailName = splitEmail[0];
emailDom = splitEmail[1];
if (emailName.length < 1) {
Err = 3;
}
if (emailDom.indexOf(".") < 0) {
Err = 4;
} else {
splitDom = emailDom.split(".");
if (splitDom[0].length < 2) {
Err = 5;
}
if (splitDom[1].length < 2) {
Err = 6;
}
}
}
if ((((0 < Err) || (/:name == null)) || (/:surname == null)) || (/:tcs == "no")) {
tellTarget ("_root.aah.alerter") {
play();
};
} else if (/:email == /:confemail) {
loadVariablesNum ("http://vodafone.panlogic.co.uk/win_tickets.html", 0);
flag = 2;
fname = /:name;
lname = /:surname;
email = /:email;
loadVariablesNum ("http://vodafone.panlogic.co.uk/vodafone/servlet/vodafone", 0, "POST");
play();
} else {
tellTarget ("_root.aah.alerter") {
play();
};
}
}
Symbol 363 Button
on (release) {
randyurl = random(1000);
loadVariablesNum ("http://vodafone.panlogic.co.uk/vodafone/servlet/vodafone?flag=1&url=newsletter sign up&rand=" add randyurl, 0);
getURL ("http://www.vodafone.co.uk/enewsletter", "_blank");
loadVariablesNum ("http://vodafone.panlogic.co.uk/sign_up.html", 0);
}
Symbol 369 MovieClip Frame 1
stop();
Symbol 369 MovieClip Frame 52
stop();
randyurl = random(1000);
loadVariablesNum ("http://vodafone.panlogic.co.uk/vodafone/servlet/vodafone?flag=1&url=number optin emails&rand=" add randyurl, 0);
Symbol 374 Button
on (release) {
randyurl = random(1000);
loadVariablesNum ("http://vodafone.panlogic.co.uk/vodafone/servlet/vodafone?flag=1&url=play again&rand=" add randyurl, 0);
loadVariablesNum ("http://vodafone.panlogic.co.uk/play_again.html", 0);
tellTarget ("_root") {
gotoAndStop ("stats");
};
}
Symbol 375 Button
on (release) {
loadVariablesNum ("http://vodafone.panlogic.co.uk/challenge_friend.html", 0);
randyurl = random(1000);
loadVariablesNum ("http://vodafone.panlogic.co.uk/vodafone/servlet/vodafone?flag=1&url=forward to friend&rand=" add randyurl, 0);
var subject = "Bet you can't beat my fastest lap...";
var body = (((("I've just played this superb Vodafone Ferrari F1 racing game and my fastest lap was " add /:best_lap) add " secs. That's put me at position ") add _root.controller.position) add " on the leaderboard.%0D %0A %0D %0ASee if you can beat me...%0D %0A %0D %0AClick http://vodafone.panlogic.co.uk to play.");
getURL ((("mailto:?subject=" + subject) + "&body=") + body);
}
Symbol 376 Button
on (release) {
randyurl = random(1000);
loadVariablesNum ("http://vodafone.panlogic.co.uk/vodafone/servlet/vodafone?flag=1&url=newsletter sign up&rand=" add randyurl, 0);
loadVariablesNum ("http://vodafone.panlogic.co.uk/sign_up.html", 0);
getURL ("http://www.vodafone.co.uk/enewsletter", "_blank");
}
Symbol 380 Button
on (release) {
loadVariablesNum ("http://vodafone.panlogic.co.uk/win_tickets.html", 0);
tellTarget ("_root.win clip") {
gotoAndPlay (2);
};
}
Symbol 381 Button
on (press) {
upPressed = true;
}
on (release, releaseOutside) {
upPressed = false;
}
Symbol 382 Button
on (press) {
downPressed = true;
}
on (release, releaseOutside) {
downPressed = false;
}
Symbol 395 MovieClip Frame 1
stop();