ActionScript 3 0 Cookbook.pdf
(
2543 KB
)
Pobierz
ActionScript 3.0 Cookbook: Solutions for Adobe Flash Platform and Adobe Flex Application Developers
ActionScript 3.0 Cookbook
By Joey Lott, Darron Schall, Keith Peters
...............................................
Publisher:
O'Reilly
Pub Date:
October 01, 2006
ISBN:
0-596-52695-4
Pages:
592
Table of Contents | Index
Well before Ajax and Microsoft's Windows Presentation Foundation hit the scene, Macromedia
offered the first method for building web pages with the responsiveness and functionality of desktop
programs with its Flash-based "Rich Internet Applications". Now, new owner Adobe is taking Flash
and its powerful capabilities beyond the Web and making it a full-fledged development environment.
Rather than focus on theory, the ActionScript 3.0 Cookbook concentrates on the practical
application of ActionScript, with more than 300 solutions you can use to solve a wide range of
common coding dilemmas. You'll find recipes that show you how to:
Detect the user's Flash Player version or their operating system
Build custom classes
Format dates and currency types
Work with strings
Build user interface components
Work with audio and video
Make remote procedure calls using Flash Remoting and web services
Load, send, and search XML data
And much, much more ...
Each code recipe presents the Problem, Solution, and Discussion of how you can use it in other
ways or personalize it for your own needs, and why it works. You can quickly locate the recipe that
most closely matches your situation and get the solution without reading the whole book to
understand the underlying code. Solutions progress from short recipes for small problems to more
complex scripts for thornier riddles, and the discussions offer a deeper analysis for resolving similar
issues in the future, along with possible design choices and ramifications. You'll even learn how to
link modular ActionScript pieces together to create rock-solid solutions for Flex 2 and Flash
applications.
ActionScript 3.0 Cookbook
By Joey Lott, Darron Schall, Keith Peters
...............................................
Publisher:
O'Reilly
Pub Date:
October 01, 2006
ISBN:
0-596-52695-4
Pages:
592
Table of Contents | Index
Well before Ajax and Microsoft's Windows Presentation Foundation hit the scene, Macromedia
offered the first method for building web pages with the responsiveness and functionality of desktop
programs with its Flash-based "Rich Internet Applications". Now, new owner Adobe is taking Flash
and its powerful capabilities beyond the Web and making it a full-fledged development environment.
Rather than focus on theory, the ActionScript 3.0 Cookbook concentrates on the practical
application of ActionScript, with more than 300 solutions you can use to solve a wide range of
common coding dilemmas. You'll find recipes that show you how to:
Detect the user's Flash Player version or their operating system
Build custom classes
Format dates and currency types
Work with strings
Build user interface components
Work with audio and video
Make remote procedure calls using Flash Remoting and web services
Load, send, and search XML data
And much, much more ...
Each code recipe presents the Problem, Solution, and Discussion of how you can use it in other
ways or personalize it for your own needs, and why it works. You can quickly locate the recipe that
most closely matches your situation and get the solution without reading the whole book to
understand the underlying code. Solutions progress from short recipes for small problems to more
complex scripts for thornier riddles, and the discussions offer a deeper analysis for resolving similar
issues in the future, along with possible design choices and ramifications. You'll even learn how to
link modular ActionScript pieces together to create rock-solid solutions for Flex 2 and Flash
applications.
When you're not sure how ActionScript 3.0 works or how to approach a specific programming
dilemma, you can simply pick up the book, flip to the relevant recipe(s), and quickly find the
solution you're looking for.
ActionScript 3.0 Cookbook
By Joey Lott, Darron Schall, Keith Peters
...............................................
Publisher:
O'Reilly
Pub Date:
October 01, 2006
ISBN:
0-596-52695-4
Pages:
592
Table of Contents | Index
Preface
Chapter 1. ActionScript Basics
Section 1.0. Introduction
Recipe 1.1. Creating an ActionScript Project
Recipe 1.2. Customizing the Properties of an Application
Recipe 1.3. Where to Place ActionScript Code
Recipe 1.4. How to Trace a Message
Recipe 1.5. Handling Events
Recipe 1.6. Responding to Mouse and Key Events
Recipe 1.7. Using Mathematical Operators
Recipe 1.8. Checking Equality or Comparing Values
Recipe 1.9. Performing Actions Conditionally
Recipe 1.10. Performing Complex Conditional Testing
Recipe 1.11. Repeating an Operation Many Times
Recipe 1.12. Repeating a Task over Time
Recipe 1.13. Creating Reusable Code
Recipe 1.14. Generalizing a Method to Enhance Reusability
Recipe 1.15. Exiting a Method
Recipe 1.16. Obtaining the Result of a Method
Recipe 1.17. Handling Errors
Chapter 2. Custom Classes
Section 2.0. Introduction
Recipe 2.1. Creating a Custom Class
Recipe 2.2. Determining Where to Save a Class
Recipe 2.3. Creating Properties That Behave As Methods
Recipe 2.4. Creating Static Methods and Properties
Recipe 2.5. Creating Subclasses
Recipe 2.6. Implementing Subclass Versions of Superclass Methods
Recipe 2.7. Creating Constants
Recipe 2.8. Dispatching Events
Chapter 3. Runtime Environment
Section 3.0. Introduction
Recipe 3.1. Detecting the Player Version
Recipe 3.2. Detecting the Operating System
Recipe 3.3. Checking the Player Type
Recipe 3.4. Checking the System Language
Recipe 3.5. Detecting Display Settings
Recipe 3.6. Scaling the Movie
Recipe 3.7. Changing the Alignment
Recipe 3.8. Hiding the Flash Player's Menu Items
Recipe 3.9. Detecting the Device's Audio Capabilities
Recipe 3.10. Detecting the Device's Video Capabilities
Recipe 3.11. Prompting the User to Change Player Settings
Recipe 3.12. Dealing with System Security
Chapter 4. Numbers and Math
Section 4.0. Introduction
Recipe 4.1. Representing Numbers in Different Bases
Recipe 4.2. Converting Between Different Number Systems
Recipe 4.3. Rounding Numbers
Recipe 4.4. Inserting Leading or Trailing Zeros or Spaces
Recipe 4.5. Formatting Numbers for Display Without a Mask
Recipe 4.6. Formatting Currency Amounts
Recipe 4.7. Generating a Random Number
Recipe 4.8. Simulating a Coin Toss
Recipe 4.9. Simulating Dice
Recipe 4.10. Simulating Playing Cards
Recipe 4.11. Generating a Unique Number
Recipe 4.12. Converting Angle Measurements
Recipe 4.13. Calculating the Distance Between Two Points
Recipe 4.14. Determining Points Along a Circle
Recipe 4.15. Converting Between Units of Measurement
Chapter 5. Arrays
Section 5.0. Introduction
Recipe 5.1. Adding Elements to the Start or End of an Array
Recipe 5.2. Looping Through an Array
Recipe 5.3. Searching for Matching Elements in an Array
Recipe 5.4. Removing Elements
Recipe 5.5. Inserting Elements in the Middle of an Array
Recipe 5.6. Converting a String to an Array
Recipe 5.7. Converting an Array to a String
Recipe 5.8. Creating a Separate Copy of an Array
Recipe 5.9. Storing Complex or Multidimensional Data
Recipe 5.10. Sorting or Reversing an Array
Recipe 5.11. Implementing a Custom Sort
Recipe 5.12. Randomizing the Elements of an Array
Recipe 5.13. Getting the Minimum or Maximum Element
Recipe 5.14. Comparing Arrays
Recipe 5.15. Creating an Associative Array
Recipe 5.16. Reading Elements of an Associative Array
Plik z chomika:
Januszek66
Inne pliki z tego folderu:
Back Seat_ A Mumbai Tale - Aditya Kripalani.mobi
(755 KB)
Brief Wondrous Life of Oscar Wao, The - Junot Diaz.opf
(3 KB)
Don't Make Me Think, Revisited_ - Steve Krug.mobi
(9256 KB)
M. T. Anderson - Norumbegan 03 - The Empire of Gut and Bone # (v5.0).epub
(2209 KB)
M. T. Anderson - Norumbegan 02 - The Suburb Beyond the Stars # (v5.0).epub
(2105 KB)
Inne foldery tego chomika:
Dokumenty
Galeria
LUDLUM ROBERT
Midi - Kar
Mszał Rzymski PL
Zgłoś jeśli
naruszono regulamin