Some time ago now I decided as a self improvement mechanism to re-write one of the Flex components from scratch so that I could get my head around the Flex Component Framework. So I set my eyes on the ColorPicker Brave or stupid you decide as this was going to be one of my first components ever, I should have probably started somewhere a bit smaller.. But hey.. It works and I learnt a hell of a lot. and now it's time to share.
I have recently been building a predictive Search engine for a project for Canon to be released at this years Drupa in Germany. I cant release the code just yet but i will as soon as the project has gone live.
You can see it in action here you can search the ( very small ) archives of posts by typing in the search area. The predictive search is performed on the Titles of the Posts whereas if you press return or click search a full search is performed on both the titles and their content. Try it out 'Predictive' is a good place to start!.
I have recently seen some interesting posts regarding the topic of Static code blocks especially over at InsideRIA I posted my own two cents over there but I will also post it here for future reference:
I often use static variables for creating default styles for my components, these styles then can be overwritten by someone using the component however there will always be my initial stying applied if they arent overwritten.
- /***** DEFAULT STYLE DECLARATIONS GO BELOW ***/
- private static var STYLES : Boolean = defaultStyles( );
- private static function defaultStyles( ) : Boolean
- //NO CSS DECLARATIONS
- var newStyle : CSSStyleDeclaration = new CSSStyleDeclaration( );
- if( !StyleManager.getStyleDeclaration( 'yOffSet' ) )
- newStyle.setStyle( 'yOffSet', 30 );
- return true;
I have recently taken a new job as a Flex Developer at LBi in London so i have decided to throw away the old BetaDesigns blog and start a fresh. I have been at LBi for nearly a month and a half now and i am really enjoying it, I have already had the opportunity to work with some big companies building Components and full Applications. As some of you may or may not know I am a big fan of component driven development so I am going to be using this blog to post open source components that i build along the way. Hopefully some of my post and components will be of some use to someone.