╨╧рб▒с>■   ■                                                                                                                                                                                                                                                                                                                                                                                                                                                   Root Entry        pк|Yкr╧ГRASHрmX{5<└ Contents        ЯPage 1            gSymbol 2            ^¤           ■         ■   ■                           ■   '                                ()*+,-■                                                                                                                                                                                                                                                                                                                                           Root Entry        pк|Yкr╧ГRASHрХ╙ш2╙└ Contents            ЯPage 1        gSymbol 2            ^        ¤        ■    ■   ■   ■                !"■                                                                                                                                                                                                                                                                                                                                                                                       Symbol 1    L                                      CPicPage   CPicLayer   CPicFrameАА╧ ╒ єОўўj╪08їE06е╨0x√B│   ?  ААbg    Щ3╠ ААААй╗ ┬ єB И ( тў0└&0╕ўh0h08№Г0┼0( тў0└&0╕ўh0h0а√0РўРў0@ўИ 0а√>№0HВ°0hўH∙0ц·0j√j√0@ўИ 0а√>№0HВ°0hўH∙0Иb·0 Ц3ж%*ё└&0╕ўh0h0а√0РўРў0@ўИ 0а√>№0HВ°0hўH∙0Иb·0 Ц0( тў30· Ц0( тў0└&0╕ўh0h0а√0РўРў0@ўИ 0а√>№0HВ°0hўH∙0Иb·3└оh0а√0РўРў0@ўИ 0а√>№0HВ°0hўH∙0Иb·0 Ц0( тў0└&0╕ўh3 Ш ╕ўh0h0а√0РўРў0@ўИ 0а√>№0HВ°0hўH∙0Иb·0 Ц0( тў0└&38сТэ└&0╕ўh0h0а√0РўРў0@ўИ 0а√>№0HВ°0hўH∙0Иb·0 Ц0( тў30>╕ўh0h0а√0РўРў0@ўИ 0а√>№0HВ°0hўH∙0Иb·0 Ц0( тў0└&3(ёV╕ўh0h0а√0РўРў0@ўИ 0а√>№0HВ°0hўH∙0Иb·0 Ц0( тў0└&3°¤0¤Иb·0 Ц0( тў0└&0╕ўh0h0а√0РўРў0@ўИ 0а√>№0HВ°0hўH∙3аJЇ Ц0( тў0└&0╕ўh0h0а√0РўРў0@ўИ 0а√>№0HВ°0hўH∙0Иb·3:╛╞ё╕ўh0h0а√0РўРў0@ўИ 0а√>№0HВ°0hўH∙0Иb·0 Ц0( тў0└&33=е∙ы0h0а√0РўРў0@ўИ 0а√>№0HВ°0hўH∙0Иb·0 Ц0( тў0г 0 Й·0hўH∙0Иb·0 Ц0( тў0└&0╕ўh0h0а√0РўРў0@ўИ 0а√>№А6А╬   ?  ААcontent    O O АА  CPicTextАА{$W   Е█  РX@=└Arial° ▐ "ф¤constructor prototype __proto__ inherited properties instance АААuВHщ  ┐ шSymbol 1    L                                    ╚Lucida Consolef Щ 1( // create a new class constructor, Square function Square (side) { this.side = side; } // instantiate a Square object sq = new Square(4); // add a property to the Square class' prototype object // all instances of Square will inherit this property Square.prototype.area = function () { return this.side * this.side; }; // Object is the constructor-function for generic objects. trace(Object);// displays: [type Function] // the prototype object of Object is, hence, an instance of Object itself trace(Objec ╚Lucida Consolef Щ 1(t.prototype);// displays: [object Object] // add a method that all objects will inherit Object.prototype.sayHi = function () { trace("hi there"); }; trace(sq.sayHi());// displays: hi there // why did that work? Square.prototype is an object of Object class. Hence, // Square.prototype itself inherits the properties of Object.prototype. // Object.prototype has the sayHi method, so Square.prototype inherits it. // Then sq inherits the properties of Square.prototype, so it too inherits // the sayHi method. ААА`▒ Ї   ▒ы&╕Arial"╢  "(this is strictly a code-example movie. АААf$k   Е█  ▒№   @└Arial3Щ3 "м■// superclass/class // code ААА▓чў  Yы%╕Arial3Щ3 "(take a look at the code on frame 1...   CPicSpriteь'|ь'|    ААf Щ ёаU00>0`к8 j· ищ8 Ў (╪   ?  ААtitles     OO АААА   ?   v// create three classes, each of which defines a single // internal property. function ClassA () { this ■    !"#■                                                                                                                                                                                                                                                                                                                                                                                      ?  А АDD    АА    ?  ААLayer 2     OO АА  CPicPage   CPicLayer   CPicFrame  CPicTextАА`·  z   D№   CPicPage   CPicLayer   CPicFrame  CPicTextАА`·  *°  D№мЁArial3Щ3 "Ф°void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly void sampleonly ?ЁArial3Щ3 "Ф°void sampleonly void sampleonly void sampleonly void sampleonlyААe   ?  ААLayer 1    OА  АА   CPicSpriteD°  D°      .ainternal = 1; } function ClassB () { this.binternal = 2; } function ClassC () { this.cinternal = 3; } // assign an inherited property to ClassA ClassA.prototype.ainherited = 1; // use a ClassA object as the superclass of ClassB ClassB.prototype = new ClassA(); // assign an inherited property to ClassB ClassB.prototype.binherited = 2; // use a ClassB object as the superclass of ClassC ClassC.prototype = new ClassB(); // assign an inherited property to ClassC ClassC.prototype.cinherited = 3; // instantiate an object for each class myAobj = new ClassA(); myBobj = new ClassB(); myCobj = new ClassC(); // list the properties available through each object for (i in myAobj) { trace("myAobj." + i + " is: " + myAobj[i]); } for (i in myBobj) { trace("myBobj." + i + " is: " + myBobj[i]); } for (i in myCobj) { trace("myCobj." + i + " is: " + myCobj[i]); } /* THE ABOVE LOOPS OUTPUT THE FOLLOWING: ---LOOP 1--- myAobj.ainherited is: 1 myAobj.ainternal is: 1 ---LOOP 2--- myBobj.ainherited is: 1 myBobj.binherited is: 2 myBobj.ainternal is: 1 myBobj.binternal is: 2 ---LOOP 3--- myCobj.ainherited is: 1 myCobj.binherited is: 2 myCobj.ainternal is: 1 myCobj.cinherited is: 3 myCobj.binternal is: 2 myCobj.cinternal is: 3 */ААscripts    OА  АА    CDocumentPage Page 1Scene 1╞эБ9╫·Є9А Symbol 2 void wordЖpа9%Жpа9А Symbol 1void"pа9#сpа9°*@hЕhhhh╧ ╒ └└└  ┤Vector::Template"PublishFormatProperties::generator    ■   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 xPHА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АЩЩААC   ?  А АPP    АА   ?  А А▒▒    ААЁArial3Щ3 "Ф°void sampleonlyАА   ?  ААLayer 1    OА  АА    CDocumentPage Page 1Scene 1╞эБ9╫·Є9А Symbol 2 void wordЖpа9%Жpа9А Symbol 1void"pа9#сpа9°*@hЕhhhh╧ ╒ └└└  ┤Vector::Template"PublishFormatProperties::generator    ■   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 xPHА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яxf (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  ╚яиА Щ  ╚я└А ╠  ╚я╪А    ЁА А╧ ╒ Uя┌А╧ ╒ Uя┌А       А       А     А     А     А f¤ `    z    АЩf к ╠      А   *   ]     к  ╘        hted is: 2 myCobj.ainternal is: 1 myCobj.cinherited is: 3 myCobj.binternal is: 2 myCobj.cinternal is: 3 */ААscripts    OА  АА