I managed to get a solution for this, if some one is looking for the same. Here you go.
One common problem you may end up in is version, else you will see a error in the file given in the url.
SDK Version : 3.2 (I am using version 3.3)
Flash version : 10