Monday, August 20, 2007
Colin Moock's guide to Flash for Flex programmers
I guess that other newcomers to Flash will probably have the same frustrating time as I did trying to figure out how (and when) the AVM2 dispatches mouse, focus and keyboard events, how to refer to the instance's properties of a symbol created with Flash CS3 using the Flex Component Kit for Flash CS3, and how to write programmatic skins etc...
So I thought a guide to Flash for Flex programmers was needed and I even though about writing one. That is until I read Colin Moock's recently published Essential AS3 book. Section 2 is the essential "missing manual" on the AVM for Flex developers who don't come from a Flash background and Chapter 29 is the perfect introduction to the Flash IDE for Flex programmers.
One day there might be a book on the Flex class library of the same thoroughness and quality.
Sunday, August 05, 2007
Flex's DateTimeAxis renders in GMT by default!
The fun really starts when you render a collection of Date objects using Flex Charting. Despite the fact that the Date class's toString() method renders UTC times in "clock-on-the-wall" format by default, the mx.charts.DateTimeAxis class renders Date objects in a line series in UTC by default. Thankfully the DateTimeAxis class has a property called displayLocalTime that you can set to "true" to get the Date objects rendered in "clock-on-the-wall" format but it's not the default.
Thursday, August 02, 2007
Flex jobs at betfair.com in London, England
We're looking for talented developers who have experience of developing service-oriented smart clients in a team environment, ideally with first-hand experience of Adobe Flex2 and Cairngorm but strong candidates with experience of Java Swing and/or Windows Forms.NET will also be considered.
Launched in 2000, betfair.com is the world's leading online betting exchange with customers more than 35 countries. betfair.com provides a similar service for online betting that a "derivatives exchange" offers for the financial markets, just at a much bigger scale (over 1 billion trades were processed on the exchange last year). betfair.com is a profitable company with annual revenues exceeding GBP 140 million (USD 280m).
If you're interested in applying for one of these positions please send your resume to me at graeme dot harker at betfair dot com.
Wednesday, June 27, 2007
Happy Brithday Flex 2
Thursday, May 31, 2007
Does Flex need an fconsole (like Java's jconsole)?
Java's addressed this with its JMX framework and the super-cool free jconsole tool that comes with the JDK that charts thread and memory utilization.
Grant Skinner's been writing some cool stuff on the Player's memory management system. This presentation is a must for anyone developing enterprise Flex applications).
How long it will be before people will be asking if Flash Player needs an fconsole?
Thursday, April 05, 2007
Did Mark get the idea for Flex from his parrot?
Sunday, March 04, 2007
The Flex compiler doesn't spot name conflicts
Saturday, March 03, 2007
Is Flex's valueCommit dispatched at the right time?
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="white" backgroundImage="">
<mx:Script>
<![CDATA[
private function onChange() : void
{
trace( this.textInput.text ) ;
}
private function onValueCommit() : void
{
trace( "onValueCommit()" ) ;
}
]]>
</mx:Script>
<mx:Label text="{this.textInput.text}" />
<mx:TextInput id="textInput" change="this.onChange()" valueCommit="this.onValueCommit()" />
<mx:TextInput />
</mx:Application>
Sunday, November 26, 2006
Are you still using trace() in Flex 2.0 ?
Unfortunately, with the exception of the Flex v2.0 Data Services components, I've found that the Flash v9.0 framework runtime itself and the Flex v2.0 components don't log what they're doing and don't use the ILogger interface.
Debugging complex applications with lots of dynamically created nested MXML components would be a lot easier if the framework runtime did an :ILogger.debug("instantiating component") when components were newed, and did an :ILogger.debug("dispatching preinitialize/initialize/creationComplete event") when "lifecycle" events are dispatched on components and logged when the lifecycle methods (createChildren(), commitProperties(), measure(), layoutChrome() and updateDisplayList()) are called by the framework run-time.
Additionally debugging complex data binding would be a lot easier if
Figuring out the sequence of things is proving to be one of the hardest challenges of developing big applications in Flex 2.0.
Monday, October 16, 2006
Why don't more developers use Flex?
The importance of a good developer network
Adobe's Enterprise Developer Network is fine if you're using LiveCycle but not much good for anything else. If you're building a proof of concept in a corporation your Adobe Flex Builder 30-day trial runs out before you're done building the PoC, never mind selling the concept to the management.
Adobe distributes code for a bunch of kick-ass sample Flex applications to its world-wide sales teams but this code's not available to the community. Sort it out guys. Developers need kick-ass demos to convince internal budget holders to adopt Flex.
What is a development manager's biggest concern about adopting Flash?
Adobe need to realize the importance of getting the ubiquity of the Player message across to developers. If I had to name one "message" that I have found the most effective at getting Flash taken seriously as a development target for the presentation tier, it is the ubiquity of the Player. Adobe has a blind spot here as "designers" in the web industry know about this already BUT DEVELOPERS DON'T KNOW THAT THE PLAYER IS INSTALLED ON 98% OF DESKTOPS. Adobe needs to get this message across more effectively to developers. I give the ubiquity results pride of place in every proposal I make for the adoption of Flash as a platform for enterprise applications.
The importance of selling Flex to the Java community
The importance of leveraging potential industry alliances
There's also a potential mutual co-operation opportunity for Adobe with big technology providers who have a vested interest in seeing Java continue its success. IBM, Sun, BEA spring immediately to mind. Adobe needs to sell those corporations on how Flex can help defend their market share in the new "rich" world. "Is there life after JSPs?" (There's a good title for a billboard.)
The importance of not giving up on
Internationalization
I agree with many of the comments in reply to Matt's original post about the need to make the Flex community appear to be more international. I was pleasently surprised that many of the visitors to my Flex.NET blog were based in