Jan 05 2009

MicroBookReview #1: Essential Actionscript 3.0 by Colin Moock (O’REILLY)

Category: booksDavide Zanotti @ 7:36 pm

Essential Actionscript 3.0Despite the word “essential”, in this book Colin Moock shows almost everything about Actionscript 3 and he does it in a clear and exhaustive manner.

The book covers several topics from the scratch and teaches not only the foundations but also some best practices and things to avoid, the topics are the following (generalized):

  • Packages, classes, interfaces, functions and methods
  • Language’s operators, variables, array and loops
  • Animations
  • Vector and Bitmap graphic
  • Events and event handling
  • XML (read, create, manipulate)
  • Flash security
  • OOP concepts (Inheritance, polymorphism and more)
  • Garbage collection
  • a Flex hint

Vote: 5/5

Tags: , , , ,


Dec 28 2008

Learning design patterns with Actionscript 3: episode 1 – Singleton pattern

Category: actionscriptDavide Zanotti @ 3:22 pm

In these Christmas holidays I bought some new books, among them I purchased “Actionscript 3 design patterns” (written by William Sanders and Chandima Cumaranatunge) and I’m actually studying this one. I never faced before the world of design patterns (which is, for those that never heard about, a way to write code and solve problems by implementing tested strategies that will guarantee flexibility and extensibility), or better I knew what a design pattern is, but I’m trying to learn to use them for the first time.
Unfortunately the first thing I learned about implementing design patterns in Actionscript 3 is that for some stuff we have to use workarounds, because actually as3 doesn’t provides 2 little useful things: abstract classes (on which most of the patterns are based) and not public constructor (in Java we can declare a class constructor as private, in as3 we must declare it as public), anyway with some little efforts, we can do everything :-)

Continue reading “Learning design patterns with Actionscript 3: episode 1 – Singleton pattern”

Tags: , , , , ,


Dec 22 2008

Centralizing event handling in Actionscript 3: a good method to handle events for multiple objects with a single listener

Category: actionscriptDavide Zanotti @ 2:26 pm

One of the first cool things I learned about Actionscript 3, is how to handle events. Actionscript 3 is heavily tied with events, so the use and a deep understanding of events and listener should be one of the most important subject to face for an Actionscript developer. Although I’m far away to be considered an experienced Actionscript developer, I’ve just realized the power and the benefits of a centralized event handling architecture and I want to share my new knowledge by writing this post.  So… what means to “centralize events handling”?
Continue reading “Centralizing event handling in Actionscript 3: a good method to handle events for multiple objects with a single listener”

Tags: , , , , ,


« Previous Page