TextArea with dynamic height based on the text

I am sure all the Flex/Air developers might have to use text area most of the times when you are building an application. Text area control with dynamic height seems not be an issue in normal cases but if the height needs to calculated based on text in the control then we need to think. I had the same requirement. Of course no SCROLLS.

I extended mx.controls.TextArea and here is what  I did quickly.

This worked for me.Maybe there is a better way to do this. Let me know if you have tried this in a different way

Cheers. 🙂

Good bye 2009

2009 was a year with a lot of ups and downs for me personally and I guess that was the same all over the world. 2009 had been very eventful both personally and professionally. I had to deal with lot of challenges as I move forward in my career and of course nothing to complain about since, good or bad it is always experiences that teaches us to deal with life.

Adobe Flash community strengthened itself this year even in economic recession period it did stand apart from the rest. Hope we won’t face such a recession time ever again. We had our Ahmedabad user group to be more active this year and I believe we should try and put in more efforts to spread more awareness among people about the community and its activities. We planned to launch a user group website this year but unfortunately due to hectic schedules that never happened but this time we will surely get it done. I could see many new development in the RIA and it gives a clear indication that 2010 will be an year which will obviously include wide adoption of Flex 4(as it is due to be released in 2010) but also mobile development will also be a major part. I also got a chance to attend an Adobe event this year for the very first time which was quite important for me and will look forward to attending such events in 2010.

It has been about 3 years in this beautiful city of Ahmedabad and I have been working with a great team here which is rapidly gaining strength. I am not sure as to how long will I continue here but I love this place and love working with my team.
Goodbye 2009. Welcome 2010. Wishing you all a very happy new year

Cheers

AIR – Process terminated without establishing connection to debugger

This is strange and I am not sure if anybody else had the same  experience . Today morning when I opened Flex builder to continue my work on an AIR  application after couple of builds and runs the application stopped launching. I tried several times and was confused as to what could have happened to the application that was running perfectly last time. Then I tried debugging it only to find a prompt which says -“Process terminated without establishing connection to debugger”.

To find a fix to this I turned to the only hope for all developers GOOGLE and found that there was a similar issue reported to the Adobe BugList http://tinyurl.com/d3ws5h but this issue was reported only for MAC machines and mine was windows.

It suddenly struck my mind that it was after the application threw a runtime error all this started and curiously I opened the taskmanger and BINGO!! here it is adl.exe is still running. I ended adl process in the task manager and everything was to normal. The adl.exe which is located inside the bin folder under sdk folder of the Adobe Flex  installation directory is the factor which launches your AIR application (something like C:\Adobe\Flex Builder 3\sdks\3.4.0\bin).

Now what could have happened is when the application threw a run time exception even though the application was closed the instance of adl.exe was still running in the system which prevented the next launch.  This might not be proper fix but surely which can get you out of trouble. I wonder if anybody else had faced the same problem if yes, do let me know if you had some other way to fix this.

Adobe DevSummit, ’09 Hyderabad

I was  busy and  a bit lazy about writing for the last two months 😉 Well,  This was the very first time for me  to attend an event held by Adobe. I always wanted to attend similar developers conferences(in most of the cases the busy schedules do not permit me to attend such conferences) which I believe will make you aware of the new things in the market as well as an introduce you to the enhancement made to platform that you work on. The major thing which you feel after attending such conferences is that it gives you a clear idea on where you stand in terms of the technology of platform that you are working on.

The event held at Taj Krishna, Hyderabad was really a grand one which pulled in huge amount of people from different technical backgrounds. The event started off with the session from Ramesh Srinivasaraghavan, senior scientist @ Adobe about the future of Adobe Flash Platform which was a real inspiration for people like me. Also , the sessions on Flash Catalyst by Harish and about DCD in Flash Builder by Sujit was really rocking. Other sessions from people from Adobe and other community geeks was also interesting. Overall, the event was very informative for the community and an oppurtunity for networking.

It is true and I did feel that sessions become more interesting once the speaker start showing live demos. The audience love it and get more involved.
Looking forward to be there in such events next year.

Experience of first AFUG meeting

Well since this was the first time we managed to organize the meeting  for Ahmedabad Flash Platform Group here in Ahmedabad, I thought that I should my experience about it. As the manager of the group it was really a hard job to organize the event in such a short time but my motive was to do it any how since if we fall behind this time also, the plan of organizing the meet up would always remain on papers and will be never fulfilled. I strongly believe that it is a initiative that is required at the start to setup such meeting and then rest will fall in place automatically.

As the work culture is different here in Ahmedabad we had to settle to schedule the meeting on Sunday which of course sounds very tiresome..but we had to do it atleast for the first time.. but people did turn up. We had an audience of 20 members from the community even though I expected more but considering this to be the first time, the numbers were OK. The best part was that we all got to know each other pretty well.

We started off the meeting with a brief intorduction from me on User Group, its advantages and benefits to the community. Followed by an introductory session on Flex and RIA again by me. Then we all had a refreshment, with samosas and chai(tea). Then we did have session on introduction to FMS by Ritesh Newal. Finally we did announce the name of the  winners of the free certification vouchers from Adobe and also distribution of swag from Adobe to the members.

Overall we all had a great time together and also it gave me more ideas for the next meeting on October which is to be made more interesting with more advanced topics and planned well ahead so that there is no last minute confusion. We should be pretty good to pull in more crowd in the next event and in this meeting the members already have felt good vibes about the group, I hope they would already take initiatives and volunter for next user group meeting.
For pics of this meeting – http://tiny.cc/clVAM

Ahmedabad Flash Platform User Group

It is offical now, we are not just a Flex User Group we have widened our area of focus to the Flash Platform as a result this group will now on be called as Ahmedabad Flash Platform User Group. All this started when one of my colleagues started the discussion about a flash user group in Ahmedabad. I had a talk with Mr. John Koch and we came out with the decision that our group itself can be a group dedicated for Flash platform rather than only Flex. At the end of the day the decision was accepted and supported by all.

I believe this was the right way to move forward since Flash or Flex both are related to programming with Actioncript 3.0 with two different set of tools and ultimately to get the output in the form of  a SWF.

We already have many flash developers as members in the community and this step would clear the confusion among them and everybody who works on any flash platform will get  good vibes and should own this group. All these intiatives will also be reflected in the up coming group meeting where will have sessions on different topics on different technologies related to flash platform. So, flash developers in Ahmedabad who are yet to join the group because of the confusion, join in to the community as this is your community.