بیشترلیست موضوعات • Table of ContentsMacromedia® Flash MX 2004 ActionScript: Training from the SourceBy
Derek Franklin, Jobe Makar Publisher: Peachpit PressPub Date: November 19, 2003ISBN: 0-321-21343-2Pages: 636
Sure, you can use Flash MX 2004 without being a master programmer, but as any Flash developer worth his or her salt will tell you, you''''re not tapping all of its power unless you''''re taking advantage of its scripting language "ActionScript 2.0" which offers a more robust programming model and better object-oriented programming support than ever before. Here to take the fear factor out of learning it are Flash veterans and best-selling authors Derek Franklin and Jobe Makar, who demonstrate that scripting is an instinctual process you already know by translating real-life activities into ActionScript scripts. In these pages, you''''ll find methodologies and techniques for building over 40 real-life Flash ActionScript projects, including sample games, applications, Web sites, and more. New in this edition are coverage of ActionScript 2.0, Web services, Components, Printing, Video, and more. On the companion CD, you''''ll find all the project files and images you need to complete each project.
توضیحاتافزودن یادداشت جدید
Lesson 17. Scripting for Sound
Few things enhance the way we experience something more than sound. Not only does sound provoke an almost instantaneous emotional response, it also provides dimension. When standing in the middle of a crowded room, you can close your eyes and easily determine the relative position of people and clattering items just by listening. In a Flash presentation you can employ sound to provide your user with context as well as to create an engaging experience. Flash's sound controls will make this basketball sound like the real thing.A thorough understanding of how to control sound dynamically is key to creating everything from games to custom MP3 players. In this lesson, we'll demonstrate Flash's versatile sound controls by emulating a bouncing basketball inside an arena. The user can drag the ball within a predefined area of the screen. As the ball is dragged, the volume and panning of the bounce will be controlled dynamically to indicate its current location. You'll also see how Flash enables you to add and control sounds in your movie without placing them on the timeline.WHAT YOU WILL LEARNIn this lesson, you will:Explore the uses of sound with ActionScriptLearn how to create a Sound objectDrag an object within a visual boundaryControl the volume of a Sound objectControl the panning of a Sound objectAdd sounds to your movie by using the attachSound() methodStart, stop, and loop sounds dynamically APPROXIMATE TIMEThis lesson takes approximately one and one half hours to complete.LESSON filesStarting File:Lesson17/Assets/basketball1.flaCompleted Project:basketball6.fla