All about ArrayCollection – Flex

All about ArrayCollection – Flex

Posted by Sachin in ActionScript 3.0, Adobe Flex on 01. Sep, 2010 | 0 Comments

Today i was feeling very bored, then finally decided to get into one of the basics of Flex. Yes its ArrayCollection. Before we go into ArrayCollection, one must construe Array.

Creating flex components in runtime using XML

Creating flex components in runtime using XML

Posted by Sachin in ActionScript 3.0, Adobe Flex on 18. May, 2010 | 0 Comments

Today i was going through an requirement on how to create components in runtime where we have parse an XML as input and then create components in the stage.

Design Patterns : Singleton Pattern

Design Patterns : Singleton Pattern

Posted by Sachin in ActionScript 3.0, Design Patterns on 15. Apr, 2010 | 1 Comment

The Singleton pattern is very similar to creator pattern. This is very widely used pattern. Now a question might raise in the mind that why do we need this pattern and when it should be applied. Let us take a situation where you want to build a chess game. Where does the Singleton Pattern apply [...]

Custom color in Flex bar Chart

Custom color in Flex bar Chart

Posted by Sachin in ActionScript 3.0, Adobe Flex, Flex Charts on 13. Apr, 2010 | 1 Comment

Today one of my friend asked me on how to have a bar chart with different colors for each series. I thought of putting up this code online that someone can use it up or extend for more functionality too.

Formatting the SelectedDate in DateChooser

Formatting the SelectedDate in DateChooser

Posted by Sachin in ActionScript 3.0, Adobe Flex on 31. Mar, 2010 | 1 Comment

I was suddenly struck up with this DateChooser as my the date object doesn’t recognize the dash as a valid separator.

Introduction to MVP for Flex

Introduction to MVP for Flex

Posted by Sachin in ActionScript 3.0, Adobe Flex, Design Patterns on 29. Mar, 2010 | 2 Comments

I was today having a discussion with my amigos on the various design patterns and we were usually struck with mind blowing MVP pattern. I did a Bing on reseearch but could not eventually find a single article which explains the users very clear of this pattern. That’s the reason of this post.