╨╧рб▒с>■  ■                                                                                                                                                                                                                                                                                                                                                                                                                                                   Root Entry        pк|Yкr╧ГRASH╨Cd'├:└Contents         ░Page 1            ДSymbol 4            ■   ▄¤           ■   ■    ■        ■                                                                                                                                                                                                                                                                                                                                                                                                                                               Root Entry        pк|Yкr╧ГRASHРО╩├:└Contents        ░Page 1            ДSymbol 4            ■   ▄        ¤                                       ■                               ■   ■    !"#■                                                                                                                                                                                                                                                                                                                                                                                   Symbol 5        :                                      ■    ■                                                                                                                                                                                                                                                                                                                                                                                                     CPicPage   CPicLayer   CPicFrame  CPicTextАА?$W   Е█  l0@└Arial╠ f "t keyDown event handlerАААxП╕@Arialў▌  "(a keyDown handler makes the ball movie clip in this movie move around when you press the arrow keys. o  CPicPage   CPicLayer   CPicFrameАА▐м6 Ё╩щ <ў6╚■AAВ84[~ 64└A╩■В4е╚■~ 4└└А ╩■4еА╚■4A└8А 4[6А   ?  ААLayer 1    OА  ААne key press moves the ball 10 pixels. keys may be simultaneously pressed. this movie demonstrates the keyDown principle, but is not particularly useful for fluid motion systems because it relies on repeated physical key presses or the auto-repeating of keys, which varies from system to system. note the updateAfterEvent function invocation in the keyDown handler. updateAfterEvent causes flash to draw the8Arialў▌  "( new location of the ball before drawing the next frame.   CPicSpriteы"Hы"H      onClipEvent (keyDown) { if (Key.isDown(37)) { // left arrow _x -= 10; } if (Key.isDown(38)) { // up arrow _y -= 10; } if (Key.isDown(39)) { // right arrow _x += 10; } if (Key.isDown(40)) { // down arrow _y += 10; } updateAfterEvent(); }ballАААC%┬p8 Arial ╠  "("ball" clipАА Ё╩щ ╠ f єжH▐8h3p■pИ·0Z°0x0жєк╖┌├аU00>0`к8 j· ищ8 Ў (╪   ?  ААcontent      АААА   ?    CDocumentPage Page 1Scene 1▐>8%ОЁ9А Symbol 5ballтФ^9Є═^9°*@hЕhhhh Щ╠ └└└  ┤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        CColorDef А А А А3 PяАf Pя0АЩ PяHА╠ Pя`А  PяxА3 яА33 (яА3f <я0А3Щ CяHА3╠ Fя`А3  HяxАf я0Аf3 я0Аff (я0АfЩ 5яHАf╠ <я`Аf  @яxА А333 0А А3 аяА33 xяАf3 dя0АЩ3 ]яHА╠3 Zя`А 3 XяxА33 ╚яА333 0А3f3 PPHА3Щ3 Px`А3╠3 PРxА3 3 PяРАf3 ▄я0Аf33 PHАff3 (PHАfЩ3 <x`Аf╠3 CРxАf 3 FяРА Аfff `А Аf ая0А3f Мя0Аff xя0АЩf kяHА╠f dя`А f `яxА3f ┤я0А33f аPHА3ff x  ■    ■                                                                                                                                                                                                                                                                                                                                                                                                   PHА3Щf dx`А3╠f ]РxА3 f ZяРАff ╚я0Аf3f ╚PHАfff `АfЩf P0xАf╠f PxРАf f PяиА АЩЩЩ РА АЩ аяHА3Щ УяHАfЩ ЕяHАЩЩ xяHА╠Щ nя`А Щ hяxА3Щ няHА33Щ аx`А3fЩ Мx`А3ЩЩ xx`А3╠Щ kРxА3 Щ dяРАfЩ ╗яHАf3Щ ┤x`АffЩ а0xАfЩЩ x0xАf╠Щ dxРАf Щ ]яиА А╠╠╠ └А А╠ ая`А3╠ Ця`Аf╠ Мя`АЩ╠ Вя`А╠╠ xя`А ╠ pяxА3╠ кя`А33╠ аРxА3f╠ УРxА3Щ╠ ЕРxА3╠╠ xРxА3 ╠ nяРАf╠ ┤я`Аf3╠ нРxАff╠ аxРАfЩ╠ МxРАf╠╠ xxРАf ╠ kяиА А    ЁА А  аяxА3  ШяxАf  РяxАЩ  ИяxА╠  АяxА   xяxА3  ияxА33  аяРА3f  ЦяРА3Щ  МяРА3╠  ВяРА3   xяРАf  ░яxАf3  кяРАff  аяиАfЩ  УяиАf╠  ЕяиАf   xяиА А  яxА АЩ яHАЩ3  яHАЩf яHАЩЩ (яHАЩ╠ 2я`АЩ  8яxА╠ я`А╠3  я`А╠f я`А╠Щ я`А╠╠ (я`А╠  0яxА  яxА 3 яxА f яxА Щ яxА ╠  яxА   (яxА А  PяxА АЩ3 уяHАЩ33 x`АЩf3 x`АЩЩ3 (x`АЩ╠3 5РxАЩ 3 <яРА╠3 ця`А╠33 РxА╠f3  РxА╠Щ3 РxА╠╠3 (РxА╠ 3 2яРА 3 шяxА 33 яРА f3  яРА Щ3 яРА ╠3 яРА  3 (яРА А  аяxА АЩf ╒яHАЩ3f ▄x`АЩff 0xАЩЩf (0xАЩ╠f <xРАЩ f CяиА╠f ▄я`А╠3f уРxА╠ff xРА╠Щf xРА╠╠f (xРА╠ f 5яиА f ряxА 3f цяРА ff яиА Щf  яиА ╠f яиА  f (яиА А   (яxА АЩЩ ╚яHАЩ3Щ ╚x`АЩfЩ ╚0xАЩЩЩ РАЩ╠Щ PPиАЩ Щ Pя└А╠Щ ╥я`А╠3Щ ╒РxА╠fЩ ▄xРА╠ЩЩ PиА╠╠Щ (PиА╠ Щ <я└А Щ ╪яxА 3Щ ▄яРА fЩ уяиА ЩЩ я└А ╠Щ я└А  Щ (я└А А   xяxА АЩ╠ ╛я`АЩ3╠ ╗РxАЩf╠ ┤xРАЩЩ╠ аPиАЩ╠╠ xPиАЩ ╠ dя└А╠╠ ╚я`А╠3╠ ╚РxА╠f╠ ╚xРА╠Щ╠ ╚PиА╠╠╠ └А╠ ╠ Pя╪А ╠ ╨яxА 3╠ ╥яРА f╠ ╒яиА Щ╠ ▄я└А ╠╠ я╪А  ╠ (я╪А А   ╚яxА АЩ  ╕яxАЩ3  ┤яРАЩf  няиАЩЩ  ая└АЩ╠  Мя└АЩ   xя└А╠  └яxА╠3  ╛яРА╠f  ╗яиА╠Щ  ┤я└А╠╠  ая╪А╠   xя╪А   ╚яxА 3  ╚яРА f  ╚яиА Щ  ╚я└А ╠  ╚я╪А    ЁА▐м6 мВАЁ╩щ ╨З╨Аў▌  ╛ярА       А       А     А     А     А f¤ `    z    АЩf к ╠      А   *   ]     к  ╘      )<╨Ї  h arrow _x += 10; } if (Key.isDown(40)) { // down arrow _y += 10; }