Frame 1
stop();
_root.gameData = "<level-data><level>http://www.easywatch.com/watches/xml/level_data/level1.xml</level><level>http://www.easywatch.com/watches/xml/level_data/level2.xml</level><level>http://www.easywatch.com/watches/xml/level_data/level3.xml</level><level>http://www.easywatch.com/watches/xml/level_data/level4.xml</level><level>http://www.easywatch.com/watches/xml/level_data/level5.xml</level><level>http://www.easywatch.com/watches/xml/level_data/level6.xml</level><link><![CDATA[http://www.easywatch.com/cgi-bin/rs000001.pl?SOURCE=Kerb&DESTINATION=home.html&PATH=../www/acatalog&BASEURL=http://www.easywatch.com/acatalog/]]></link><link><![CDATA[http://www.easywatch.com/cgi-bin/rs000001.pl?SOURCE=game&DESTINATION=Nice.html&PATH=../www/acatalog&BASEURL=http://www.easywatch.com/acatalog/]]></link><link><![CDATA[http://www.easywatch.com/cgi-bin/rs000001.pl?SOURCE=game&DESTINATION=Cannes.html&PATH=../www/acatalog&BASEURL=http://www.easywatch.com/acatalog/]]></link><link><![CDATA[http://www.easywatch.com/cgi-bin/rs000001.pl?SOURCE=game&DESTINATION=St.Tropez.html&PATH=../www/acatalog&BASEURL=http://www.easywatch.com/acatalog/]]></link><link><![CDATA[http://www.easywatch.com/cgi-bin/rs000001.pl?SOURCE=game&DESTINATION=Monaco.html&PATH=../www/acatalog&BASEURL=http://www.easywatch.com/acatalog/]]></link><link><![CDATA[http://www.easywatch.com/cgi-bin/rs000001.pl?SOURCE=game&DESTINATION=Genoa.html&PATH=../www/acatalog&BASEURL=http://www.easywatch.com/acatalog/]]></link><link><![CDATA[http://www.easywatch.com/cgi-bin/rs000001.pl?SOURCE=game&DESTINATION=Imperia.html&PATH=../www/acatalog&BASEURL=http://www.easywatch.com/acatalog/]]></link><tell-friend>http://www.easywatch.com/watches/emailer.php</tell-friend></level-data>";
_root.level1Data = "<world gravity=\"0.9\" restitution=\"0.99\" jumpEnd=\"1385\"><particle id=\"p0\" x=\"80\" y=\"260\" xf=\"0\" yf=\"0\" r=\"20\" mc=\"backWheel_mc\" /><particle id=\"p1\" x=\"156\" y=\"240\" xf=\"0\" yf=\"0\" r=\"20\" mc=\"frontWheel_mc\" /><particle id=\"p2\" x=\"152\" y=\"194\" xf=\"0\" yf=\"0\" r=\"12\" mc=\"p2_mc\" /><particle id=\"p3\" x=\"90\" y=\"206\" xf=\"0\" yf=\"0\" r=\"12\" mc=\"p3_mc\" /><spring id=\"s0\" pa=\"p0\" pb=\"p1\" e=\"0\" l=\"76\" /><spring id=\"s1\" pa=\"p0\" pb=\"p2\" e=\"0.5\" l=\"85\"/><spring id=\"s2\" pa=\"p0\" pb=\"p3\" e=\"0.1\" l=\"35\" /><spring id=\"s3\" pa=\"p1\" pb=\"p2\" e=\"0.5\" l=\"46\" /><spring id=\"s4\" pa=\"p1\" pb=\"p3\" e=\"0.1\" l=\"74\" /><spring id=\"s5\" pa=\"p2\" pb=\"p3\" e=\"0\" l=\"63\" /><particle id=\"p4\" x=\"110\" y=\"158\" xf=\"0\" yf=\"-2\" r=\"15\" mc=\"head_mc\" /><particle id=\"p5\" x=\"110\" y=\"164\" xf=\"0\" yf=\"-1\" r=\"10\" /><particle id=\"p6\" x=\"108\" y=\"181\" xf=\"0\" yf=\"0\" r=\"10\" mc=\"rightArm_mc\" /><particle id=\"p7\" x=\"108\" y=\"181\" xf=\"0\" yf=\"0\" r=\"10\" mc=\"leftArm_mc\" /><particle id=\"p8\" x=\"96\" y=\"189\" xf=\"0\" yf=\"-1\" r=\"9\" mc=\"torso_mc\" /><particle id=\"p9\" x=\"131\" y=\"189\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"rightHand_mc\" /><particle id=\"p10\" x=\"131\" y=\"189\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"leftHand_mc\" /><particle id=\"p11\" x=\"118\" y=\"200\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"rightLeg_mc\" /><particle id=\"p12\" x=\"118\" y=\"200\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"leftLeg_mc\" /><particle id=\"p13\" x=\"117\" y=\"227\" xf=\"0\" yf=\"0\" r=\"16\" mc=\"rightFoot_mc\" /><particle id=\"p14\" x=\"117\" y=\"227\" xf=\"0\" yf=\"0\" r=\"16\" mc=\"leftFoot_mc\" /><spring id=\"s6\" pa=\"p6\" pb=\"p9\" e=\"0\" l=\"27\" /><spring id=\"s7\" pa=\"p8\" pb=\"p5\" e=\"0\" l=\"32\" /><spring id=\"s8\" pa=\"p6\" pb=\"p5\" e=\"0\" l=\"15\" /><spring id=\"s9\" pa=\"p5\" pb=\"p4\" e=\"0\" l=\"6\" /><spring id=\"s10\" pa=\"p13\" pb=\"p11\" e=\"0\" l=\"27\" /><spring id=\"s11\" pa=\"p11\" pb=\"p8\" e=\"0\" l=\"20\" /><spring id=\"s12\" pa=\"p13\" pb=\"p8\" e=\"0\" l=\"35\" /><spring id=\"s13\" pa=\"p6\" pb=\"p4\" e=\"0\" l=\"15\" /><spring id=\"s14\" pa=\"p3\" pb=\"p8\" e=\"0.5\" l=\"20\" /><spring id=\"s15\" pa=\"p10\" pb=\"p7\" e=\"0\" l=\"27\" /><spring id=\"s16\" pa=\"p7\" pb=\"p5\" e=\"0\" l=\"13\" /><spring id=\"s17\" pa=\"p14\" pb=\"p12\" e=\"0\" l=\"27\" /><spring id=\"s18\" pa=\"p12\" pb=\"p8\" e=\"0\" l=\"20\" /><spring id=\"s19\" pa=\"p14\" pb=\"p8\" e=\"0\" l=\"35\" /><spring id=\"s20\" pa=\"p7\" pb=\"p4\" e=\"0\" l=\"15\" /><spring id=\"s21\" pa=\"p8\" pb=\"p4\" e=\"0\" l=\"35\" /><constraint id=\"c0\" pa=\"p8\" pb=\"p11\" pc=\"p13\" min=\"2.8\" max=\"5.9\" /><constraint id=\"c1\" pa=\"p8\" pb=\"p12\" pc=\"p14\" min=\"2.8\" max=\"5.9\" /><constraint id=\"c2\" pa=\"p9\" pb=\"p6\" pc=\"p5\" min=\"2\" max=\"4\" /><constraint id=\"c3\" pa=\"p5\" pb=\"p7\" pc=\"p10\" min=\"2\" max=\"4\" /><surface id=\"f1\" xa=\"50\" ya=\"0\" xb=\"50\" yb=\"350\" /><surface id=\"f2\" xa=\"50\" ya=\"350\" xb=\"420\" yb=\"350\" /><surface id=\"f3\" xa=\"420\" ya=\"350\" xb=\"600\" yb=\"250\" /><surface id=\"f4\" x=\"642\" y=\"348\" r=\"105\" /><surface id=\"f5\" x=\"1253\" y=\"367\" r=\"105\" /><surface id=\"f6\" xa=\"1270\" ya=\"263\" xb=\"1635\" yb=\"350\" /><surface id=\"f7\" xa=\"1635\" ya=\"350\" xb=\"2500\" yb=\"350\" /><surface id=\"f8\" xa=\"2500\" ya=\"350\" xb=\"2500\" yb=\"0\" /></world>";
_root.level2Data = "<world gravity=\"0.9\" restitution=\"0.99\" jumpEnd=\"1385\"><particle id=\"p0\" x=\"80\" y=\"260\" xf=\"0\" yf=\"0\" r=\"20\" mc=\"backWheel_mc\" /><particle id=\"p1\" x=\"156\" y=\"240\" xf=\"0\" yf=\"0\" r=\"20\" mc=\"frontWheel_mc\" /><particle id=\"p2\" x=\"152\" y=\"194\" xf=\"0\" yf=\"0\" r=\"12\" mc=\"p2_mc\" /><particle id=\"p3\" x=\"90\" y=\"206\" xf=\"0\" yf=\"0\" r=\"12\" mc=\"p3_mc\" /><spring id=\"s0\" pa=\"p0\" pb=\"p1\" e=\"0\" l=\"76\" /><spring id=\"s1\" pa=\"p0\" pb=\"p2\" e=\"0.5\" l=\"85\"/><spring id=\"s2\" pa=\"p0\" pb=\"p3\" e=\"0.1\" l=\"35\" /><spring id=\"s3\" pa=\"p1\" pb=\"p2\" e=\"0.5\" l=\"46\" /><spring id=\"s4\" pa=\"p1\" pb=\"p3\" e=\"0.1\" l=\"74\" /><spring id=\"s5\" pa=\"p2\" pb=\"p3\" e=\"0\" l=\"63\" /><particle id=\"p4\" x=\"110\" y=\"158\" xf=\"0\" yf=\"-2\" r=\"15\" mc=\"head_mc\" /><particle id=\"p5\" x=\"110\" y=\"164\" xf=\"0\" yf=\"-1\" r=\"10\" /><particle id=\"p6\" x=\"108\" y=\"181\" xf=\"0\" yf=\"0\" r=\"10\" mc=\"rightArm_mc\" /><particle id=\"p7\" x=\"108\" y=\"181\" xf=\"0\" yf=\"0\" r=\"10\" mc=\"leftArm_mc\" /><particle id=\"p8\" x=\"96\" y=\"189\" xf=\"0\" yf=\"-1\" r=\"9\" mc=\"torso_mc\" /><particle id=\"p9\" x=\"131\" y=\"189\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"rightHand_mc\" /><particle id=\"p10\" x=\"131\" y=\"189\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"leftHand_mc\" /><particle id=\"p11\" x=\"118\" y=\"200\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"rightLeg_mc\" /><particle id=\"p12\" x=\"118\" y=\"200\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"leftLeg_mc\" /><particle id=\"p13\" x=\"117\" y=\"227\" xf=\"0\" yf=\"0\" r=\"16\" mc=\"rightFoot_mc\" /><particle id=\"p14\" x=\"117\" y=\"227\" xf=\"0\" yf=\"0\" r=\"16\" mc=\"leftFoot_mc\" /><spring id=\"s6\" pa=\"p6\" pb=\"p9\" e=\"0\" l=\"27\" /><spring id=\"s7\" pa=\"p8\" pb=\"p5\" e=\"0\" l=\"32\" /><spring id=\"s8\" pa=\"p6\" pb=\"p5\" e=\"0\" l=\"15\" /><spring id=\"s9\" pa=\"p5\" pb=\"p4\" e=\"0\" l=\"6\" /><spring id=\"s10\" pa=\"p13\" pb=\"p11\" e=\"0\" l=\"27\" /><spring id=\"s11\" pa=\"p11\" pb=\"p8\" e=\"0\" l=\"20\" /><spring id=\"s12\" pa=\"p13\" pb=\"p8\" e=\"0\" l=\"35\" /><spring id=\"s13\" pa=\"p6\" pb=\"p4\" e=\"0\" l=\"15\" /><spring id=\"s14\" pa=\"p3\" pb=\"p8\" e=\"0.5\" l=\"20\" /><spring id=\"s15\" pa=\"p10\" pb=\"p7\" e=\"0\" l=\"27\" /><spring id=\"s16\" pa=\"p7\" pb=\"p5\" e=\"0\" l=\"13\" /><spring id=\"s17\" pa=\"p14\" pb=\"p12\" e=\"0\" l=\"27\" /><spring id=\"s18\" pa=\"p12\" pb=\"p8\" e=\"0\" l=\"20\" /><spring id=\"s19\" pa=\"p14\" pb=\"p8\" e=\"0\" l=\"35\" /><spring id=\"s20\" pa=\"p7\" pb=\"p4\" e=\"0\" l=\"15\" /><spring id=\"s21\" pa=\"p8\" pb=\"p4\" e=\"0\" l=\"35\" /><constraint id=\"c0\" pa=\"p8\" pb=\"p11\" pc=\"p13\" min=\"2.8\" max=\"5.9\" /><constraint id=\"c1\" pa=\"p8\" pb=\"p12\" pc=\"p14\" min=\"2.8\" max=\"5.9\" /><constraint id=\"c2\" pa=\"p9\" pb=\"p6\" pc=\"p5\" min=\"2\" max=\"4\" /><constraint id=\"c3\" pa=\"p5\" pb=\"p7\" pc=\"p10\" min=\"2\" max=\"4\" /><surface id=\"f1\" xa=\"50\" ya=\"0\" xb=\"50\" yb=\"350\" /><surface id=\"f2\" xa=\"50\" ya=\"350\" xb=\"420\" yb=\"350\" /><surface id=\"f3\" xa=\"403\" ya=\"358\" xb=\"577\" yb=\"265\" /><surface id=\"f4\" xa=\"669\" ya=\"262\" xb=\"732\" yb=\"292\" /><surface id=\"f5\" x=\"626\" y=\"364\" r=\"110\" /><surface id=\"f6\" x=\"702\" y=\"351\" r=\"65\" /><surface id=\"f7\" x=\"1523\" y=\"373\" r=\"50\" /><surface id=\"f8\" x=\"1574\" y=\"376\" r=\"82\" /><surface id=\"f9\" xa=\"1490\" ya=\"335\" xb=\"1537\" yb=\"304\" /><surface id=\"f10\" xa=\"1610\" ya=\"302\" xb=\"1782\" yb=\"363\" /><surface id=\"f11\" xa=\"1682\" ya=\"350\" xb=\"2500\" yb=\"350\" /><surface id=\"f12\" xa=\"2500\" ya=\"350\" xb=\"2500\" yb=\"0\" /></world>";
_root.level3Data = "<world gravity=\"0.9\" restitution=\"0.99\" jumpEnd=\"1385\"><particle id=\"p0\" x=\"80\" y=\"260\" xf=\"0\" yf=\"0\" r=\"20\" mc=\"backWheel_mc\" /><particle id=\"p1\" x=\"156\" y=\"240\" xf=\"0\" yf=\"0\" r=\"20\" mc=\"frontWheel_mc\" /><particle id=\"p2\" x=\"152\" y=\"194\" xf=\"0\" yf=\"0\" r=\"12\" mc=\"p2_mc\" /><particle id=\"p3\" x=\"90\" y=\"206\" xf=\"0\" yf=\"0\" r=\"12\" mc=\"p3_mc\" /><spring id=\"s0\" pa=\"p0\" pb=\"p1\" e=\"0\" l=\"76\" /><spring id=\"s1\" pa=\"p0\" pb=\"p2\" e=\"0.5\" l=\"85\"/><spring id=\"s2\" pa=\"p0\" pb=\"p3\" e=\"0.1\" l=\"35\" /><spring id=\"s3\" pa=\"p1\" pb=\"p2\" e=\"0.5\" l=\"46\" /><spring id=\"s4\" pa=\"p1\" pb=\"p3\" e=\"0.1\" l=\"74\" /><spring id=\"s5\" pa=\"p2\" pb=\"p3\" e=\"0\" l=\"63\" /><particle id=\"p4\" x=\"110\" y=\"158\" xf=\"0\" yf=\"-2\" r=\"15\" mc=\"head_mc\" /><particle id=\"p5\" x=\"110\" y=\"164\" xf=\"0\" yf=\"-1\" r=\"10\" /><particle id=\"p6\" x=\"108\" y=\"181\" xf=\"0\" yf=\"0\" r=\"10\" mc=\"rightArm_mc\" /><particle id=\"p7\" x=\"108\" y=\"181\" xf=\"0\" yf=\"0\" r=\"10\" mc=\"leftArm_mc\" /><particle id=\"p8\" x=\"96\" y=\"189\" xf=\"0\" yf=\"-1\" r=\"9\" mc=\"torso_mc\" /><particle id=\"p9\" x=\"131\" y=\"189\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"rightHand_mc\" /><particle id=\"p10\" x=\"131\" y=\"189\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"leftHand_mc\" /><particle id=\"p11\" x=\"118\" y=\"200\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"rightLeg_mc\" /><particle id=\"p12\" x=\"118\" y=\"200\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"leftLeg_mc\" /><particle id=\"p13\" x=\"117\" y=\"227\" xf=\"0\" yf=\"0\" r=\"16\" mc=\"rightFoot_mc\" /><particle id=\"p14\" x=\"117\" y=\"227\" xf=\"0\" yf=\"0\" r=\"16\" mc=\"leftFoot_mc\" /><spring id=\"s6\" pa=\"p6\" pb=\"p9\" e=\"0\" l=\"27\" /><spring id=\"s7\" pa=\"p8\" pb=\"p5\" e=\"0\" l=\"32\" /><spring id=\"s8\" pa=\"p6\" pb=\"p5\" e=\"0\" l=\"15\" /><spring id=\"s9\" pa=\"p5\" pb=\"p4\" e=\"0\" l=\"6\" /><spring id=\"s10\" pa=\"p13\" pb=\"p11\" e=\"0\" l=\"27\" /><spring id=\"s11\" pa=\"p11\" pb=\"p8\" e=\"0\" l=\"20\" /><spring id=\"s12\" pa=\"p13\" pb=\"p8\" e=\"0\" l=\"35\" /><spring id=\"s13\" pa=\"p6\" pb=\"p4\" e=\"0\" l=\"15\" /><spring id=\"s14\" pa=\"p3\" pb=\"p8\" e=\"0.5\" l=\"20\" /><spring id=\"s15\" pa=\"p10\" pb=\"p7\" e=\"0\" l=\"27\" /><spring id=\"s16\" pa=\"p7\" pb=\"p5\" e=\"0\" l=\"13\" /><spring id=\"s17\" pa=\"p14\" pb=\"p12\" e=\"0\" l=\"27\" /><spring id=\"s18\" pa=\"p12\" pb=\"p8\" e=\"0\" l=\"20\" /><spring id=\"s19\" pa=\"p14\" pb=\"p8\" e=\"0\" l=\"35\" /><spring id=\"s20\" pa=\"p7\" pb=\"p4\" e=\"0\" l=\"15\" /><spring id=\"s21\" pa=\"p8\" pb=\"p4\" e=\"0\" l=\"35\" /><constraint id=\"c0\" pa=\"p8\" pb=\"p11\" pc=\"p13\" min=\"2.8\" max=\"5.9\" /><constraint id=\"c1\" pa=\"p8\" pb=\"p12\" pc=\"p14\" min=\"2.8\" max=\"5.9\" /><constraint id=\"c2\" pa=\"p9\" pb=\"p6\" pc=\"p5\" min=\"2\" max=\"4\" /><constraint id=\"c3\" pa=\"p5\" pb=\"p7\" pc=\"p10\" min=\"2\" max=\"4\" /><surface id=\"f1\" xa=\"50\" ya=\"0\" xb=\"50\" yb=\"350\" /><surface id=\"f2\" xa=\"50\" ya=\"350\" xb=\"480\" yb=\"350\" /><surface id=\"f3\" xa=\"448\" ya=\"367\" xb=\"623\" yb=\"275\" /><surface id=\"f4\" x=\"665\" y=\"349\" r=\"85\" /><surface id=\"f5\" x=\"1280\" y=\"348\" r=\"130\" /><surface id=\"f6\" xa=\"1360\" ya=\"245\" xb=\"1576\" yb=\"359\" /><surface id=\"f7\" xa=\"1385\" ya=\"350\" xb=\"2500\" yb=\"350\" /><surface id=\"f8\" xa=\"2500\" ya=\"350\" xb=\"2500\" yb=\"0\" /></world>";
_root.level4Data = "<world gravity=\"0.9\" restitution=\"0.99\" jumpEnd=\"1385\"><particle id=\"p0\" x=\"80\" y=\"260\" xf=\"0\" yf=\"0\" r=\"20\" mc=\"backWheel_mc\" /><particle id=\"p1\" x=\"156\" y=\"240\" xf=\"0\" yf=\"0\" r=\"20\" mc=\"frontWheel_mc\" /><particle id=\"p2\" x=\"152\" y=\"194\" xf=\"0\" yf=\"0\" r=\"12\" mc=\"p2_mc\" /><particle id=\"p3\" x=\"90\" y=\"206\" xf=\"0\" yf=\"0\" r=\"12\" mc=\"p3_mc\" /><spring id=\"s0\" pa=\"p0\" pb=\"p1\" e=\"0\" l=\"76\" /><spring id=\"s1\" pa=\"p0\" pb=\"p2\" e=\"0.5\" l=\"85\"/><spring id=\"s2\" pa=\"p0\" pb=\"p3\" e=\"0.1\" l=\"35\" /><spring id=\"s3\" pa=\"p1\" pb=\"p2\" e=\"0.5\" l=\"46\" /><spring id=\"s4\" pa=\"p1\" pb=\"p3\" e=\"0.1\" l=\"74\" /><spring id=\"s5\" pa=\"p2\" pb=\"p3\" e=\"0\" l=\"63\" /><particle id=\"p4\" x=\"110\" y=\"158\" xf=\"0\" yf=\"-2\" r=\"15\" mc=\"head_mc\" /><particle id=\"p5\" x=\"110\" y=\"164\" xf=\"0\" yf=\"-1\" r=\"10\" /><particle id=\"p6\" x=\"108\" y=\"181\" xf=\"0\" yf=\"0\" r=\"10\" mc=\"rightArm_mc\" /><particle id=\"p7\" x=\"108\" y=\"181\" xf=\"0\" yf=\"0\" r=\"10\" mc=\"leftArm_mc\" /><particle id=\"p8\" x=\"96\" y=\"189\" xf=\"0\" yf=\"-1\" r=\"9\" mc=\"torso_mc\" /><particle id=\"p9\" x=\"131\" y=\"189\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"rightHand_mc\" /><particle id=\"p10\" x=\"131\" y=\"189\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"leftHand_mc\" /><particle id=\"p11\" x=\"118\" y=\"200\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"rightLeg_mc\" /><particle id=\"p12\" x=\"118\" y=\"200\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"leftLeg_mc\" /><particle id=\"p13\" x=\"117\" y=\"227\" xf=\"0\" yf=\"0\" r=\"16\" mc=\"rightFoot_mc\" /><particle id=\"p14\" x=\"117\" y=\"227\" xf=\"0\" yf=\"0\" r=\"16\" mc=\"leftFoot_mc\" /><spring id=\"s6\" pa=\"p6\" pb=\"p9\" e=\"0\" l=\"27\" /><spring id=\"s7\" pa=\"p8\" pb=\"p5\" e=\"0\" l=\"32\" /><spring id=\"s8\" pa=\"p6\" pb=\"p5\" e=\"0\" l=\"15\" /><spring id=\"s9\" pa=\"p5\" pb=\"p4\" e=\"0\" l=\"6\" /><spring id=\"s10\" pa=\"p13\" pb=\"p11\" e=\"0\" l=\"27\" /><spring id=\"s11\" pa=\"p11\" pb=\"p8\" e=\"0\" l=\"20\" /><spring id=\"s12\" pa=\"p13\" pb=\"p8\" e=\"0\" l=\"35\" /><spring id=\"s13\" pa=\"p6\" pb=\"p4\" e=\"0\" l=\"15\" /><spring id=\"s14\" pa=\"p3\" pb=\"p8\" e=\"0.5\" l=\"20\" /><spring id=\"s15\" pa=\"p10\" pb=\"p7\" e=\"0\" l=\"27\" /><spring id=\"s16\" pa=\"p7\" pb=\"p5\" e=\"0\" l=\"13\" /><spring id=\"s17\" pa=\"p14\" pb=\"p12\" e=\"0\" l=\"27\" /><spring id=\"s18\" pa=\"p12\" pb=\"p8\" e=\"0\" l=\"20\" /><spring id=\"s19\" pa=\"p14\" pb=\"p8\" e=\"0\" l=\"35\" /><spring id=\"s20\" pa=\"p7\" pb=\"p4\" e=\"0\" l=\"15\" /><spring id=\"s21\" pa=\"p8\" pb=\"p4\" e=\"0\" l=\"35\" /><constraint id=\"c0\" pa=\"p8\" pb=\"p11\" pc=\"p13\" min=\"2.8\" max=\"5.9\" /><constraint id=\"c1\" pa=\"p8\" pb=\"p12\" pc=\"p14\" min=\"2.8\" max=\"5.9\" /><constraint id=\"c2\" pa=\"p9\" pb=\"p6\" pc=\"p5\" min=\"2\" max=\"4\" /><constraint id=\"c3\" pa=\"p5\" pb=\"p7\" pc=\"p10\" min=\"2\" max=\"4\" /><surface id=\"f1\" xa=\"50\" ya=\"0\" xb=\"50\" yb=\"350\" /><surface id=\"f2\" xa=\"50\" ya=\"350\" xb=\"420\" yb=\"350\" /><surface id=\"f3\" xa=\"418\" ya=\"349\" xb=\"585\" yb=\"258\" /><surface id=\"f4\" x=\"640\" y=\"348\" r=\"105\" /><surface id=\"f5\" x=\"880\" y=\"180\" r=\"65\" /><surface id=\"f6\" x=\"1238\" y=\"352\" r=\"85\" /><surface id=\"f7\" xa=\"1288\" ya=\"284\" xb=\"1554\" yb=\"371\" /><surface id=\"f8\" xa=\"1385\" ya=\"350\" xb=\"2500\" yb=\"350\" /><surface id=\"f9\" xa=\"2500\" ya=\"350\" xb=\"2500\" yb=\"0\" /></world>";
_root.level5Data = "<world gravity=\"0.9\" restitution=\"0.99\" jumpEnd=\"1385\"><particle id=\"p0\" x=\"80\" y=\"260\" xf=\"0\" yf=\"0\" r=\"20\" mc=\"backWheel_mc\" /><particle id=\"p1\" x=\"156\" y=\"240\" xf=\"0\" yf=\"0\" r=\"20\" mc=\"frontWheel_mc\" /><particle id=\"p2\" x=\"152\" y=\"194\" xf=\"0\" yf=\"0\" r=\"12\" mc=\"p2_mc\" /><particle id=\"p3\" x=\"90\" y=\"206\" xf=\"0\" yf=\"0\" r=\"12\" mc=\"p3_mc\" /><spring id=\"s0\" pa=\"p0\" pb=\"p1\" e=\"0\" l=\"76\" /><spring id=\"s1\" pa=\"p0\" pb=\"p2\" e=\"0.5\" l=\"85\"/><spring id=\"s2\" pa=\"p0\" pb=\"p3\" e=\"0.1\" l=\"35\" /><spring id=\"s3\" pa=\"p1\" pb=\"p2\" e=\"0.5\" l=\"46\" /><spring id=\"s4\" pa=\"p1\" pb=\"p3\" e=\"0.1\" l=\"74\" /><spring id=\"s5\" pa=\"p2\" pb=\"p3\" e=\"0\" l=\"63\" /><particle id=\"p4\" x=\"110\" y=\"158\" xf=\"0\" yf=\"-2\" r=\"15\" mc=\"head_mc\" /><particle id=\"p5\" x=\"110\" y=\"164\" xf=\"0\" yf=\"-1\" r=\"10\" /><particle id=\"p6\" x=\"108\" y=\"181\" xf=\"0\" yf=\"0\" r=\"10\" mc=\"rightArm_mc\" /><particle id=\"p7\" x=\"108\" y=\"181\" xf=\"0\" yf=\"0\" r=\"10\" mc=\"leftArm_mc\" /><particle id=\"p8\" x=\"96\" y=\"189\" xf=\"0\" yf=\"-1\" r=\"9\" mc=\"torso_mc\" /><particle id=\"p9\" x=\"131\" y=\"189\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"rightHand_mc\" /><particle id=\"p10\" x=\"131\" y=\"189\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"leftHand_mc\" /><particle id=\"p11\" x=\"118\" y=\"200\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"rightLeg_mc\" /><particle id=\"p12\" x=\"118\" y=\"200\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"leftLeg_mc\" /><particle id=\"p13\" x=\"117\" y=\"227\" xf=\"0\" yf=\"0\" r=\"16\" mc=\"rightFoot_mc\" /><particle id=\"p14\" x=\"117\" y=\"227\" xf=\"0\" yf=\"0\" r=\"16\" mc=\"leftFoot_mc\" /><spring id=\"s6\" pa=\"p6\" pb=\"p9\" e=\"0\" l=\"27\" /><spring id=\"s7\" pa=\"p8\" pb=\"p5\" e=\"0\" l=\"32\" /><spring id=\"s8\" pa=\"p6\" pb=\"p5\" e=\"0\" l=\"15\" /><spring id=\"s9\" pa=\"p5\" pb=\"p4\" e=\"0\" l=\"6\" /><spring id=\"s10\" pa=\"p13\" pb=\"p11\" e=\"0\" l=\"27\" /><spring id=\"s11\" pa=\"p11\" pb=\"p8\" e=\"0\" l=\"20\" /><spring id=\"s12\" pa=\"p13\" pb=\"p8\" e=\"0\" l=\"35\" /><spring id=\"s13\" pa=\"p6\" pb=\"p4\" e=\"0\" l=\"15\" /><spring id=\"s14\" pa=\"p3\" pb=\"p8\" e=\"0.5\" l=\"20\" /><spring id=\"s15\" pa=\"p10\" pb=\"p7\" e=\"0\" l=\"27\" /><spring id=\"s16\" pa=\"p7\" pb=\"p5\" e=\"0\" l=\"13\" /><spring id=\"s17\" pa=\"p14\" pb=\"p12\" e=\"0\" l=\"27\" /><spring id=\"s18\" pa=\"p12\" pb=\"p8\" e=\"0\" l=\"20\" /><spring id=\"s19\" pa=\"p14\" pb=\"p8\" e=\"0\" l=\"35\" /><spring id=\"s20\" pa=\"p7\" pb=\"p4\" e=\"0\" l=\"15\" /><spring id=\"s21\" pa=\"p8\" pb=\"p4\" e=\"0\" l=\"35\" /><constraint id=\"c0\" pa=\"p8\" pb=\"p11\" pc=\"p13\" min=\"2.8\" max=\"5.9\" /><constraint id=\"c1\" pa=\"p8\" pb=\"p12\" pc=\"p14\" min=\"2.8\" max=\"5.9\" /><constraint id=\"c2\" pa=\"p9\" pb=\"p6\" pc=\"p5\" min=\"2\" max=\"4\" /><constraint id=\"c3\" pa=\"p5\" pb=\"p7\" pc=\"p10\" min=\"2\" max=\"4\" /><surface id=\"f1\" xa=\"50\" ya=\"0\" xb=\"50\" yb=\"350\" /><surface id=\"f2\" xa=\"50\" ya=\"350\" xb=\"420\" yb=\"350\" /><surface id=\"f3\" xa=\"418\" ya=\"349\" xb=\"585\" yb=\"258\" /><surface id=\"f4\" x=\"640\" y=\"348\" r=\"105\" /><surface id=\"f5\" x=\"1040\" y=\"160\" r=\"65\" /><surface id=\"f6\" x=\"1538\" y=\"352\" r=\"85\" /><surface id=\"f7\" xa=\"1588\" ya=\"284\" xb=\"1754\" yb=\"371\" /><surface id=\"f8\" xa=\"1385\" ya=\"350\" xb=\"2500\" yb=\"350\" /><surface id=\"f9\" xa=\"2500\" ya=\"350\" xb=\"2500\" yb=\"0\" /></world>";
_root.level6Data = "<world gravity=\"0.9\" restitution=\"0.99\" jumpEnd=\"1385\"><particle id=\"p0\" x=\"80\" y=\"260\" xf=\"0\" yf=\"0\" r=\"20\" mc=\"backWheel_mc\" /><particle id=\"p1\" x=\"156\" y=\"240\" xf=\"0\" yf=\"0\" r=\"20\" mc=\"frontWheel_mc\" /><particle id=\"p2\" x=\"152\" y=\"194\" xf=\"0\" yf=\"0\" r=\"12\" mc=\"p2_mc\" /><particle id=\"p3\" x=\"90\" y=\"206\" xf=\"0\" yf=\"0\" r=\"12\" mc=\"p3_mc\" /><spring id=\"s0\" pa=\"p0\" pb=\"p1\" e=\"0\" l=\"76\" /><spring id=\"s1\" pa=\"p0\" pb=\"p2\" e=\"0.5\" l=\"85\"/><spring id=\"s2\" pa=\"p0\" pb=\"p3\" e=\"0.1\" l=\"35\" /><spring id=\"s3\" pa=\"p1\" pb=\"p2\" e=\"0.5\" l=\"46\" /><spring id=\"s4\" pa=\"p1\" pb=\"p3\" e=\"0.1\" l=\"74\" /><spring id=\"s5\" pa=\"p2\" pb=\"p3\" e=\"0\" l=\"63\" /><particle id=\"p4\" x=\"110\" y=\"158\" xf=\"0\" yf=\"-2\" r=\"15\" mc=\"head_mc\" /><particle id=\"p5\" x=\"110\" y=\"164\" xf=\"0\" yf=\"-1\" r=\"10\" /><particle id=\"p6\" x=\"108\" y=\"181\" xf=\"0\" yf=\"0\" r=\"10\" mc=\"rightArm_mc\" /><particle id=\"p7\" x=\"108\" y=\"181\" xf=\"0\" yf=\"0\" r=\"10\" mc=\"leftArm_mc\" /><particle id=\"p8\" x=\"96\" y=\"189\" xf=\"0\" yf=\"-1\" r=\"9\" mc=\"torso_mc\" /><particle id=\"p9\" x=\"131\" y=\"189\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"rightHand_mc\" /><particle id=\"p10\" x=\"131\" y=\"189\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"leftHand_mc\" /><particle id=\"p11\" x=\"118\" y=\"200\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"rightLeg_mc\" /><particle id=\"p12\" x=\"118\" y=\"200\" xf=\"0\" yf=\"0\" r=\"9\" mc=\"leftLeg_mc\" /><particle id=\"p13\" x=\"117\" y=\"227\" xf=\"0\" yf=\"0\" r=\"16\" mc=\"rightFoot_mc\" /><particle id=\"p14\" x=\"117\" y=\"227\" xf=\"0\" yf=\"0\" r=\"16\" mc=\"leftFoot_mc\" /><spring id=\"s6\" pa=\"p6\" pb=\"p9\" e=\"0\" l=\"27\" /><spring id=\"s7\" pa=\"p8\" pb=\"p5\" e=\"0\" l=\"32\" /><spring id=\"s8\" pa=\"p6\" pb=\"p5\" e=\"0\" l=\"15\" /><spring id=\"s9\" pa=\"p5\" pb=\"p4\" e=\"0\" l=\"6\" /><spring id=\"s10\" pa=\"p13\" pb=\"p11\" e=\"0\" l=\"27\" /><spring id=\"s11\" pa=\"p11\" pb=\"p8\" e=\"0\" l=\"20\" /><spring id=\"s12\" pa=\"p13\" pb=\"p8\" e=\"0\" l=\"35\" /><spring id=\"s13\" pa=\"p6\" pb=\"p4\" e=\"0\" l=\"15\" /><spring id=\"s14\" pa=\"p3\" pb=\"p8\" e=\"0.5\" l=\"20\" /><spring id=\"s15\" pa=\"p10\" pb=\"p7\" e=\"0\" l=\"27\" /><spring id=\"s16\" pa=\"p7\" pb=\"p5\" e=\"0\" l=\"13\" /><spring id=\"s17\" pa=\"p14\" pb=\"p12\" e=\"0\" l=\"27\" /><spring id=\"s18\" pa=\"p12\" pb=\"p8\" e=\"0\" l=\"20\" /><spring id=\"s19\" pa=\"p14\" pb=\"p8\" e=\"0\" l=\"35\" /><spring id=\"s20\" pa=\"p7\" pb=\"p4\" e=\"0\" l=\"15\" /><spring id=\"s21\" pa=\"p8\" pb=\"p4\" e=\"0\" l=\"35\" /><constraint id=\"c0\" pa=\"p8\" pb=\"p11\" pc=\"p13\" min=\"2.8\" max=\"5.9\" /><constraint id=\"c1\" pa=\"p8\" pb=\"p12\" pc=\"p14\" min=\"2.8\" max=\"5.9\" /><constraint id=\"c2\" pa=\"p9\" pb=\"p6\" pc=\"p5\" min=\"2\" max=\"4\" /><constraint id=\"c3\" pa=\"p5\" pb=\"p7\" pc=\"p10\" min=\"2\" max=\"4\" /><surface id=\"f1\" xa=\"50\" ya=\"0\" xb=\"50\" yb=\"350\" /><surface id=\"f2\" xa=\"50\" ya=\"350\" xb=\"420\" yb=\"350\" /><surface id=\"f3\" xa=\"418\" ya=\"349\" xb=\"585\" yb=\"258\" /><surface id=\"f4\" x=\"640\" y=\"348\" r=\"105\" /><surface id=\"f5\" x=\"965\" y=\"145\" r=\"50\" /><surface id=\"f6\" x=\"1320\" y=\"180\" r=\"50\" /><surface id=\"f7\" x=\"1527\" y=\"341\" r=\"75\" /><surface id=\"f8\" xa=\"1563\" ya=\"275\" xb=\"1764\" yb=\"362\" /><surface id=\"f9\" xa=\"1585\" ya=\"350\" xb=\"2500\" yb=\"350\" /><surface id=\"f10\" xa=\"2500\" ya=\"350\" xb=\"2500\" yb=\"0\" /></world>";
var game = new Game(this, preloader_mc);
loadMovieNum ("http://watches.whodidit.co.uk/watch54.swf", 10);
Frame 11
game.initIntro();
Frame 21
game.initLevel();
Frame 30
stop();
game.initEnding();
clickThrough_btn.onRelease = function () {
game.handleClickThrough("generic");
};
playAgain_btn.onRelease = function () {
gotoAndStop ("intro");
};
Symbol 21 MovieClip Frame 100
stop();
Symbol 24 Button
on (release) {
getURL ("http://www.easywatch.com", "_blank");
}
Symbol 27 MovieClip Frame 1
stop();
Symbol 27 MovieClip Frame 19
stop();
this._parent.gotoAndStop("intro");
Symbol 30 MovieClip Frame 1
function checkLoaded() {
if (loaderClip.startUpdate.toString() == "[type Function]") {
clearInterval(id);
loadComplete();
}
}
function loadComplete() {
loaderClip.redirectURL = _root.MMredirectURL;
loaderClip.MMplayerType = _root.MMplayerType;
loaderClip.MMdoctitle = _root.MMdoctitle;
loaderClip.startUpdate();
}
function installStatus(statusValue) {
if (statusValue == "Download.Complete") {
} else if (statusValue == "Download.Cancelled") {
} else if (statusValue == "Download.Failed") {
}
}
System.security.allowDomain("fpdownload.macromedia.com");
var cacheBuster = Math.random();
var updateSWF = ("http://fpdownload.macromedia.com/pub/flashplayer/update/current/swf/autoUpdater.swf?" + cacheBuster);
loaderClip.loadMovie(updateSWF);
var id = setInterval(checkLoaded, 10);
Symbol 617 MovieClip [__Packages.Game] Frame 0
class Game
{
var root_mc, watchURLs, soundOn, firstTime, currLevelNum, levelData, tellFriendURL, screechSound, crashSound, engineSound, thudSound, revSound, applauseSound, ambulanceSound, introMusicSound, inGameMusicSound, winMusicSound, loseMusicSound, reverseMusicSound, highestLevelReached, endLevelInterval, currWorld, pullBack, finishLine, launching, separated, jumpTimer, jumpSpeed, goComplete, initPanX, initPanInterval, launchStepNum, xLaunchMax, yLaunchMax, jumpEnd;
function Game (root_mc, preloader_mc) {
this.root_mc = root_mc;
watchURLs = [];
soundOn = true;
firstTime = true;
if ((System.capabilities.playerType == "External") || (System.capabilities.playerType == "StandAlone")) {
_root.gameDataURL = "xml/game_data.xml";
}
new Preloader(root_mc, preloader_mc, _root.gameDataURL, this, preloadComplete);
}
function getCurrentWatch() {
var _local2 = [];
_local2.push("Nice");
_local2.push("Cannes");
_local2.push("St Tropez");
_local2.push("Monaco");
_local2.push("Genoa");
_local2.push("Imperia");
return([_local2[currLevelNum - 1], _local2[currLevelNum]]);
}
function getCurrentLevel() {
return(currLevelNum);
}
function handleClickThrough(type) {
if (type == "generic") {
getURL (watchURLs[0], "_blank");
} else {
getURL (watchURLs[currLevelNum], "_blank");
}
}
function preloadComplete(args) {
levelData = args[0];
watchURLs = args[1];
tellFriendURL = args[2];
root_mc.gotoAndStop("intro");
screechSound = new Sound(root_mc);
screechSound.attachSound("screech_snd");
crashSound = new Sound(root_mc);
crashSound.attachSound("crash_snd");
engineSound = new Sound(root_mc);
engineSound.attachSound("engine_snd");
thudSound = new Sound(root_mc);
thudSound.attachSound("thud_snd");
revSound = new Sound(root_mc);
revSound.attachSound("rev_snd");
applauseSound = new Sound(root_mc);
applauseSound.attachSound("applause_snd");
ambulanceSound = new Sound(root_mc);
ambulanceSound.attachSound("ambulance_snd");
introMusicSound = new Sound(root_mc);
introMusicSound.attachSound("introMusic_snd");
inGameMusicSound = new Sound(root_mc);
inGameMusicSound.attachSound("inGameMusic_snd");
winMusicSound = new Sound(root_mc);
winMusicSound.attachSound("winMusic_snd");
loseMusicSound = new Sound(root_mc);
loseMusicSound.attachSound("loseMusic_snd");
reverseMusicSound = new Sound(root_mc);
reverseMusicSound.attachSound("reverseMusic_snd");
}
function initIntro() {
var callback = this;
currLevelNum = 0;
highestLevelReached = 0;
stopAllSounds();
if (soundOn) {
introMusicSound.start(0, 9999);
}
root_mc.intro_mc.fromMain = true;
root_mc.intro_mc.play_btn.onRelease = function () {
callback.introMusicSound.stop();
this._parent.goingToGame = true;
if (this._parent._currentframe < 87) {
this._parent.gotoAndPlay(88);
} else {
this._parent.play();
}
};
root_mc.intro_mc.instructions_btn.onRelease = function () {
if (this._parent.fromMain) {
this._parent.fromMain = false;
this._parent.gotoAndPlay("instructionsFromMain");
} else {
this._parent.gotoAndPlay("instructions");
}
};
root_mc.intro_mc.tellFriend_btn.onRelease = function () {
if (this._parent.fromMain) {
this._parent.fromMain = false;
this._parent.gotoAndPlay("tellFriendFromMain");
} else {
this._parent.gotoAndPlay("tellFriend");
}
};
root_mc.sound_btn.onRelease = function () {
callback.soundOn = !callback.soundOn;
if (callback.soundOn) {
this.gotoAndStop("up");
} else {
this.gotoAndStop("down");
stopAllSounds();
}
};
}
function initEnding() {
stopAllSounds();
if (soundOn) {
applauseSound.start();
winMusicSound.start(0, 9999);
}
}
function restartLevel() {
clearInterval(endLevelInterval);
root_mc.nextFrame();
root_mc.gotoAndStop("levels");
}
function prevLevel() {
clearInterval(endLevelInterval);
root_mc.nextFrame();
if (currLevelNum > 1) {
currLevelNum--;
}
root_mc.gotoAndStop("levels");
}
function nextLevel() {
clearInterval(endLevelInterval);
root_mc.nextFrame();
if ((currLevelNum++) == levelData.length) {
root_mc.gotoAndStop("gameFinished");
} else {
root_mc.gotoAndStop("levels");
}
}
function initLevel() {
var _local5;
var _local3;
var _local4;
var _local6;
var _local2;
delete currWorld;
delete pullBack;
root_mc.level_mc.gotoAndStop(currLevelNum);
root_mc.levelName_mc.gotoAndStop(currLevelNum);
currWorld = new uk.co.kerb.physics.World(root_mc.level_mc.canvas_mc, this);
finishLine = 0;
parseLevelData(levelData[currLevelNum - 1]);
_local5 = root_mc.level_mc.canvas_mc.pullBack_mc;
_local3 = root_mc.level_mc.canvas_mc.pullBackLink_mc;
_local4 = root_mc.level_mc.canvas_mc.backWheel_mc;
_local6 = root_mc.level_mc.canvas_mc.smoke_mc;
pullBack = new PullBack(_local5, _local3, _local4, _local6, this);
launching = false;
separated = false;
jumpTimer = null;
jumpSpeed = currWorld.getParticle(8).vCurr.x;
root_mc.level_mc.levelComplete_mc._visible = false;
root_mc.level_mc.levelRestart_mc._visible = false;
root_mc.level_mc.levelDown_mc._visible = false;
root_mc.level_mc.levelTimeOut_mc._visible = false;
goComplete = false;
currWorld.getParticle(9).locked = true;
currWorld.getParticle(10).locked = true;
currWorld.getParticle(13).locked = true;
currWorld.getParticle(14).locked = true;
stopAllSounds();
if (soundOn) {
inGameMusicSound.start(0, 9999);
}
if (currLevelNum > highestLevelReached) {
_local2 = root_mc.level_mc.canvas_mc;
highestLevelReached = currLevelNum;
initPanX = 1700;
_local2._x = -1191.4;
_local2.foreground_mc._x = 1191;
_local2.parallax0_mc._x = 982;
_local2.parallax1_mc._x = 981;
_local2.parallax2_mc._x = 1386;
switch (currLevelNum) {
case 4 :
_local2.parallax0_mc._x = 1282;
break;
case 5 :
_local2.parallax0_mc._x = _local2.parallax0_mc._x + 600;
break;
case 6 :
_local2.parallax0_mc._x = _local2.parallax0_mc._x + 600;
_local2.parallax1_mc._x = _local2.parallax1_mc._x + 600;
}
initPanInterval = setInterval(this, "updateInitPan", 20);
} else {
pullBack.init();
currWorld.start();
}
}
function updateInitPan() {
var _local2;
var _local3;
initPanX = initPanX - 20;
_local2 = root_mc.level_mc.canvas_mc;
_local3 = CAMERA_DAMPING * ((200 - initPanX) - _local2._x);
_local2._x = _local2._x + _local3;
_local2.foreground_mc._x = -_local2._x;
_local2.parallax0_mc._x = _local2.parallax0_mc._x + (PARALLAX_LEVEL_0_SCALAR * _local3);
_local2.parallax1_mc._x = _local2.parallax1_mc._x + (PARALLAX_LEVEL_1_SCALAR * _local3);
_local2.parallax2_mc._x = _local2.parallax2_mc._x + (PARALLAX_LEVEL_2_SCALAR * _local3);
if (initPanX < 150) {
clearInterval(initPanInterval);
pullBack.init();
currWorld.start();
}
}
function update() {
updateBike();
updateRider();
updateCamera();
if (pullBack != undefined) {
pullBack.update();
}
}
function updateBike() {
var _local5;
var _local3;
var _local8;
var _local6;
var _local2 = currWorld.getParticle(0);
var _local4 = currWorld.getParticle(1);
var _local7 = currWorld.getParticle(2);
var _local9 = currWorld.getParticle(3);
_local3 = root_mc.level_mc.canvas_mc.bikeBody_mc;
_local3._x = 0.25 * (((_local2.vCurr.x + _local4.vCurr.x) + _local7.vCurr.x) + _local9.vCurr.x);
_local3._y = 0.25 * (((_local2.vCurr.y + _local4.vCurr.y) + _local7.vCurr.y) + _local9.vCurr.y);
_local5 = _local4.vCurr.minusNew(_local2.vCurr);
_local3._rotation = RADIANS_TO_DEGREES * Math.atan2(_local5.y, _local5.x);
_local3 = root_mc.level_mc.canvas_mc.frontFork_mc;
_local3._x = _local4.vCurr.x;
_local3._y = _local4.vCurr.y;
_local5 = _local7.vCurr.minusNew(_local4.vCurr);
_local3._rotation = (RADIANS_TO_DEGREES * Math.atan2(_local5.y, _local5.x)) - 7;
_local3 = root_mc.level_mc.canvas_mc.backFork_mc;
_local8 = root_mc.level_mc.canvas_mc.backShock_mc;
_local3._x = (_local8._x = _local2.vCurr.x);
_local3._y = (_local8._y = _local2.vCurr.y);
_local5 = _local7.vCurr.minusNew(_local2.vCurr);
_local3._rotation = (_local8._rotation = RADIANS_TO_DEGREES * Math.atan2(_local5.y, _local5.x));
_local2.mc._rotation = _local2.mc._rotation + (4 * (_local2.vCurr.x - _local2.vPrev.x));
_local4.mc._rotation = _local4.mc._rotation + (4 * (_local4.vCurr.x - _local4.vPrev.x));
if (launching) {
_local6 = (++launchStepNum) / LAUNCH_DURATION;
_local6 = _local6 * _local6;
_local2.vPrev.x = _local2.vPrev.x - ((BIKE_LAUNCH_X_SCALAR * xLaunchMax) * _local6);
_local4.vPrev.x = _local4.vPrev.x - ((BIKE_LAUNCH_X_SCALAR * xLaunchMax) * _local6);
_local4.vPrev.y = _local4.vPrev.y - ((BIKE_LAUNCH_Y_SCALAR * yLaunchMax) * _local6);
if (launchStepNum >= LAUNCH_DURATION) {
launching = false;
}
_local2.mc._rotation = _local2.mc._rotation + 4;
} else if ((_local2.vCurr.y > 1000) && (!goComplete)) {
trace("RESET FROM BIKE FALLING");
engineSound.stop();
goComplete = true;
if (separated) {
root_mc.level_mc.levelRestart_mc._visible = true;
root_mc.level_mc.levelRestart_mc.gotoAndPlay(2);
} else {
root_mc.level_mc.levelDown_mc._visible = true;
root_mc.level_mc.levelDown_mc.gotoAndPlay(2);
}
}
}
function updateRider() {
var _local2;
var _local3;
var _local17;
var _local4;
var _local21 = currWorld.getParticle(0);
var _local12 = currWorld.getParticle(1);
var _local20 = currWorld.getParticle(2);
var _local19 = currWorld.getParticle(3);
var _local14 = currWorld.getParticle(4);
var _local13 = currWorld.getParticle(5);
var _local16 = currWorld.getParticle(6);
var _local15 = currWorld.getParticle(7);
var _local11 = currWorld.getParticle(8);
var _local9 = currWorld.getParticle(9);
var _local10 = currWorld.getParticle(10);
var _local6 = currWorld.getParticle(11);
var _local5 = currWorld.getParticle(12);
var _local8 = currWorld.getParticle(13);
var _local7 = currWorld.getParticle(14);
var _local18 = _local14.vCurr.x - jumpSpeed;
jumpSpeed = _local14.vCurr.x;
if (!separated) {
_local3 = root_mc.level_mc.canvas_mc.bikeBody_mc;
_local4 = {x:56, y:-138};
_local3.localToGlobal(_local4);
_local3._parent.globalToLocal(_local4);
_local9.vCurr.x = (_local9.vPrev.x = _local4.x);
_local9.vCurr.y = (_local9.vPrev.y = _local4.y);
_local10.vCurr.x = (_local10.vPrev.x = _local4.x);
_local10.vCurr.y = (_local10.vPrev.y = _local4.y);
_local4 = {x:-50, y:5};
_local3.localToGlobal(_local4);
_local3._parent.globalToLocal(_local4);
_local8.vCurr.x = (_local8.vPrev.x = _local4.x);
_local8.vCurr.y = (_local8.vPrev.y = _local4.y);
_local7.vCurr.x = (_local7.vPrev.x = _local4.x);
_local7.vCurr.y = (_local7.vPrev.y = _local4.y);
_local4 = {x:-15, y:-111};
_local3.localToGlobal(_local4);
_local3._parent.globalToLocal(_local4);
_local6.vCurr.x = (_local6.vPrev.x = _local4.x);
_local6.vCurr.y = (_local6.vPrev.y = _local4.y);
_local5.vCurr.x = (_local5.vPrev.x = _local4.x);
_local5.vCurr.y = (_local5.vPrev.y = _local4.y);
}
if ((_local11.vCurr.y > 500) && (!goComplete)) {
trace("RESET FROM BODY FALLING");
engineSound.stop();
goComplete = true;
root_mc.level_mc.levelDown_mc._visible = true;
root_mc.level_mc.levelDown_mc.gotoAndPlay(2);
} else if (((jumpTimer++) > MAX_JUMP_TIME) && (!goComplete)) {
trace("RESET FROM TIME OUT");
engineSound.stop();
jumpTimer = null;
if ((_local12.vCurr.x >= jumpEnd) && (!separated)) {
goComplete = true;
levelComplete();
} else if (!separated) {
goComplete = true;
root_mc.level_mc.levelTimeOut_mc._visible = true;
root_mc.level_mc.levelTimeOut_mc.gotoAndPlay(2);
} else {
goComplete = true;
root_mc.level_mc.levelRestart_mc._visible = true;
root_mc.level_mc.levelRestart_mc.gotoAndPlay(2);
}
}
currWorld.getSpring(6).update();
_local3 = root_mc.level_mc.canvas_mc.rightHand_mc;
_local2 = _local9.vCurr.minusNew(_local16.vCurr);
_local3._rotation = RADIANS_TO_DEGREES * Math.atan2(_local2.y, _local2.x);
currWorld.getSpring(8).update();
_local3 = root_mc.level_mc.canvas_mc.rightArm_mc;
_local2 = _local16.vCurr.minusNew(_local13.vCurr);
_local3._rotation = RADIANS_TO_DEGREES * Math.atan2(_local2.y, _local2.x);
currWorld.getSpring(11).update();
_local3 = root_mc.level_mc.canvas_mc.rightLeg_mc;
_local2 = _local6.vCurr.minusNew(_local11.vCurr);
_local3._rotation = RADIANS_TO_DEGREES * Math.atan2(_local2.y, _local2.x);
currWorld.getSpring(10).update();
_local3 = root_mc.level_mc.canvas_mc.rightFoot_mc;
_local2 = _local8.vCurr.minusNew(_local6.vCurr);
_local3._rotation = RADIANS_TO_DEGREES * Math.atan2(_local2.y, _local2.x);
currWorld.getSpring(15).update();
_local3 = root_mc.level_mc.canvas_mc.leftHand_mc;
_local2 = _local10.vCurr.minusNew(_local15.vCurr);
_local3._rotation = RADIANS_TO_DEGREES * Math.atan2(_local2.y, _local2.x);
currWorld.getSpring(16).update();
_local3 = root_mc.level_mc.canvas_mc.leftArm_mc;
_local2 = _local15.vCurr.minusNew(_local13.vCurr);
_local3._rotation = RADIANS_TO_DEGREES * Math.atan2(_local2.y, _local2.x);
currWorld.getSpring(18).update();
_local3 = root_mc.level_mc.canvas_mc.leftLeg_mc;
_local2 = _local5.vCurr.minusNew(_local11.vCurr);
_local3._rotation = RADIANS_TO_DEGREES * Math.atan2(_local2.y, _local2.x);
currWorld.getSpring(17).update();
_local3 = root_mc.level_mc.canvas_mc.leftFoot_mc;
_local2 = _local7.vCurr.minusNew(_local5.vCurr);
_local3._rotation = RADIANS_TO_DEGREES * Math.atan2(_local2.y, _local2.x);
currWorld.getSpring(7).update();
_local3 = root_mc.level_mc.canvas_mc.torso_mc;
_local17 = root_mc.level_mc.canvas_mc.head_mc;
_local2 = _local11.vCurr.minusNew(_local13.vCurr);
_local3._rotation = (_local17._rotation = RADIANS_TO_DEGREES * Math.atan2(_local2.y, _local2.x));
if ((!separated) && (_local12.vCurr.y < _local14.vCurr.y)) {
trace("SEPARATING - BIKE UPSIDE DOWN");
detachRider();
}
if ((_local12.vCurr.x >= (finishLine - _local12.radius)) && (!goComplete)) {
if (separated) {
trace("RESET FROM REACHING END WITHOUT RIDER");
goComplete = true;
root_mc.level_mc.levelRestart_mc._visible = true;
root_mc.level_mc.levelRestart_mc.gotoAndPlay(2);
engineSound.stop();
if (soundOn) {
crashSound.start();
}
} else {
goComplete = true;
engineSound.stop();
if (soundOn) {
screechSound.start();
}
endLevelInterval = setInterval(this, "levelComplete", MESSAGE_DISPLAY_TIME);
}
}
}
function detachRider() {
if (separated) {
return(undefined);
}
var _local3 = currWorld.getParticle(4);
var _local5 = currWorld.getParticle(5);
var _local13 = currWorld.getParticle(6);
var _local11 = currWorld.getParticle(7);
var _local4 = currWorld.getParticle(8);
var _local8 = currWorld.getParticle(9);
var _local12 = currWorld.getParticle(10);
var _local10 = currWorld.getParticle(11);
var _local9 = currWorld.getParticle(12);
var _local7 = currWorld.getParticle(13);
var _local6 = currWorld.getParticle(14);
var _local2 = _local3.vCurr.x - jumpSpeed;
jumpSpeed = _local3.vCurr.x;
_local2 = _local2 * 2;
_local3.vPrev.x = _local3.vPrev.x - _local2;
_local5.vPrev.x = _local5.vPrev.x - _local2;
_local13.vPrev.x = _local13.vPrev.x - _local2;
_local11.vPrev.x = _local11.vPrev.x - _local2;
_local4.vPrev.x = _local4.vPrev.x - _local2;
_local8.vPrev.x = _local8.vPrev.x - _local2;
_local12.vPrev.x = _local12.vPrev.x - _local2;
_local10.vPrev.x = _local10.vPrev.x - _local2;
_local9.vPrev.x = _local9.vPrev.x - _local2;
_local7.vPrev.x = _local7.vPrev.x - _local2;
_local6.vPrev.x = _local6.vPrev.x - _local2;
_local4.vPrev.y = _local4.vPrev.y + _local2;
_local3.vForce.y = 0;
_local5.vForce.y = 0;
_local4.vForce.y = 0;
currWorld.getParticle(9).locked = false;
currWorld.getParticle(10).locked = false;
currWorld.getParticle(13).locked = false;
currWorld.getParticle(14).locked = false;
currWorld.springs.splice(14, 1);
currWorld.addConstraint("c100", "p5", "p8", "p11", 0.5, 3.1);
currWorld.addConstraint("c101", "p5", "p8", "p12", 0.5, 3.1);
currWorld.springs.splice(19, 1);
currWorld.springs.splice(12, 1);
root_mc.level_mc.canvas_mc.rightHand_mc.gotoAndStop(2);
root_mc.level_mc.canvas_mc.leftHand_mc.gotoAndStop(2);
if (soundOn) {
thudSound.start(1);
}
separated = true;
}
function levelComplete() {
clearInterval(endLevelInterval);
if (currLevelNum == levelData.length) {
root_mc.gotoAndStop("gameFinished");
} else {
root_mc.level_mc.levelComplete_mc._visible = true;
root_mc.level_mc.levelComplete_mc.gotoAndPlay(2);
}
}
function redrawOutlines() {
var _local2;
_local2 = root_mc.level_mc.canvas_mc;
setOutline(_local2.torso_mc, _local2.torsoOutline_mc);
setOutline(_local2.rightArm_mc, _local2.rightArmOutline_mc);
setOutline(_local2.leftArm_mc, _local2.leftArmOutline_mc);
setOutline(_local2.rightHand_mc, _local2.rightHandOutline_mc);
setOutline(_local2.leftHand_mc, _local2.leftHandOutline_mc);
setOutline(_local2.rightLeg_mc, _local2.rightLegOutline_mc);
setOutline(_local2.leftLeg_mc, _local2.leftLegOutline_mc);
setOutline(_local2.rightFoot_mc, _local2.rightFootOutline_mc);
setOutline(_local2.leftFoot_mc, _local2.leftFootOutline_mc);
}
function setOutline(mc, outline) {
outline._x = mc._x;
outline._y = mc._y;
outline._rotation = mc._rotation;
}
function updateCamera() {
var _local2;
var _local4;
var _local3;
_local2 = root_mc.level_mc.canvas_mc;
_local4 = currWorld.getParticle(4);
_local3 = CAMERA_DAMPING * ((200 - _local4.vCurr.x) - _local2._x);
_local2._x = _local2._x + _local3;
_local2.foreground_mc._x = -_local2._x;
_local2.parallax0_mc._x = _local2.parallax0_mc._x + (PARALLAX_LEVEL_0_SCALAR * _local3);
_local2.parallax1_mc._x = _local2.parallax1_mc._x + (PARALLAX_LEVEL_1_SCALAR * _local3);
_local2.parallax2_mc._x = _local2.parallax2_mc._x + (PARALLAX_LEVEL_2_SCALAR * _local3);
}
function launchBike(x, y) {
var _local3 = currWorld.getParticle(0);
var _local2 = currWorld.getParticle(1);
xLaunchMax = x;
yLaunchMax = y;
launchStepNum = 10;
launching = true;
_local3.vPrev.x = _local3.vPrev.x - (BIKE_LAUNCH_X_SCALAR * x);
_local2.vPrev.x = _local2.vPrev.x - ((BIKE_LAUNCH_X_SCALAR * 0.5) * x);
_local2.vPrev.y = _local2.vPrev.y + (BIKE_LAUNCH_Y_SCALAR * y);
jumpTimer = 0;
}
function destroyPullBack() {
delete pullBack;
}
function parseLevelData(rawLevelData) {
var _local5;
var _local6;
var _local2;
var _local3;
rawLevelData = rawLevelData.childNodes[0];
_local5 = Number(rawLevelData.attributes.gravity);
_local6 = Number(rawLevelData.attributes.restitution);
jumpEnd = Number(rawLevelData.attributes.jumpEnd);
currWorld.setGravity(_local5);
currWorld.setRestitution(_local6);
_local3 = 0;
while (_local3 < rawLevelData.childNodes.length) {
_local2 = rawLevelData.childNodes[_local3];
if (_local2.nodeName == "particle") {
parseParticleData(_local2);
}
_local3++;
}
_local3 = 0;
while (_local3 < rawLevelData.childNodes.length) {
_local2 = rawLevelData.childNodes[_local3];
if (_local2.nodeName == "surface") {
parseSurfaceData(_local2);
} else if (_local2.nodeName == "spring") {
parseSpringData(_local2);
} else if (_local2.nodeName == "constraint") {
parseConstraintData(_local2);
}
_local3++;
}
}
function parseParticleData(rawData) {
var _local3;
var _local9;
var _local8;
var _local4;
var _local5;
var _local6;
var _local7;
_local3 = rawData.attributes.id;
_local9 = Number(rawData.attributes.x);
_local8 = Number(rawData.attributes.y);
_local4 = Number(rawData.attributes.xf);
_local5 = Number(rawData.attributes.yf);
_local6 = Number(rawData.attributes.r);
_local7 = rawData.attributes.mc;
currWorld.addParticle(_local3, _local9, _local8, _local4, _local5, _local6, _local7);
}
function parseSurfaceData(rawData) {
var _local8;
var _local4;
var _local9;
var _local3;
var _local7;
var _local6;
var _local10;
var _local5;
_local8 = rawData.attributes.id;
_local4 = Number(rawData.attributes.xa);
_local9 = Number(rawData.attributes.ya);
_local3 = Number(rawData.attributes.xb);
_local7 = Number(rawData.attributes.yb);
_local6 = Number(rawData.attributes.x);
_local10 = Number(rawData.attributes.y);
_local5 = Number(rawData.attributes.r);
if (((!isNaN(_local6)) && (!isNaN(_local10))) && (!isNaN(_local5))) {
currWorld.addCircularSurface(_local8, _local6, _local10, _local5);
if ((_local6 + _local5) > finishLine) {
finishLine = _local6 + _local5;
}
} else if ((((!isNaN(_local4)) && (!isNaN(_local9))) && (!isNaN(_local3))) && (!isNaN(_local7))) {
currWorld.addLinearSurface(_local8, _local4, _local9, _local3, _local7);
if (_local4 > finishLine) {
finishLine = _local4;
}
if (_local3 > finishLine) {
finishLine = _local3;
}
}
}
function parseSpringData(rawData) {
var _local4;
var _local9;
var _local8;
var _local3;
var _local7;
var _local5;
var _local6;
_local4 = rawData.attributes.id;
_local9 = Number(rawData.attributes.x);
_local8 = Number(rawData.attributes.y);
_local3 = rawData.attributes.pa;
_local7 = rawData.attributes.pb;
_local5 = Number(rawData.attributes.l);
_local6 = Number(rawData.attributes.e);
currWorld.addSpring(_local4, _local3, _local7, _local5, _local6);
}
function parseConstraintData(rawData) {
var _local4;
var _local3;
var _local8;
var _local7;
var _local6;
var _local5;
_local4 = rawData.attributes.id;
_local3 = rawData.attributes.pa;
_local8 = rawData.attributes.pb;
_local7 = rawData.attributes.pc;
_local6 = Number(rawData.attributes.min);
_local5 = Number(rawData.attributes.max);
currWorld.addConstraint(_local4, _local3, _local8, _local7, _local6, _local5);
}
static var BIKE_LAUNCH_X_SCALAR = 0.07;
static var BIKE_LAUNCH_Y_SCALAR = 0.02;
static var RADIANS_TO_DEGREES = 57.2957795130823;
static var CAMERA_DAMPING = 0.2;
static var PARALLAX_LEVEL_0_SCALAR = -0.95;
static var PARALLAX_LEVEL_1_SCALAR = -0.9;
static var PARALLAX_LEVEL_2_SCALAR = -0.8;
static var PARALLAX_LEVEL_3_SCALAR = 0.9;
static var LAUNCH_DURATION = 35;
static var MAX_JUMP_TIME = 200;
static var MESSAGE_DISPLAY_TIME = 2000;
}
Symbol 618 MovieClip [__Packages.uk.co.kerb.physics.World] Frame 0
class uk.co.kerb.physics.World
{
var canvas_mc, surfaces, springs, particles, constraints, gravity, restitution, masterObject, threadInterval;
function World (mc, masterObj) {
canvas_mc = mc;
surfaces = [];
springs = [];
particles = [];
constraints = [];
gravity = 1;
restitution = 1;
masterObject = masterObj;
}
function start() {
threadInterval = setInterval(this, "update", 20);
}
function stop() {
clearInterval(threadInterval);
delete threadInterval;
}
function addParticle(id, x, y, xForce, yForce, radius, mcRef) {
var _local2;
var _local3;
_local3 = canvas_mc[mcRef];
_local2 = new uk.co.kerb.physics.Particle(id, x, y, xForce, yForce, radius, _local3);
particles.push(_local2);
return(_local2);
}
function addLinearSurface(id, xA, yA, xB, yB) {
var _local2;
_local2 = new uk.co.kerb.physics.LinearSurface(id, xA, yA, xB, yB);
surfaces.push(_local2);
return(_local2);
}
function addCircularSurface(id, x, y, r) {
var _local2;
_local2 = new uk.co.kerb.physics.CircularSurface(id, x, y, r);
surfaces.push(_local2);
return(_local2);
}
function addSpring(id, pAID, pBID, restLength, elasticity) {
var _local7;
var _local4;
var _local3;
var _local2;
_local2 = 0;
while (_local2 < particles.length) {
if (particles[_local2].id == pAID) {
_local4 = particles[_local2];
} else if (particles[_local2].id == pBID) {
_local3 = particles[_local2];
}
_local2++;
}
if (_local4 == undefined) {
trace(("WARNING: Can't find reference to particle id [" + pAID) + "] for spring creation. Make sure that the particle has been created before the spring that references it is created");
}
if (_local3 == undefined) {
trace(("WARNING: Can't find reference to particle id [" + pBID) + "] for spring creation. Make sure that the particle has been created before the spring that references it is created");
}
_local7 = new uk.co.kerb.physics.Spring(id, _local4, _local3, restLength, elasticity);
springs.push(_local7);
return(_local7);
}
function addConstraint(id, pAID, pBID, pCID, min, max) {
var _local9;
var _local5;
var _local4;
var _local3;
var _local2;
_local2 = 0;
while (_local2 < particles.length) {
if (particles[_local2].id == pAID) {
_local5 = particles[_local2];
} else if (particles[_local2].id == pBID) {
_local4 = particles[_local2];
} else if (particles[_local2].id == pCID) {
_local3 = particles[_local2];
}
_local2++;
}
if (_local5 == undefined) {
trace(("WARNING: Can't find reference to particle id [" + pAID) + "] for spring creation. Make sure that the particle has been created before the spring that references it is created");
}
if (_local4 == undefined) {
trace(("WARNING: Can't find reference to particle id [" + pBID) + "] for spring creation. Make sure that the particle has been created before the spring that references it is created");
}
if (_local3 == undefined) {
trace(("WARNING: Can't find reference to particle id [" + pCID) + "] for spring creation. Make sure that the particle has been created before the spring that references it is created");
}
_local9 = new uk.co.kerb.physics.Constraint(id, _local5, _local4, _local3, min, max);
constraints.push(_local9);
return(_local9);
}
function setGravity(g) {
gravity = (isNaN(g) ? 1 : (g));
}
function setRestitution(r) {
restitution = (isNaN(r) ? 1 : (r));
}
function getParticle(n) {
return(particles[n]);
}
function getSpring(n) {
return(springs[n]);
}
function update() {
var _local2;
var _local7;
var _local3;
var _local4;
var _local6;
var _local8 = 3;
_local2 = 0;
while (_local2 < particles.length) {
particles[_local2].update(gravity, restitution);
_local2++;
}
_local2 = 0;
while (_local2 < springs.length) {
springs[_local2].update();
_local2++;
}
_local2 = 0;
while (_local2 < particles.length) {
_local7 = 0;
while (_local7 < _local8) {
_local6 = 0;
_local3 = 0;
while (_local3 < surfaces.length) {
if (surfaces[_local3] instanceof uk.co.kerb.physics.LinearSurface) {
_local4 = checkLinearSurfaceCollision(particles[_local2], surfaces[_local3]);
} else {
_local4 = checkCircularSurfaceCollision(particles[_local2], surfaces[_local3]);
}
if (_local4 != null) {
_local6++;
if (_local2 == 1) {
var _local5 = particles[_local2].vCurr.minusNew(_local4);
_local5.mult(0.5);
particles[2].vCurr.minus(_local5);
if (Math.abs(_local5.y) > 8) {
masterObject.detachRider();
}
}
particles[_local2].vCurr = _local4;
}
_local3++;
}
if (_local6 < 2) {
break;
}
_local7++;
}
_local2++;
}
_local2 = 0;
while (_local2 < constraints.length) {
constraints[_local2].update();
_local2++;
}
masterObject.update();
redraw();
masterObject.redrawOutlines();
}
function checkLinearSurfaceCollision(p, s) {
var _local5;
var _local3;
var _local7;
var _local11;
var _local18;
var _local21;
var _local17;
var _local13;
var _local6;
var _local10;
var _local9;
var _local15;
var _local16;
var _local14;
var _local8;
var _local12;
var _local20;
var _local19;
_local5 = p.vCurr.minusNew(p.vPrev);
if ((_local5.x == 0) && (_local5.y == 0)) {
return(null);
}
_local3 = s.vA.minusNew(p.vPrev);
_local8 = _local3.cross(s.v) / _local5.cross(s.v);
_local7 = _local5.multNew(_local8);
_local7.plus(p.vPrev);
if (isBetween(s.vA.x, _local7.x, s.vB.x) && (isBetween(s.vA.y, _local7.y, s.vB.y))) {
_local11 = s.vNNorm.multNew(p.radius);
_local18 = s.vA.plusNew(_local11);
_local3 = _local18.minusNew(_local7);
_local8 = _local3.cross(s.v) / _local11.cross(s.v);
_local6 = _local11.multNew(_local8);
_local17 = _local6.plusNew(_local7);
_local6.mult(-1);
_local13 = _local6.plusNew(_local7);
_local10 = _local17.minusNew(p.vPrev);
_local9 = _local13.minusNew(p.vPrev);
_local16 = (_local10.x * _local10.x) + (_local10.y * _local10.y);
_local14 = (_local9.x * _local9.x) + (_local9.y * _local9.y);
_local15 = (_local5.x * _local5.x) + (_local5.y * _local5.y);
if (_local16 < _local14) {
if (_local15 > _local16) {
return(_local17);
}
} else if (_local15 > _local14) {
return(_local13);
}
}
_local3 = p.vCurr.minusNew(s.vA);
_local12 = _local3.dot(s.vN);
if (_local12 > 0) {
_local3 = p.vCurr.minusNew(s.vB);
_local12 = _local3.dot(s.vN);
if (_local12 < 0) {
_local8 = _local3.cross(s.vN);
_local3.x = _local8 * s.vN.y;
_local3.y = _local8 * (-s.vN.x);
if ((p.radius - _local3.length()) >= 0) {
_local6 = _local3.normalise();
_local6.mult(p.radius - _local3.length());
_local6.plus(p.vCurr);
return(_local6);
}
}
}
return(null);
}
function isBetween(a, b, c) {
return(((a <= b) && (b <= c)) || ((a >= b) && (b >= c)));
}
function checkCircularSurfaceCollision(p, s) {
var _local4;
var _local2;
var _local1;
var _local3;
_local2 = p.vCurr.minusNew(s.v);
_local1 = _local2.normalise();
_local3 = (p.radius + s.radius) - _local2.length();
if (_local3 >= 0) {
_local1.mult(_local3);
_local4 = p.vCurr.plusNew(_local1);
return(_local4);
}
return(null);
}
function redraw() {
var _local3;
var _local4;
var _local5;
var _local2;
_local3 = 0;
while (_local3 < particles.length) {
_local2 = particles[_local3];
_local2.mc._x = _local2.vCurr.x;
_local2.mc._y = _local2.vCurr.y;
_local3++;
}
}
}
Symbol 619 MovieClip [__Packages.uk.co.kerb.physics.Particle] Frame 0
class uk.co.kerb.physics.Particle
{
var id, vCurr, vPrev, vForce, radius, mc, locked;
function Particle (id, x, y, xForce, yForce, radius, mc) {
this.id = id;
vCurr = new uk.co.kerb.physics.Vector(x, y);
vPrev = new uk.co.kerb.physics.Vector(x, y);
vForce = new uk.co.kerb.physics.Vector(xForce, yForce);
this.radius = radius;
this.mc = mc;
locked = false;
}
function update(gravity, restitution) {
var _local2;
_local2 = vCurr.minusNew(vPrev);
_local2.mult(restitution);
vPrev.x = vCurr.x;
vPrev.y = vCurr.y;
vCurr.plus(_local2);
vCurr.x = vCurr.x + vForce.x;
vCurr.y = vCurr.y + (gravity + vForce.y);
}
}
Symbol 620 MovieClip [__Packages.uk.co.kerb.physics.Vector] Frame 0
class uk.co.kerb.physics.Vector
{
var x, y;
function Vector (x, y) {
this.x = ((x == undefined) ? 0 : (x));
this.y = ((y == undefined) ? 0 : (y));
}
function dot(v) {
return((x * v.x) + (y * v.y));
}
function cross(v) {
return((x * v.y) - (y * v.x));
}
function plus(v) {
x = x + v.x;
y = y + v.y;
return(this);
}
function plusNew(v) {
return(new uk.co.kerb.physics.Vector(x + v.x, y + v.y));
}
function minus(v) {
x = x - v.x;
y = y - v.y;
return(this);
}
function minusNew(v) {
return(new uk.co.kerb.physics.Vector(x - v.x, y - v.y));
}
function mult(s) {
x = x * s;
y = y * s;
return(this);
}
function multNew(s) {
return(new uk.co.kerb.physics.Vector(x * s, y * s));
}
function clone() {
return(new uk.co.kerb.physics.Vector(x, y));
}
function length() {
return(Math.sqrt((x * x) + (y * y)));
}
function distance(v) {
var _local3;
var _local2;
_local3 = x - v.x;
_local2 = y - v.y;
return(Math.sqrt((_local3 * _local3) + (_local2 * _local2)));
}
function normalise() {
var _local2;
_local2 = Math.sqrt((x * x) + (y * y));
if (_local2 == 0) {
return(new uk.co.kerb.physics.Vector(0, 0));
}
return(new uk.co.kerb.physics.Vector(x / _local2, y / _local2));
}
function getNormal(dir) {
if ((dir.charAt(0) == "l") || (dir.charAt(0) == "L")) {
return(new uk.co.kerb.physics.Vector(y, -x));
}
return(new uk.co.kerb.physics.Vector(-y, x));
}
function toString() {
return(((("x[" + x) + "] y[") + y) + "]");
}
}
Symbol 621 MovieClip [__Packages.uk.co.kerb.physics.LinearSurface] Frame 0
class uk.co.kerb.physics.LinearSurface
{
var id, vA, vB, v, vN, vNNorm;
function LinearSurface (id, xA, yA, xB, yB) {
this.id = id;
vA = new uk.co.kerb.physics.Vector(xA, yA);
vB = new uk.co.kerb.physics.Vector(xB, yB);
v = vB.minusNew(vA);
vN = v.normalise();
vNNorm = new uk.co.kerb.physics.Vector(-vN.y, vN.x);
}
}
Symbol 622 MovieClip [__Packages.uk.co.kerb.physics.CircularSurface] Frame 0
class uk.co.kerb.physics.CircularSurface
{
var id, v, radius;
function CircularSurface (id, x, y, r) {
this.id = id;
v = new uk.co.kerb.physics.Vector(x, y);
radius = r;
}
}
Symbol 623 MovieClip [__Packages.uk.co.kerb.physics.Spring] Frame 0
class uk.co.kerb.physics.Spring
{
var id, pA, pB, restLength, elasticity;
function Spring (id, pA, pB, restLength, elasticity) {
this.id = id;
this.pA = pA;
this.pB = pB;
this.restLength = restLength;
this.elasticity = elasticity;
}
function update() {
var _local2;
var _local3;
_local2 = pB.vCurr.minusNew(pA.vCurr);
_local3 = 1 - (restLength / _local2.length());
_local3 = _local3 - (elasticity * _local3);
if (pA.locked) {
_local2.mult(_local3);
pB.vCurr.minus(_local2);
} else if (pB.locked) {
_local2.mult(_local3);
pA.vCurr.plus(_local2);
} else {
_local2.mult(_local3 * 0.5);
pA.vCurr.plus(_local2);
pB.vCurr.minus(_local2);
}
}
}
Symbol 624 MovieClip [__Packages.uk.co.kerb.physics.Constraint] Frame 0
class uk.co.kerb.physics.Constraint
{
var id, pA, pB, pC, min, max;
function Constraint (id, pA, pB, pC, min, max) {
this.id = id;
this.pA = pA;
this.pB = pB;
this.pC = pC;
this.min = min;
this.max = max;
}
function update() {
var _local4;
var _local7;
var _local8;
var _local9;
var _local2;
var _local3;
var _local6;
var _local5;
_local8 = pA.vCurr.x - pB.vCurr.x;
_local9 = pA.vCurr.y - pB.vCurr.y;
_local4 = Math.atan2(_local9, _local8);
_local2 = pC.vCurr.x - pB.vCurr.x;
_local3 = pC.vCurr.y - pB.vCurr.y;
_local7 = Math.atan2(_local3, _local2);
_local6 = _local7 - _local4;
if (_local6 < 0) {
_local6 = _local6 + (Math.PI*2);
}
if (_local6 < min) {
_local5 = Math.sqrt((_local2 * _local2) + (_local3 * _local3));
pC.vCurr.x = (pC.vPrev.x = (pC.mc._x = (_local5 * Math.cos(_local4 + min)) + pB.vCurr.x));
pC.vCurr.y = (pC.vPrev.y = (pC.mc._y = (_local5 * Math.sin(_local4 + min)) + pB.vCurr.y));
} else if (_local6 > max) {
_local5 = Math.sqrt((_local2 * _local2) + (_local3 * _local3));
pC.vCurr.x = (pC.vPrev.x = (pC.mc._x = (_local5 * Math.cos(_local4 + max)) + pB.vCurr.x));
pC.vCurr.y = (pC.vPrev.y = (pC.mc._y = (_local5 * Math.sin(_local4 + max)) + pB.vCurr.y));
}
}
}
Symbol 625 MovieClip [__Packages.PullBack] Frame 0
class PullBack
{
var handle_mc, link_mc, anchor_mc, smoke_mc, gameRef, state, currPullbackDistance, wheelRadius, releaseCounter;
function PullBack (handle_mc, link_mc, anchor_mc, smoke_mc, gameRef) {
this.handle_mc = handle_mc;
this.link_mc = link_mc;
this.anchor_mc = anchor_mc;
this.smoke_mc = smoke_mc;
this.gameRef = gameRef;
}
function update() {
switch (state) {
case 0 :
handle_mc._x = anchor_mc._x;
handle_mc._y = anchor_mc._y;
break;
case 1 :
var _local3 = HANDLE_DRAG_DAMPING * (handle_mc._parent._xmouse - anchor_mc._x);
var _local2 = HANDLE_DRAG_DAMPING * (handle_mc._parent._ymouse - anchor_mc._y);
var _local5 = (_local3 * _local3) + (_local2 * _local2);
if (gameRef.soundOn && (Math.abs(_local5 - currPullbackDistance) > 5000)) {
gameRef.revSound.start();
}
currPullbackDistance = _local5;
if (_local3 > MAX_DRAG_DISTANCE) {
_local3 = MAX_DRAG_DISTANCE;
}
if (_local3 < (-MAX_DRAG_DISTANCE)) {
_local3 = -MAX_DRAG_DISTANCE;
}
if (_local2 > MAX_DRAG_DISTANCE) {
_local2 = MAX_DRAG_DISTANCE;
}
if (_local2 < (-MAX_DRAG_DISTANCE)) {
_local2 = -MAX_DRAG_DISTANCE;
}
handle_mc._x = anchor_mc._x + _local3;
handle_mc._y = anchor_mc._y + _local2;
anchor_mc._rotation = anchor_mc._rotation - ((0.1 * HANDLE_DRAG_DAMPING) * (handle_mc._parent._xmouse - anchor_mc._x));
var _local4 = anchor_mc._x - handle_mc._parent._xmouse;
if (_local4 < 20) {
_local4 = 20;
}
if (_local4 > 100) {
_local4 = 100;
}
smoke_mc._xscale = smoke_mc._xscale + (0.1 * (_local4 - smoke_mc._xscale));
smoke_mc._yscale = smoke_mc._yscale + (0.1 * (_local4 - smoke_mc._yscale));
smoke_mc._x = anchor_mc._x;
smoke_mc._y = anchor_mc._y + wheelRadius;
break;
case 2 :
handle_mc._x = handle_mc._x + (HANDLE_RELEASE_DAMPING * (anchor_mc._x - handle_mc._x));
handle_mc._y = handle_mc._y + (HANDLE_RELEASE_DAMPING * (anchor_mc._y - handle_mc._y));
if (((releaseCounter++) > 40) || (((anchor_mc._x - handle_mc._x) < 14) && ((anchor_mc._y - handle_mc._y) < 14))) {
state = 3;
}
smoke_mc._alpha = smoke_mc._alpha * 0.9;
break;
case 3 :
handle_mc._visible = false;
link_mc._visible = false;
gameRef.destroyPullBack();
}
updateLink();
}
function init() {
var callback = this;
delete handle_mc.onEnterFrame;
handle_mc.onPress = function () {
callback.handlePress();
};
handle_mc.onRelease = function () {
callback.handleRelease();
};
handle_mc.onReleaseOutside = function () {
callback.handleRelease();
};
link_mc._visible = false;
handle_mc._visible = true;
smoke_mc.gotoAndStop(1);
smoke_mc._alpha = 100;
smoke_mc.doLoop = true;
wheelRadius = anchor_mc._height / 2;
state = 0;
}
function updateLink() {
var _local3;
var _local2;
link_mc._x = handle_mc._x;
link_mc._y = handle_mc._y;
_local3 = anchor_mc._x - handle_mc._x;
_local2 = anchor_mc._y - handle_mc._y;
link_mc._rotation = RADIANS_TO_DEGREES * Math.atan2(_local2, _local3);
link_mc.graphic._width = Math.sqrt((_local3 * _local3) + (_local2 * _local2));
handle_mc._rotation = link_mc._rotation;
}
function handlePress() {
link_mc._visible = true;
smoke_mc.gotoAndPlay("in");
delete handle_mc.onEnterFrame;
releaseCounter = 0;
if (gameRef.soundOn) {
gameRef.revSound.start();
}
state = 1;
}
function handleRelease() {
var _local3;
var _local2;
_local3 = anchor_mc._x - handle_mc._x;
_local2 = anchor_mc._y - handle_mc._y;
if (_local3 > MAX_RETURNED_READING) {
_local3 = MAX_RETURNED_READING;
} else if (_local3 < (-MAX_RETURNED_READING)) {
_local3 = -MAX_RETURNED_READING;
}
if (_local2 > MAX_RETURNED_READING) {
_local2 = MAX_RETURNED_READING;
} else if (_local2 < (-MAX_RETURNED_READING)) {
_local2 = -MAX_RETURNED_READING;
}
gameRef.launchBike(_local3, _local2);
smoke_mc.doLoop = false;
if (gameRef.soundOn) {
gameRef.engineSound.start();
}
state = 2;
}
static var HANDLE_RELEASE_DAMPING = 0.6;
static var HANDLE_DRAG_DAMPING = 0.7;
static var MAX_DRAG_DISTANCE = 180;
static var RADIANS_TO_DEGREES = 57.2957795130823;
static var MAX_RETURNED_READING = 100;
}
Symbol 626 MovieClip [__Packages.Preloader] Frame 0
class Preloader
{
var root_mc, meter_mc, callbackObj, callbackFunc, levelData, levelDataURLs, watchURLs, numLevelsLoaded, preloadCheck, tellFriendURL;
function Preloader (root_mc, meter_mc, gameDataURL, callbackObj, callbackFunc) {
var _local3;
var _local4 = this;
this.root_mc = root_mc;
this.meter_mc = meter_mc;
this.callbackObj = callbackObj;
this.callbackFunc = callbackFunc;
levelData = [];
levelDataURLs = [];
watchURLs = [];
numLevelsLoaded = 0;
_local3 = new XML(_root.gameData);
parseGameData(_local3);
preloadCheck = setInterval(this, "update", 20);
}
function parseGameData(gd) {
var _local3;
gd = gd.childNodes[0].childNodes[0];
while (gd != null) {
if (gd.nodeName == "level") {
levelDataURLs.push(gd.childNodes[0].toString());
} else if (gd.nodeName == "link") {
_local3 = gd.childNodes[0].toString();
_local3 = replace(_local3, "&", "&");
watchURLs.push(_local3);
} else if (gd.nodeName == "tell-friend") {
tellFriendURL = gd.childNodes[0].toString();
}
gd = gd.nextSibling;
}
loadLevelData(levelDataURLs);
}
function loadLevelData(levelDataURLs) {
var _local3;
var _local5 = this;
_local3 = 0;
while (_local3 < levelDataURLs.length) {
levelData[_local3] = new XML(_root[("level" + (_local3 + 1)) + "Data"]);
_local3++;
}
}
function update() {
var _local3;
var _local4;
var _local2;
_local3 = root_mc.getBytesLoaded();
_local4 = root_mc.getBytesTotal();
_local2 = Math.round((100 * _local3) / _local4);
meter_mc.watchFaceA_mc.gotoAndStop(_local2);
meter_mc.watchFaceB_mc.gotoAndStop(_local2);
meter_mc.watchFaceC_mc.gotoAndStop(_local2);
meter_mc.watchFaceA_mc.percentLoaded_txt.text = Math.min(99, _local2);
meter_mc.watchFaceB_mc.percentLoaded_txt.text = Math.min(99, _local2);
meter_mc.watchFaceC_mc.percentLoaded_txt.text = Math.min(99, _local2);
if (_local2 == 100) {
clearInterval(preloadCheck);
loadComplete();
meter_mc.gotoAndPlay(2);
}
}
function levelDataLoaded() {
return((numLevelsLoaded == levelDataURLs.length) && (tellFriendURL != undefined));
}
function loadComplete() {
var _local2 = [];
clearInterval(preloadCheck);
_local2 = [[levelData, watchURLs, tellFriendURL]];
callbackFunc.apply(callbackObj, _local2);
}
function replace(s, subOld, subNew) {
return(s.split(subOld).join(subNew));
}
}
Symbol 627 MovieClip [__Packages.TellFriend] Frame 0
class TellFriend
{
var mc, fgfURL, normalLabelColour, hiliteLabelColour, userName, userEmail, friendName, friendEmail, keyListener;
function TellFriend (mc, fgfURL) {
this.mc = mc;
this.fgfURL = fgfURL;
init();
}
function init() {
var callback = this;
trace(("fgfURL[" + fgfURL) + "]");
normalLabelColour = 16777215 /* 0xFFFFFF */;
hiliteLabelColour = 5263440 /* 0x505050 */;
mc.uNameLabel.text = "Your Name";
mc.uEmailLabel.text = "Your Email";
mc.fNameLabel.text = "Friend's Name";
mc.fEmailLabel.text = "Friend's Email";
mc.feedback.text = "Please fill in the fields above and press send.";
if (userName == undefined) {
userName = "";
}
if (userEmail == undefined) {
userEmail = "";
}
if (friendName == undefined) {
friendName = "";
}
if (friendEmail == undefined) {
friendEmail = "";
}
mc.uName.text = userName;
mc.uEmail.text = userEmail;
mc.fName.text = friendName;
mc.fEmail.text = friendEmail;
mc.uNameLabel.textColor = normalLabelColour;
mc.uEmailLabel.textColor = normalLabelColour;
mc.fNameLabel.textColor = normalLabelColour;
mc.fEmailLabel.textColor = normalLabelColour;
mc.send_btn.onRelease = function () {
callback.checkData();
};
mc.clear_btn.onRelease = function () {
callback.mc.uName.text = (callback.userName = "");
callback.mc.uEmail.text = (callback.userEmail = "");
callback.mc.fName.text = (callback.friendName = "");
callback.mc.fEmail.text = (callback.friendEmail = "");
};
keyListener = new Object();
keyListener.onKeyDown = function () {
if (Key.getCode() == 13) {
callback.checkData();
}
};
Key.addListener(keyListener);
Selection.setFocus(mc.fName);
}
function checkData() {
trace("check data");
userName = mc.uName.text;
userEmail = mc.uEmail.text;
friendName = mc.fName.text;
friendEmail = mc.fEmail.text;
var _local5 = userName != "";
var _local2 = checkEmail(userEmail);
var _local4 = friendName != "";
var _local3 = checkEmail(friendEmail);
mc.uNameLabel.textColor = (_local5 ? (normalLabelColour) : (hiliteLabelColour));
mc.uEmailLabel.textColor = (_local2 ? (normalLabelColour) : (hiliteLabelColour));
mc.fNameLabel.textColor = (_local4 ? (normalLabelColour) : (hiliteLabelColour));
mc.fEmailLabel.textColor = (_local3 ? (normalLabelColour) : (hiliteLabelColour));
if (((_local5 && (_local2)) && (_local4)) && (_local3)) {
mc.feedback.text = "Please wait while we send your information.";
mc.send_btn.enabled = false;
mc.clear_btn.enabled = false;
sendData();
} else {
mc.feedback.text = "Please check the highlighted fields and press send again.";
}
}
function checkEmail(str) {
return((str.indexOf(".") > 2) && (str.indexOf("@") > 0));
}
function sendData() {
var _local2;
var _local3;
var callback = this;
_local2 = new LoadVars();
_local2.SENDERNAME = userName;
_local2.SENDEREMAIL = userEmail;
_local2.RECEIPIENTNAME = friendName;
_local2.RECEIPIENTEMAIL = friendEmail;
_local3 = new LoadVars();
_local3.onLoad = function (success) {
if (success) {
trace("fgf data sent successfully!");
callback.mc.feedback.text = "Thank you! Your friend should receive an email shortly";
} else {
trace("failed to send fgf data");
callback.mc.feedback.text = "Sorry, there was a problem sending your email.\nPlease try again later.";
}
callback.mc.send_btn.gotoAndStop("up");
callback.mc.send_btn.enabled = true;
callback.mc.clear_btn.enabled = true;
callback.mc.clear_btn.onRelease();
};
_local2.sendAndLoad(fgfURL, _local3, "POST");
}
}
Symbol 45 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 1
stop();
Symbol 57 MovieClip Frame 1
stop();
Symbol 120 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 16
easyWatch_btn.onRelease = function () {
this._parent._parent.game.handleClickThrough("generic");
};
Symbol 126 MovieClip Frame 87
stop();
Symbol 126 MovieClip Frame 113
stop();
this._parent.game.nextLevel();
Symbol 126 MovieClip Frame 114
easyWatch_btn.onRelease = function () {
this._parent._parent.game.handleClickThrough("generic");
};
Symbol 126 MovieClip Frame 156
stop();
Symbol 126 MovieClip Frame 177
stop();
this._parent.game.nextLevel();
Symbol 126 MovieClip Frame 178
easyWatch_btn.onRelease = function () {
this._parent._parent.game.handleClickThrough("generic");
};
Symbol 126 MovieClip Frame 220
stop();
var tellFriend = new TellFriend(this, this._parent.game.tellFriendURL);
Symbol 126 MovieClip Frame 241
stop();
this._parent.game.nextLevel();
Symbol 131 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 33
if (doLoop) {
gotoAndPlay ("loop");
}
Symbol 261 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 1
stop();
Symbol 296 MovieClip Frame 1
stop();
Symbol 415 MovieClip Frame 1
stop();
Symbol 418 MovieClip Frame 1
stop();
Symbol 421 MovieClip Frame 1
stop();
Symbol 422 MovieClip Frame 1
stop();
Symbol 422 MovieClip Frame 2
var cw = this._parent._parent.game.getCurrentWatch();
message_txt.text = "Congratulations! You completed the ";
message_txt.text = message_txt.text + cw[0];
message_txt.text = message_txt.text + " level. Get ready to test your time jumping skills in ";
message_txt.text = message_txt.text + (cw[1] + ".");
next_btn.onRelease = function () {
this._parent._parent._parent.game.nextLevel();
};
nextLevel_btn.onRelease = function () {
this._parent._parent._parent.game.nextLevel();
};
clickThrough_btn.onRelease = function () {
this._parent._parent._parent.game.handleClickThrough();
};
var currLevel = this._parent._parent.game.getCurrentLevel();
next_btn._visible = currLevel == 6;
nextLevel_btn._visible = currLevel != 6;
message_mc.gotoAndStop(currLevel);
var i = 1;
while (i <= 6) {
this[("watch" + i) + "_mc"]._visible = i == currLevel;
i++;
}
if (this._parent._parent.game.soundOn) {
this._parent._parent.game.applauseSound.start();
this._parent._parent.game.winMusicSound.start(0, 9999);
}
Symbol 422 MovieClip Frame 98
stop();
Symbol 428 MovieClip Frame 1
stop();
Symbol 428 MovieClip Frame 2
var currLevel = this._parent._parent.game.getCurrentLevel();
var i = 1;
while (i <= 6) {
this[("watch" + i) + "_mc"]._visible = i == currLevel;
i++;
}
if (currLevel > 1) {
currLevel--;
}
message_txt.text = ("Oh no!! Back in time to level " + currLevel) + "!";
if (this._parent._parent.game.soundOn) {
this._parent._parent.game.reverseMusicSound.start();
}
Symbol 428 MovieClip Frame 25
this._parent._parent.game.prevLevel();
Symbol 442 MovieClip Frame 49
stop();
Symbol 465 MovieClip Frame 1
stop();
Symbol 466 MovieClip Frame 1
stop();
Symbol 466 MovieClip Frame 2
clickThrough_btn.onRelease = function () {
this._parent._parent._parent.game.handleClickThrough();
};
tryAgain_btn.onRelease = function () {
this._parent._parent._parent.game.restartLevel();
};
Symbol 466 MovieClip Frame 10
if (this._parent._parent.game.soundOn) {
this._parent._parent.game.ambulanceSound.start();
this._parent._parent.game.loseMusicSound.start(0, 9999);
}
Symbol 466 MovieClip Frame 75
stop();
Symbol 470 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 37
this._parent._parent.game.restartLevel();
Symbol 590 MovieClip Frame 1
stop();
Symbol 591 MovieClip Frame 1
this._visible = this._parent.game.firstTime;
Symbol 591 MovieClip Frame 18
stop();
this._parent.game.firstTime = false;
Symbol 595 MovieClip Frame 1
logo_btn.onRelease = function () {
this._parent._parent.game.handleClickThrough("generic");
};
Symbol 603 MovieClip Frame 1
stop();
Symbol 611 MovieClip Frame 1
stop();
Symbol 614 MovieClip Frame 1
stop();