I’ve had a list of changes and updates to apply to the JavaScript Image Cropper for quite a while now and I have been thinking of these in a lot more detail recently. There are lots of changes that I plan to make that would bring the cropper up to V2 level and ensure that it remains a viable cropping solution for the future.
Continue reading this entry »

Recently I was creating a set of in place editor custom components for our project at work and I noticed that when I placed them inside a FormItem that they didn’t line up with the label of the FormItem. I left it when I first noticed it as I didn’t have time to fix the issue but when I returned to it I had to do plenty of digging to figure out the problem.
Continue reading this entry »

A couple of weeks ago I was looking for some more examples of using the measure() method in one of my custom Flex components and I found this series of excellent tutorials of how to create a custom component by Peter Ent:

Continue reading this entry »

The FlexUnit Custom Test Runner is a customised FlexUnit test runner which aims to improve the presentation and ease of use of running FlexUnit tests.

I have used unit testing in a few different languages, so obviously when I started using Flex I wanted to start off on the right foot by using unit testing from the outset. However after a couple of days using the base runner which is provided with FlexUnit I found myself spending a lot more time than I thought I should just looking for the details of the problem in the flex runner.

So as usual I attempted to make something that would work a little better for my requirements, see the FlexUnit Custom Test Runner code page find the full details and the download. As usual any comments should be made on the code page.

I was just reading my RSS feeds (in the fabulous FeedDemon) and I followed a link to an Excel spreadsheet (on purpose).

I’ve not used IE (outside of FeedDemon that is) in so long that I forgot that with Microsoft Office documents it opens them within the “browser” for you. Yuck. I wasn’t expecting that, not at all - and it scared me, quite a lot. This kind of thing (and the slow loading speeds with this kind of thing) is the reason I don’t let Firefox load PDF’s inside itself.

Am I wrong? Sitting here looking at an Excel spreadsheet within FeedDemon you’ll have to forgive me for thinking that it’s all a bit scary.

Towards the end of last week I spent quite a lot of time working with customisations of the ComboBox in Flex 2 for work, and it was really beginning to bug me how when I typed to select an item, the selection was only ever the first item that matched the letter I was typing. Having had it become second nature, since it’s a feature of my browser of choice Firefox, that I can type the beginning of a word to jump to an option (e.g. "United K" to jump to "United Kingdom" in a list of countries) I now really missed it when using Flex.

I didn’t have time to look at a work around during work hours as it really isn’t a feature that is needed of our product, just something that annoyed me. So I decided that I would quickly knock a solution together at the weekend and then write up a short post of how it was done, in case other people wanted to find out how to do it.

However it didn’t quite work out that way.

After a few frustrating hours I managed to get a fully working solution which I thought I’d share. You can read on for the story behind the component, or you can head straight to the FoxyComboBox code page to view the results.
Continue reading this entry »

Code: MXML GeSHi Language File

2 comments, join the discussion.

While just writing my first post about Flex which required some code examples in MXML, I found that currently GeSHi (Generic Syntax Highlighter) doesn’t have a MXML language file, and I couldn’t find one when I did a few searches.

So using the XML language file as a base I quickly knocked one together.

Firstly, I know I've been very quiet recently, that's because a lot has happened recently - which I'll go into in more detail at another time. The upshot of these changes is I'm now working with Flex quite heavily (YAY!), hence the Flex Tip post.

So what do I mean about being careful with your names, well today I had the following:

MXML:
  1. <testHelper:FunctionalTestHelper id="testHelper" testSteps="{testSteps}" />

Which seems reasonable enough, however the compiler hated it, throwing me a 1202 error of "Access of undefined property testSteps in package testHelper.".
Continue reading this entry »

CFStatShot watching multiple Coldfusion servers
I'm releasing a Yahoo Widget that I created a long time ago and have been meaning to release for quite a while too.

The story all begins when I took over the Coldfusion platform support for, I started to find myself spending a bit of time watching cfstat on the servers to get a feel for the current status of the machines. As we had multiple servers (then 4, now 6) and only being able to get to cfstat directly on the machine, this was not really practicable.

What I really wanted was a little desktop application that could give me the headlines of cfstat for as many servers as we had, all in an easy to digest format, the result is the CFStatShot Yahoo Desktop Widget.

I know you, just like me, has looked for a cool throbber/loader graphic for your web application more than one. Go on admit it.

Well there is no need to search any more as I've found a site that lets you create one from many available styles: AjaxLoad.info. Fantastic!