flex

Dependency injection in flex

Finally I played with inversion of control in flex. It was only one thing that I missed in big actionscript application. Here is sample dependencytest.zip

Start conditions

To implement dependency injection need a way to access to each class in application in order to define if it marked with metadata or not. Metaprogramming way can simplify, automate usage of util. But here is one problem. How to get access to all classes in application. Here could be 3 ways:

Read more

  25 Feb 2008 - 10:40pm

DateChooser cook page: emphasizing some dates

DateChooser component in flex is nice but changing its behavior isn’t easy. To make easy step such as coloring (highlighting) background in pointed dates you need make real hack. Extending DateChooser stopped on component encapsulation. It prevent access because a lot of fields marked as private.

Read more

  22 Feb 2008 - 1:44pm