Flash Hacks by Sham Bhangal This errata page lists errors outstanding in the most recent printing. If you have technical questions or error reports, you can send them to booktech@oreilly.com. Please specify the printing date of your copy. This page was updated December 6, 2005. Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification Confirmed errors: (3), bottom: "As we shallsee" should be "As we shall see" (41), middle: "Advance Effect" should be "Advanced Effect" (46), middle: "Advanced Effects" should be "Advanced Effect" (99), middle: "In the case of a bitmaps image" should be "In the case of a bitmap image" (120), top: "onEnterFrameFrame()" should be "onEnterFrame()" (172) Under function drop (){; this.speed.y = 1; should be: this.speedY = 1; {178} circleHitTest function; function circleHitTest (circle1, circle2) { var a = circle1._x - circle2._x; var b = circle1._y - circle2._y; dist = Math.sqrt( Math.pow(a, 2) + Math.pow(b, 2)); return dist < Math.abs(circle1._width/2 - circle2._width/2); } should be: function circleHitTest(circle1, circle2) { var a = circle1._x-circle2._x; var b = circle1._y-circle2._y; var dist = Math.sqrt(Math.pow(a, 2)+Math.pow(b, 2)); return dist<(circle1._width/2+circle2._width/2); } {253} 3rd paragraph; In the Library, right-click (Windows) or -Click (Mac) on... (Note: I can't reproduce the Apple Command key pictured in the book) should be: In the Library, right-click (Windows) or control-click (Mac) (272), top: "It's a bit of a trial and error process, but once you have the correct result, its very obvious." should be "It's a bit of a trial and error process, but once you have the correct result, it's very obvious." (291), top: "Perhaps most importantly, you can create button movie clips dynamically using MovieClip.duplicateMovieclip" should be "Perhaps most importantly, you can create button movie clips dynamically using MovieClip.duplicateMovieClip" (323), top: "A frame rate readout is displayed at the top left of the Stage" should be "A frame rate readout is displayed at the top right of the Stage" (323), first bullet: "Are created using bitmaps tiles rather than vector ones" should be "Are created using bitmap tiles rather than vector ones" (339), top: "Specifying ball's type as MoveClip tells the compiler that the variable must contain a movie clip reference" should be "Specifying ball's type as MovieClip tells the compiler that the variable must contain a movie clip reference" (343), top: "However objects are not always treated the same way as simple variables." should be "However, objects are not always treated the same way as simple variables." (427), middle: "Macromedia's uses cross-domain policy files to control the ways in which Flash content on one domain can access content on another domain." should be "Macromedia uses cross-domain policy files to control the ways in which Flash content on one domain can access content on another domain." (439), top: "Someone could take a SWF that loads in your content and rework it to load in his content, or worse yet, pass of your content as being his own." should be "Someone could take a SWF that loads in your content and rework it to load in his content, or worse yet, pass off your content as being his own." (440), middle: "Readers who have done traditional web design probably already have a big wide smirks thinking about the downright dirtiness of this hack, but here's a rundown for everyone else" should be "Readers who have done traditional web design probably already have big wide smirk thinking about the downright dirtiness of this hack, but here's a rundown for everyone else" (459) in index; Add entry for - Local Shared Object, 202