Using modules in Flex 3 is a real pain in the back. While creating modules may be easy, but loading and unloading them is very difficult to manage. The best thing is to avoid using modules as much a possible.

There seems to be  better way to handle modules in Flex 4 as you can see from this post


Here is the code for creating multiline buttons in flex 3. After a lot of trial and error and googling the following seems to be working.

 import mx.controls.Button;
 import flash.display.DisplayObject;
 import flash.text.TextLineMetrics;
 import mx.core.UITextField;
 import flash.text.TextFieldAutoSize;

 import mx.core.IFlexDisplayObject;
 import mx.core.mx_internal;
 use namespace mx_internal;

 public class MultiLineButton extends Button
  public function MultiLineButton()
  override protected function createChildren():void
  textField.multiline = true;
  textField.wordWrap = true;
  textField.autoSize = TextFieldAutoSize.LEFT;

  override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
  super.updateDisplayList(unscaledWidth, unscaledHeight);
  textField.y = (this.height-textField.height)>>1;

Try it in case you need it.

PHP Contact Form Builder

PHP Contact Form Builder is designed to achieve one simple thing only – to create a contact form in PHP without writing a single line of code. Its like asking a PHP developer to code a simple contact form for your site free of charge. Actually that developer happens to be Raymond Selda. If you want to see how page looks and works, then see it in action here .

In clear words what does it do?

A PHP contact form is generated along with jQuery validation based on the provided email address and site url. Once it is ready you can use it as is or modify it to your heart’s content. All the messages sent using this form will be sent the provided email address.

Who needs such a thing like this ?
Everyone who knows how to design a website but does not know how to code in php but needs a contact form really badly.

Adobe AIR runtime 1.5 or the latest.
It runs in any operating system where AIR is installed.That means Windows, Mac OS X and Linux.

It free to download and use.

Finally the beta version of “snowdust” saw the light of the day. It is a small and lightweight css framework Suvra has been working on for quite a few days. I had started it a year ago but abandoned it due to time constraints (mostly relate to my marriage ceremony). But recently Suvra found it and decided to revive it again. The credit should go to her for seeing potential in it.

In my opinion, it can be used for rapid prototyping of various web projects. In its earliest forms I had used it once or twice while creating few Rails projects.

It is licensed under MIT license and hosted with Google code.

Here is the downlod link

Yes, Keith Peters has written the best book on doing animation in ActionScript 3.0.

Foundation Actionscript 3.0 Animation: Making Things Move!

Now a days I am spending my free time in designing the website for It is a joint venture between my wife and my sister-in-law. At first we decided to use only html, css and some javascript framework for the site. The designs we came up with were also very compelling .

But sooner we found that we are taking the wrong decision by avoiding Flash altogether. Because the kind of idea we want to convey is much better presented in Flash only, though it requires some animating skills in AS. I know AS3.0 and Flex very well, still that’s not enough. So while searching for a book that would guide me in animation I found this book with some great reviews. I have just gone through some initial chapters and I have this feeling that I am a damn good ActionScript animator (is there such a thing!). What I liked the best in the book is the approach of attacking the problems using few mathematical concepts.

In fact this book can change the way you view and use ActionScript because a lot of Flex and RIA war has taken away some of the sweetness that Flash is famous for from your mind. I certainly believe currently ActionScript 3 is the most expressive language for visual medium and Keith Peters is one of the star makers.

Thanks Keith for writing the book.

Twitter Updates

December 2018
« Dec    

Blog Stats

  • 78,591 hits