My Account Log in

1 option

ActionScript 3.0 design patterns / William B. Sanders and Chandima Cumaranatunge.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Sanders, William B., 1944-
Contributor:
Cumaranatunge, Chandima.
Language:
English
Subjects (All):
Flash (Computer file).
ActionScript (Computer program language).
Object-oriented programming (Computer science).
Physical Description:
1 online resource (544 p.)
Edition:
First edition.
Place of Publication:
Sebastopol, California : O'Reilly, 2007.
Language Note:
English
System Details:
text file
Summary:
Now that ActionScript is reengineered from top to bottom as a true object-oriented programming (OOP) language, reusable design patterns are an ideal way to solve common problems in Flash and Flex applications. If you're an experienced Flash or Flex developer ready to tackle sophisticated programming techniques with ActionScript 3.0, this hands-on introduction to design patterns is the book you need. ActionScript 3.0 Design Patterns takes you step by step through the process, first by explaining how design patterns provide a clear road map for structuring code that act
Contents:
ActionScript 3.0 Design Patterns; How this Book is Organized; What You Need to Use This Book; User&s Guide; Flash Media Server 2 developers; Companion Tools You&ll Want; Conventions Used in This Book; Using Code Examples; We&d Like to Hear from You; Acknowledgments; Technical Reviewers; Editors; Authors; Chandima Cumaranatunge; Dedication:; 1. Object-Oriented Programming, Design Patterns, and ActionScript 3.0; Transition to OOP; Timeline scripts; Document class; Movie clip and button classes; OOP Basics; Abstraction; Why Abstractions Are Important; Encapsulation
The many meanings of interfaceGetters and setters; The get and set methods; Using Encapsulation and Design Patterns; Inheritance; Writing Classes for Inheritance; Using Interfaces and Abstract Classes in ActionScript 3.0; Abstract classes and overriding inheritance; Why use interfaces and abstract classes?; Polymorphism; Implementing Polymorphism with Interfaces; Principles of Design Pattern Development; State; Client and Request; Program to Interfaces over Implementations; Using Complex Interfaces; Favor Composition; Using Delegation
Making Composition, Inheritance, and Instantiation Work TogetherMaintenance and Extensibility Planning; Adding Extensibility to a Plan with Granularity; Your Application Plan: It Ain&t You Babe; Choosing the Right Design Pattern; Achieving Better OOP Through Design Patterns; 2. Factory Method Pattern; Abstract Classes in ActionScript 3.0; Minimalist Example; Creator Classes; Clients; Hiding the Product Classes; Example: Print Shop; Creator Classes: Print Centers; Clients; Print Shop Extension; Parameterized Factory Methods; Extended Example: Color Printing
New Creator Classes: Integrating a Parameterized Factory MethodClients; Parallel Class Hierarchies; Key OOP Concepts Used in the Factory Method Pattern; Example: Sprite Factory; Creator Classes: Shape Creators; Clients; Example: Vertical Shooter Game; Space ships; Creator Classes; ShipCreator; Concrete Creator Classes; Clients; Summary; 3. Singleton Pattern; The Singleton Model; Key OOP Concepts Used with the Singleton Pattern; Creating a Private Class Instance; Minimalist Abstract Singleton; A Singleton Instantiation Method; One Instance and Different References
When to Use the Singleton PatternJust One Tune at a Time; Using Multiple References in a Shopping Cart; Summary; 4. Decorator Pattern; The Decorator Model; Key OOP Concepts Used with the Decorator Pattern; Wrapping Responsibilities; Flexibility and Adaptability; Minimalist Abstract Decorator; Abstract Decorator Class; Concrete Decorations; Wrapping Up; Applying a Simple Decorator Pattern in Flash: Paper Doll; Decorator Class Dressing the Dolls; The Concrete Classes; Concrete decorator classes; Implementing the Paper Doll Decorator; Decorating with Deadly Sins and Heavenly Virtues
Multiple Concrete Components
Notes:
Includes index.
Subtitle from cover.
Description based on print version record.
ISBN:
9781306816717
1306816718
9780596517625
0596517629
9780596554842
0596554842
OCLC:
609840859

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Library Catalog Using Articles+ Library Account