Currently Reading

Image of Derivatives Demystified: A Step-by-Step Guide to Forwards, Futures, Swaps and Options (The Wiley Finance Series)

Image of Working Effectively with Legacy Code (Robert C Martin)

Image of Coders at Work: Reflections on the Craft of Programming

Image of Succeeding with Agile: Software Development Using Scrum (Addison-Wesley Signature)

Image of iPhone UK: The Missing Manual

Image of My Shit Life So Far

Recently Read

Image of Cloud Atlas

Image of The Secrets of Consulting: A Guide to Giving and Getting Advice Successfully

Image of iPhone Advanced Projects (Books for Professionals by Professionals)

Image of Advanced Actionscript 3 with Design Patterns

Image of Clean Code: A Handbook of Agile Software Craftsmanship (Robert C. Martin)

Image of Beginning iPhone 3 Development: Exploring the iPhone SDK

Image of Test Driven Development (The Addison-Wesley Signature Series)

Image of Test Driven: TDD and Acceptance TDD for Java Developers

Image of UML 2 for Dummies

Image of ActionScript 3.0 Design Patterns: Object Oriented Programming Techniques (Adobe Developer Library)


August 19, 2009

Getting snippets to work with FlashBuilder Beta

Filed under: Flex — Anthony @ 10:40 am

Just a quick note here. I use the excellent snippet plugin from Lee Brimlow over at the theFlashBlog so that i don't have to put up with all the cfeclipse icons across the top of my toolbar. But I recently installed a beta version of FlashBuilder and found that when i installed the plugin it would no longer work. After much searching i found the solution for me was to go into the plugin folder and open the META-INF/MANIFEST.MF file and remove the following two lines from the bottom of the file.

org.eclipse.jface.text;bundle-version="3.4.1",
com.adobe.flexbuilder.editors.common;bundle-version="3.0.214193"

This re-enabled the plugin for me. Great!

Another little tip with working with snippets and workspaces:
when switching workspaces you lose all your snippets as they are kept in the workspaces .metadata/.plugins/org.cfeclipse.cfml/snippets
this folder is recreated for each new workspace you create. So what i do is keep a global snippets folder in my main workspace and simply replace the snippets folder in my other workspaces with a simlink to the main one. That way when ever i add a new snippet it is shared across all my workspaces.

just a little side note:: if you don't know how to show hidden files in mac osx. type the following into the terminal and then restart finder.

defaults write com.apple.Finder AppleShowAllFIles TRUE

To turn it off set it to false. You also need to restart Finder for it to take effect.
Also if you don't know how to create the simlink you simple go into the terminal, navigate to your workspace then .metadata>.plugins>org.cfeclipse.cfml delete the snippets folder that is in there and then type
ln -s PATH TO YOUR WORKSPACE WHERE YOU KEEP YOUR MAIN SNIPPET FOLDER/snippets Snippets

This should then put a simlink inside your workspace and you can then share your snippets across all your workspaces instead of having to copy them into each.

August 18, 2009

IMXMLObject for non visual components

Filed under: Flex — Anthony @ 11:34 am

I have been using Flex for a couple of years now and i still find new and interesting framework items. In comes IMXMLObject. Up until recently whenever i wanted to place a non visual component into mxml i was extending UIComponent to allow me to place these items in MXML, however among other things this meant that they would be included in the layout and come with a high footprint.
The solution seems to be to implement the IMXMLObject interface this will allow you to place non visual components into your mxml code without having to worry about layout or an unnecessary memory footprint.

usefull links
livedocs
smashedapples
techper