//HAROLD by Aaron Steed //This code is in the first frame of the movie. //Aside from the drawing animation on the left, everything is drawn //from the code below by calling the drawStuff() function at the bottom // //on(release){ // anim.gotoAndPlay(2); // _root.drawStuff(); //} title1 = new Array(); title2 = new Array(); title3 = new Array(); colors = new Array(); colors[0] = 0x00CCFF; colors[1] = 0x3300CC; colors[2] = 0x9933FF; colors[3] = 0xFFFF99; colors[4] = 0x66FF99; colors[5] = 0xCCCCCC; colors[6] = 0x999999; colors[7] = 0x66CCCC; colors[8] = 0x99CCCC; title1[0] = "My donkey"; title1[1] = "Banana"; title1[2] = "Really"; title1[3] = "Harold Cohen"; title1[4] = "Badger worrier"; title1[5] = "Pigeon"; title1[6] = "Ralph"; title1[7] = "Dr Who"; title1[8] = "Jack Russell"; title1[9] = "Robot"; title1[10] = "Aubergine"; title1[11] = "Velociraptor"; title1[12] = "Mr Keswani"; title1[13] = "Jehovah"; title1[14] = "Trout"; title1[15] = "Tortoise"; title1[16] = "Ninja"; title1[17] = "Pirate"; title1[18] = "Les Dennis"; title1[19] = "Nonce"; title2[0] = " shlupps"; title2[1] = " eats"; title2[2] = " explodes"; title2[3] = " fornicating"; title2[4] = " shuffles"; title2[5] = ""; title2[6] = " riding"; title2[7] = " beating"; title2[8] = " under"; title2[9] = " loves"; title2[10] = " considers"; title2[11] = " scores with"; title2[12] = " above"; title2[13] = " poking"; title2[14] = " testing"; title2[15] = " inside"; title2[16] = " craving"; title2[17] = " sucks"; title2[18] = " hammers"; title2[19] = " avoids"; title3[0] = " today"; title3[1] = " in perpituity"; title3[2] = " your mum"; title3[3] = " in Bognor Regis"; title3[4] = " broken glass mitten"; title3[5] = " KFC"; title3[6] = " bottle"; title3[7] = " in the face"; title3[8] = " backwards"; title3[9] = " okay"; title3[10] = " Gordon Brown"; title3[11] = " biscuit"; title3[12] = " yak"; title3[13] = " turd"; title3[14] = " Wayne Rooney"; title3[15] = " goat tickler"; title3[16] = " always"; title3[17] = " at weekends"; title3[18] = " monkey style"; title3[19] = " turnip"; function ellipse(x, y, w, h, fill, line) { lineStyle(2, line, 100); beginFill(fill); moveTo(x+(w/2), y); curveTo(x+w, y, x+w, y+(h/2)); curveTo(x+w, y+h, x+(w/2), y+h); curveTo(x, y+h, x, y+(h/2)); curveTo(x, y, x+(w/2), y); endFill(); } function cloud(x, y, s) { lineStyle(); beginFill(0xFFFFFF); moveTo(x, y); curveTo(x, y-s, x+s, y-s); curveTo(x+(s*2), y-s, x+(s*2), y); curveTo(x+(s*2), y-s, x+(s*3), y-s); curveTo(x+(4*s), y-s, x+(s*4), y); curveTo(x+(5*s), y, x+(5*s), y+s); curveTo(x+(5*s), y+(2*s), x+(4*s), y+(2*s)); curveTo(x+(4*s), y+(3*s), x+(3*s), y+(3*s)); curveTo(x+(2*s), y+(3*s), x+(2*s), y+(2*s)); curveTo(x+(2*s), y+(3*s), x+s, y+(3*s)); curveTo(x, y+(3*s), x, y+(2*s)); curveTo(x-s, y+(2*s), x-s, y+s); curveTo(x-s, y, x, y); endFill(); } function tree(x, y, s) { lineStyle(2, 0x000000); beginFill(0xAA7B44); moveTo(x-(s/3), y); lineTo(x+(s/3), y); lineTo(x+(s/3), 400); lineTo(x-(s/3), 400); lineTo(x-(s/3), y); endFill(); beginFill(0x00CC00); moveTo(x-s, y-s); curveTo(x-s, y-(s*1.5), x-(s/2), y-(s*1.5)); curveTo(x, y-(s*1.5), x, y-s); curveTo(x, y-(s*1.5), x+(s/2), y-(s*1.5)); curveTo(x+s, y-(s*1.5), x+s, y-s); curveTo(x+(s*1.5), y-s, x+(s*1.5), y-(s/2)); curveTo(x+(s*1.5), y, x+s, y); curveTo(x+(s*1.5), y, x+(s*1.5), y+(s/2)); curveTo(x+(s*1.5), y+s, x+s, y+s); curveTo(x+s, y+(s*1.5), x+(s/2), y+(s*1.5)); curveTo(x, y+(s*1.5), x, y+s); curveTo(x, y+(s*1.5), x-(s/2), y+(s*1.5)); curveTo(x-s, y+(s*1.5), x-s, y+s); curveTo(x-(s*1.5), y+s, x-(s*1.5), y+(s/2)); curveTo(x-(s*1.5), y, x-s, y); curveTo(x-(s*1.5), y, x-(s*1.5), y-(s/2)); curveTo(x-(s*1.5), y-s, x-s, y-s); endFill(); } function flower(x, y, p, s, lev) { this.x = x; this.y = y; this.p = p; this.s = s; this.lev = lev; } flower.prototype.draw = function() { with (this) { lineStyle(2, 0x000000, 100); moveTo(x, y); lineTo(x, 400); lineTo(x, y); //draw leaf for (var i = 0; i