-
Chapter 1 Visual Effects
-
Hacks #1-7
-
Fake Per-Pixel Transitions
-
Per-Pixel Text Effects
-
Simulate Old Film Grain
-
Create SWFs from Animated GIFs
-
Animate Photoshop PSD Files with Flash
-
A Tree Grows in Brooklyn
-
Blowin' in the Wind: Simulate Tree Movement
-
-
Chapter 2 Color Effects
-
Hacks #8-13
-
Video Color Effects
-
Video Fade to Black and Fade to White
-
A Custom Color Transform Class
-
Create and Organize Custom Swatches
-
Borrow Color Schemes from Nature
-
Simulate Sepia Effects
-
-
Chapter 3 Drawing and Masking
-
Hacks #14-25
-
Create Filled Circles Quickly at Runtime
-
Create Synthetic Art
-
Create Seamless Tiles
-
Fill Areas with Patterns
-
Imitate Escher
-
Fix Alpha Property Inaccuracies
-
Use Complex Shapes as Masks
-
Interference Patterns and Ripple Effects
-
Feather Bitmap Edges
-
Add a Vector Edge to a Bitmap
-
Solve the Bitmap-Shift Bug
-
A Page-Turn Effect (Exploit Symmetry and Masking)
-
-
Chapter 4 Animation
-
Hacks #26-34
-
Smooth Scripted Motion
-
Time-Controlled Movement
-
Quick, Bandwidth-Efficient Character Animation
-
alt-Flash: Motion Graphics Alternatives
-
Deja New Animations
-
Hacking The Matrix
-
Computer-Generated Character Animation
-
Particle Effects
-
Shape Tweening Complex Shapes
-
-
Chapter 5 3D and Physics
-
Hacks #35-41
-
Simulate 3D
-
Panoramic Images
-
An Optimized 3D Plotter
-
Use Acceleration to Simulate Gravity and Friction
-
Simulate a Throw
-
Detect Multiple Collisions
-
Turn Toward a Point
-
-
Chapter 6 Text
-
Hacks #42-51
-
Fonts
-
Keep Text Legible
-
Autocomplete Text Fields
-
Store a List of All Input Words
-
Import Complex Formatting in Flash
-
HTML and CSS in Flash
-
Use Accessibility Text as Help Text
-
Text Effect Framework
-
Typewriter Effect
-
Time-Based Text Effects
-
Timeline Text Effects
-
-
Chapter 7 Sound
-
Hacks #52-60
-
Create a Flash Speech Synthesizer
-
A Talking, Lip-Synched Avatar
-
The Ubiquitous Sound-Kicker Hack
-
Turn Low-Bandwidth Monaural Sounds into Stereo Sounds
-
Real-Time Sound Effects
-
Quickly Create UI Sounds
-
Optimize Sound
-
Sound Time Codes (Cue Points)
-
A Custom Sound Transform Class
-
-
Chapter 8 User Interface Elements
-
Hacks #61-64
-
Amit's Dials (Interactive Testing)
-
Right and Middle Mouse Buttons
-
Button Movie Clips
-
Dude, Where's My Scrollbar?
-
-
Chapter 9 Performance and Optimization
-
Hacks #65-73
-
Optimize Filesize and Download Time
-
Optimize Graphics
-
Increase Code Performance
-
Beat Flash File Bloat
-
Bandwidth Testing for Complex Sites
-
Hide Low-Quality Settings
-
Optimize Graphics for Performance
-
Benchmark Runtime Performance
-
Adjust the Animation Complexity Dynamically
-
Performance Budget
-
Substitute Bitmaps for Vectors
-
Optimize Component Downloading and Usage
-
-
Chapter 10 ActionScript
-
Hacks #74-85
-
Changes in Flash MX 2004
-
External Script Editors
-
Strict Typing and Casual Scripters
-
Code Hints
-
Clone an Object
-
An Idle Timer (Timeout Event)
-
Fast ActionScript Searches
-
Lock the actions Layer
-
Debug with trace( )
-
Undocumented ActionScript
-
ASnative( ) Back Door
-
Obscure Operators
-
Import ASC Files as XML
-
-
Chapter 11 Browser Integration
-
Hacks #86-96
-
Keep Your Site Browser Friendly
-
A Universal Flash Plugin Sniffer
-
Test Multiple Flash Plugins
-
Preferences and Publishing Defaults
-
Center Your SWF Without Scaling
-
CSS-Based Browser Centering
-
Dynamically Resize Content
-
Create HTML Links in Flash
-
Integrate the Back Button with Flash
-
Give the Flash SWF Keyboard Focus
-
Add Key Shortcuts to Your Site
-
-
Chapter 12 Security
-
Hacks #97-100
-
Privacy Settings
-
Cross-Domain Policy
-
Handling Local Executables
-
Recover Content from a SWF
-
Protect and Obfuscate Your Flash Files
-
Make Your SWF Phone Home
-
Review Compiled ActionScript
-
-
Colophon
- Title:
- Flash Hacks
- By:
- Sham Bhangal
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- June 2004
- Ebook Release:
- June 2009
- Pages:
- 496
- Print ISBN:
- 978-0-596-00645-7
- | ISBN 10:
- 0-596-00645-4
- Ebook ISBN:
- 978-0-596-55645-7
- | ISBN 10:
- 0-596-55645-4
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The tool on the cover of Flash Hacks is a spotlight. The modern spotlight descends from an invention at the beginning of the nineteenth century by British army officer Thomas Drummond. Drummond produced "limelight" by burning a cylinder of calcium oxide (lime) in an oxyhydrogen flame. As the lime was oxidized by the flame, it produced a brilliant light that could be directed into a beam by a glass lens. Although its original use was to make survey stations more visible at night, limelight quickly became a part of stage lighting; its first appearances were in the Paris opera houses, and it was used widely throughout Europe and the United States until the 1890s.
The etymology of the expression "in the limelight"--being at the center of attention--comes from this beam of light, which was used to direct the audience's attention to an important person or event on stage.
As technology improved, limelight became less popular as a means to light theatres because it produced intense heat, started fires, emitted a noxious gas-like odor, and cast a greenish tint. Its brief successor was the carbon arc lamp, which was quickly replaced in the 1920s by the newer and safer incandescent spotlight that used a modern 1000-watt lamp. Of course, that lamp was possible because Thomas Edison continued to make advances in electrical technology that led, in 1911, to the introduction of the "concentrated filament" lamp designed for use in a lens hood. Thus, the modern spotlight was born. Marlowe Shaeffer was the production editor and proofreader for Flash Hacks. Norma Emory was the copyeditor. Reg Aubry and Darren Kelly provided quality control. John Bickelhaupt wrote the index.
Hanna Dyer designed the cover of this book, based on a series design by Edie Freedman. The cover image is a photograph taken from the Classic PIO Entertainment CD. Emma Colby produced the cover layout with Quark-XPress 4.1 using Adobe's Helvetica Neue and ITC Garamond fonts.
Melanie Wang designed the interior layout, based on a series design by David Futato. This book was converted by Andrew Savikas to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Helvetica Neue Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. This colophon was written by Marlowe Shaeffer.
