ࡱ> Root EntryRoot Entryp|YrRASHlContents Page 1Symbol 1t   !CPicPage CPicLayer CPicFrameCPicText #Impact(A letter_txt?#H Layer 1OCPicPage CPicLayer CPicFrame?)theArray = new Array(); theArray[0] = "BIT-101 is not dead."; theArray[1] = "It is in deep sleep."; theArray[2] = "It will wake soon."; theArray[3] = "Please be patient."; theArray[4] = "It needs its rest."; lineNum = 0; init(); function init() { theText = theArray[lineNum]; minDist = 60; createEmptyMovieClip("letters", 0); for (var i = 0; i < theText.length; i++) { theChar = theText.charAt(i); letter = letters.attachMovie("letter", "l" + i, i); letter._x = Math.random() * 500 + 20; letter._y = Math.random() * 360 + 20; letter.tx = 20 + 500 / (theText.length + 1) * (i + 1); letter.ty = 200; letter.letter_txt.text = theChar; letter.onEnterFrame = move; } captureCount = 0; } function move() { this.vx += Math.random() - .5; this.vy += Math.random() - .5; var dx = this.tx - this._x; var dy = this.ty - this._y; var distSQ = dx * dx + dy * dy; var dist = Math.sqrt(distSQ); if (dist > minDist) { var force = 10000 / distSQ; this.vx += force * dx / dist; this.vy += force * dy / dist; } else { if (!this.captured) { if (dist < 10 && Math.sqrt(this.vx * this.vx + this.vy * this.vy) < 5) { this.captured = true; captureCount++; trace(captureCount); if (captureCount >= theText.length) { lineNum++; if (lineNum >= theArray.length) { lineNum = 0; } init(); } } } this.vx += dx * .2; this.vy += dy * .2; } this.vx *= .9; this.vy *= .9; this._x += this.vx; this._y += this.vy; }  Layer 1O) CDocumentPagePage 1Scene 1,M?c2M?Symbol 1letter,M?letterSymbol 1z/M?0*@hhhh CColorDef3PfP0PHP`Px333(3f<03CH3F`3Hxf0f30ff(0f5Hf<`f@x3330333xf3d03]H3Z`3Xx3333303f3PPH33Px`33Px33Pf30f33PHff3(PHf3<x`f3Cxf3Ffff`f03f0ffx0fkHfd`f`x3f033fPH3ffxPH3fdx`3f]x3fZff0f3fPHfff`ffP0xffPxffPH3HfHxH̙n`hx3H33x`3fx`3xx`3̙kx3dfHf3x`ff0xfx0xf̙dxf]`3`f``x`px3`33x3fx3x3xx3nf`f3xffxfxfxxfkx3xfxxxxx3x333f333xfxf3fffffxxH3 HfH(H2`8x`3 `f`̙`(`0xx3xfxx x(xPx3H33x`f3x`3(x`35x3<3`33xf3 x̙3x3(x323x33f3 333(xfH3fx`ff0xf(0xf<xfCf`3fxffx̙fxf(xf5fx3ffff ff((xH3x`f0x̙PPP`3xfx̙P̙(P<x3f̙(xx`3xfxPxPd`3xfx̙PPx3f(xx3fxx3f̙xx3ff`zf*]U<7