Saturday, April 30, 2011
"What is new in FlashBuilder 4.5" session at 360Flex video
Sunday, April 24, 2011
FlashBuilder Tips and Tricks slides
In the end there are few more slides which I didn't show as they are already available in MAX 2010 and MAX 2009 videos.
There is also an article which contains most of the information presented but not all !
Wednesday, April 13, 2011
Use QuickAssist in FlashBuilder 4.5 to create labelFunction,iconFunction,dataFunction etc..
Steps :
1. Go to the component tag and use content assist to enter the *Function attribute.
Ex: <s:List labelFunction=""
2. Type the function name.
Ex: <s:List labelFunction="myLabelFunc"
3. With the cursor still between the quotes hit Ctrl+1 (or Cmd+1 on Mac).
4. You should something similar to the following
5. Select it and hit enter. FB should create the function with proper signature and go into linked mode.
For adventurous developers:
If you find the "Create function ..." option missing any particular Function property for any component you can edit the componentDescriptor.xml file (which can be found under the Adobe Flash Builder 4.5\eclipse\plugins\com.adobe.flexbuilder.mxml.editor_4.5.0.xxxxx directory) and add the entry yourself and fix it !
Caution : Save the original xml file in case you end up spoiling it.
How to use code templates to enter keywords without mistakes ?
${keyword:values(public, protected, private, function, implements, var, try, catch, class, interface, package)} ${cursor}
Now where ever I need to enter a keyword I just need to type "kw" and hit Ctrl+Space to get a popup showing all the keywords. (Note: Modify the list of keywords to suit your need)