ࡱ> Root Entryp|YrRASHN@ ContentsPage 1(Symbol 5 !"#$%Root Entryp|YrRASH0Gs# Contents Page 1KSymbol 5   !"#$%&'()*+,-./01CPicPage CPicLayer CPicFrame̙,00R0P0p?ެ6̙lP0p000R?3̙lP0p000R?contentO?up?over?downlabelsOOCPicPage CPicLayer CPicFrameCPicText?$WU@!Arialx"tload mouseDown mouseUp mouseMove@Arial|"(simply to prove the power of the ActionScript movie clip event handlers, here we turn a movie clip into a customized button using Arial|"(mouseMoveArial|"( to check for rollovers, Arial|"(mouseDownArial|"( and Arial|"(mouseUp%Arial|"( to check for button clicks, and the Arial|"(hitTest>Arial|"( function to make mouse/movie clip collision detection a snap. CPicSprite3 3 onClipEvent (load) { stop(); } onClipEvent (mouseMove) { if (hitTest(_root._xmouse, _root._ymouse, true) && !buttonDown) { this.gotoAndStop("over"); } else if (!hitTest(_root._xmouse, _root._ymouse, true) && !buttonDown) { this.gotoAndStop("up"); } updateAfterEvent(); } onClipEvent (mouseDown) { if (hitTest(_root._xmouse, _root._ymouse, true)) { buttonDown = true; this.gotoAndStop("down"); } updateAfterEvent(); } onClipEvent (mouseUp) { buttonDown = false; if (!hitTest(_root._xmouse, _root._ymouse, true)) { this.gotoAndStop("up"); } else { this.gotoAndStop("over"); } updateAfterEvent(); }buttonr'K0@ Arial@"tcustom button L4O4OLd'!onClipEvent (load) { stop(); }U00>0`8 j8 (?content  CDocumentPage Page 1Scene 1>89 Symbol 5 custom buttono9to9*@hhhhhE.' Vector::External Font Files0Vector::Generator CommandVector::Preview as GIF0Vector::Override Sounds0Vector::TemplateVector::Protect0Vector::Quality50Vector::Omit Trace Actions0Vector::TopDown0"PublishFormatProperties::generatorVector::Report0Vector::Version5Vector::Stream Compress7Vector::Event Format0Vector::Event Compress7Vector::Stream Format0PropSheet::ActiveTab1599 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̙xx3fެ6D E.' B3 Pf`zf*]2l$h