home *** CD-ROM | disk | FTP | other *** search
- function goto()
- {
- gotoAndPlay(746);
- }
- function CreateArrows()
- {
- i = 0;
- while(i < ArrowArray.length)
- {
- duplicateMovieClip("_root.arrow","arrow" + i,16384 + (i + 24500));
- _root["arrow" + i].Internal_X = ArrowArray[i][0];
- _root["arrow" + i].Internal_Y = ArrowArray[i][1];
- _root["arrow" + i]._rotation = ArrowArray[i][2];
- i++;
- }
- }
- function CreateGirls()
- {
- i = 0;
- while(i < GirlArray.length)
- {
- duplicateMovieClip("_root.girl","girl" + i,16384 + (i + 700));
- _root["girl" + i].Internal_X = GirlArray[i][0];
- _root["girl" + i].Internal_Y = GirlArray[i][1];
- i++;
- }
- }
- function CreateBoulders()
- {
- i = 0;
- while(i < BoulderArray.length)
- {
- duplicateMovieClip("_root.Boulder","boulder" + i,16384 + (i + 1100));
- _root["boulder" + i].Internal_x = BoulderArray[i][0];
- _root["boulder" + i].Internal_y = BoulderArray[i][1];
- i++;
- }
- }
- function CreateBoulders2()
- {
- i = 0;
- while(i < BoulderArray2.length)
- {
- duplicateMovieClip("_root.Bouldercopy","bouldernew" + i,16384 + (i + 1400));
- _root["bouldernew" + i].Internal_x = BoulderArray2[i][0];
- _root["bouldernew" + i].Internal_y = BoulderArray2[i][1];
- duplicateMovieClip("_root.Bouldercopy","bouldernew" + i + 50,16384 + (i + 1400 + 50));
- _root["bouldernew" + i + 50].Internal_x = BoulderArray2[i][0] - 80;
- _root["bouldernew" + i + 50].Internal_y = BoulderArray2[i][1];
- i++;
- }
- }
- function FillTreeArray(FinalPos)
- {
- i = 0;
- while(i < FinalPos)
- {
- TreeArray[i] = [i * 100 + random(100),75];
- i++;
- }
- }
- function CreateTrees(FinalPos)
- {
- i = 0;
- while(i < FinalPos)
- {
- duplicateMovieClip("_root.Tree","Tree" + i,16384 + (i + 100));
- _root["Tree" + i].Internal_X = TreeArray[i][0];
- _root["Tree" + i]._Y = TreeArray[i][1];
- _root["Tree" + i]._z = random(20) + 75;
- i++;
- }
- }
- function CreateFloor()
- {
- i = 0;
- while(i < 10)
- {
- duplicateMovieClip("_root.floor","floor1" + i,16384 + (i + 600));
- _root["Floor1" + i].Internal_X = i * 800;
- _root["Floor1" + i].Internal_Y = 220;
- _root["Floor1" + i].swapDepths(600 + i);
- duplicateMovieClip("_root.BigFloor","BigFloor" + i,16384 + (i + 400));
- _root["BigFloor" + i].Internal_X = i * 550;
- _root["BigFloor" + i].Internal_Y = 220;
- _root["BigFloor" + i].swapDepths(400 + i);
- i++;
- }
- }
- TreeArray = new Array();
- BoulderArray = new Array();
- GirlArray = new Array();
- ArrowArray = new Array();
- BoulderArray[0] = [600,100];
- BoulderArray[1] = [800,50];
- BoulderArray[2] = [1600,150];
- BoulderArray[3] = [1800,150];
- BoulderArray[4] = [2000,150];
- BoulderArray[5] = [1700,50];
- BoulderArray[6] = [1900,50];
- BoulderArray[7] = [1800,-50];
- BoulderArray[8] = [2450,150];
- BoulderArray[9] = [2300,50];
- BoulderArray[10] = [2600,50];
- BoulderArray[11] = [2800,0];
- BoulderArray[12] = [3400,125];
- BoulderArray[13] = [4200,50];
- BoulderArray[14] = [4200,125];
- GirlArray[0] = [400,150];
- GirlArray[1] = [900,-75];
- GirlArray[2] = [1800,-125];
- GirlArray[3] = [3000,-75];
- GirlArray[4] = [3800,-75];
- ArrowArray[0] = [150,150,90];
- ArrowArray[1] = [920,100,0];
- ArrowArray[2] = [3010,100,0];
- ArrowArray[3] = [3800,100,0];
- ArrowArray[4] = [1800,50,0];
-