My Account
View Cart
Home
Community
Books & Videos
Safari Books Online
Conferences
Training
School of Technology
About
Complete List
Bestsellers
New Releases
Rough Cuts
Upcoming Titles
Ebooks
By Publisher
By Series
Out of Print
Order Info
Search
Search Tips
Tell a friend
Flash Hacks
100 Industrial-Strength Tips & Tools
By
Sham Bhangal
June 2004
Pages: 496
|
Table of Contents
|
Index
|
Sample Hacks
|
Colophon
Table of Contents
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
Return to
Flash Hacks