Alternative Combobox for Flex

On September 28, 2009, Components, Flex - 3 Comments

The default flex combobox has keyboard navigation support, but it’s not how you’d expect keyboard support to be. For instance, if you have a list with the following items: ‘aa’, ‘ab’, ‘ba’, and you first press ‘a’, and then ‘b’, a windows combobox would select ‘ab’, whereas the flex combobox selects ‘ba’. This is because the flex combobox only checks the first letter of a list item and handles every keypress as a separate action.
The alternative combobox handles like a windows combobox and selects ‘ab’. Feel free to download and use it in your projects.

Example:

Get Adobe Flash player

Download: ComboBox.as

A real native Alert for Flex / Air

On May 3, 2009, Air, Components, Flex - 3 Comments

When you’re working on an Air project in Flex, and you want an alert to popup, you have a problem. Air doesn’t come with an ‘aired’ version of the Flex Alert. The flex Alert is fine, as long as you work with a single windowed application. As soon as you have more than one window, the Alert of Flex becomes more or less useless. Since you’ve got more than 1 window, Flex doesn’t know which window to make the parent window, so a model alert isn’t possible anymore.
I’ve taken the code from the mx.Alert and rewritten it to an AirAlert. It works exactly as the normal alert, only now it creates a window instead of a Panel / Titlewindow.

Usage: AirAlert.show(‘Test Alert!’, ‘Test Alert!’);
(The same as a normal alert :-P )

Notice: I didn’t copy the Alert.YES / Alert.NO stuff, so you have to use those from the Alert class.
Notice2: You’ll find no license or whatsoever, just use it as you like.

Download / View the source

Update Time! Next Up: ASDebugger 2.2

On , Flash, Flex - No Comments

I’ve updated the ASDebugger. Not much news here, I only implemented an updated (less buggy) version of the FlpTree. You can download the debugger on the project page.

Update time! Starting with: FlpTree 1.3.0

On , Components, Flex - 5 Comments

I’ve been awful quiet on my blog lately, time to do something about it :P .
First off, I’m releasing version 1.3.0 of my tree component.
I’ve added a filterfunction, which behaves just like a normal filterfunction, but works recursively.
I’ve also fixed some minor bugs, some events weren’t dispatched correctly.
And last but not least, I’ve made the displayobjects in the defaultrenderer protected instead of private, so you can access them more easily when extending the defaultrenderer.

You can download the new swc from the project page, which is here. Also, a link to the docs and an example can be found on the project page

Now available: FlpTree 1.2.2

On December 14, 2008, Components, Flex - No Comments

Just fixed the drag & drop bug. It’s now possible to drop between nodes again.

You can download the new swc from the project page, which is here. Also, a link to the docs and an example can be found on the project page

AIR + Chuck Norris = Chuck Norris Facts Desktop app

On October 7, 2008, Air, Flash - 8 Comments

Today, I fiddled a bit with Adobe AIR (Adobe Integrated Runtime) in Flash CS3, and look here, I’ve created the best application ever! (Every application featuring Chuck Norris is the best application ever).

It serves random facts and roundhouse kicks you in the face! Check it out:

Get Adobe Flash player

3D Text with Away3d, pt.2

On , Components, Flash, Flex - 5 Comments

I’ve updated my 3d text component a bit, performance should now be a bit better. Furthermore, you can now choose any font you’ve installed on your system (just to prove that they are real fonts). See it in action:

Ow and by the way: right click to see the source and find out how it’s done.

The source seems to be fucked up, here’s the relevant code: http://experiments.flexperiments.nl/3dtext2/srcview/source/experiments/flexperiments/text3d/Text3dFXApp.as.html

Check out this amazing Away3D demo!

On September 29, 2008, Flash, Flex - 1 Comment

Fabrice, our mad french scientist @ TFE just released this fabulous demo of their 3D engine. Way to go, Fab-man!

Check it out here: http://www.closier.nl/blog/?p=77

Now Available: ASDebugger 2.1

On , Components, Flash, Flex - 4 Comments

I’ve just released ASDebugger version 2.1. Some minor bugs are fixed, like:

  • You can now edit any movieclip from the displaylist, not just the deepest ones
  • Copy all to clipboard now works as expected
  • Scrolling a numeric stepper only scrolls the stepper, not the tree
  • It’s now possible to close root nodes
  • The console scrolls with the content

And some features are added:

  • Copy an object as JSON string (only works for simple / small objects)
  • Re-added legacy support for our old (in-house) TFEDebugger

For this update you need to update both the SWC and the SWF / EXE file! But there’s backwards compatibility both ways.

And it’s available at the project page, now.

Now available: FlpTree 1.2.0

On September 16, 2008, Components, Flex - 2 Comments

Formerly known as the IKTree, FlpTree has an updated version. This new version has several bug fixes and the overall performance is improved. Changes since the last version include:

  • FindNode(s) works now properly;
  • Selection and multiselect now works
  • Performance tweaks
  • Other bugs which I forgot about
  • Added open on hover more…