nulldesign // lars gerckens

Upgrading to Flexbuilder 3.0.1 (or where are my charts?)

Today we upgraded our Flexbuilders to the newest version, the update didn’t come with the built in auto update of Flexbuilder, so I had to de- and reinstall it. Done that, opened one of my projects, continued working and realised that I couldn’t dig into the charting sources anymore (F3):

After quite a search and a clean install on a new PC, Jens noticed a small message in the status bar of the builder after entering the serial number: “Extracting chart sources”. The rest was easy:

  1. Quit Flexbuilder or Eclipse
  2. Delete your serial information (Look for a file called ‘license.properties’ in the Flex installation directory (C:\ProgramData\Adobe\Flex\license.properties on Vista, /Library/Application\ Support/Adobe/Flex/license.properties on OSX))
  3. Launch Flexbuilder, re-enter your serial
  4. Done, the chart sources are available again.

Maybe this becomes useful for some of you …

5 comments | Posted in Flex

ND3D engine goes google.code

Good news everyone! I packed everything together, cleaned up a bit and created a google.code project for my 3D engine. Since it became popular under the name ‘nulldesign’s 3d engine’ I call it ND3D from now on ;). I will post additional infos, more examples and future developments here in my blog and on the project page. So long…

6 comments | Posted in 3D, Actionscript, Experiments, Flash 9, Source

3d engine website

I just got a mail from Mr.Doob, he made a 3d line clock for the D///FEST 2008 website with my 3d engine. You can download the sources on the website:

Btw.: I’m planning to put the engine up to google code and continue working on it. It will stay lightweight, small and simple!

2 comments | Posted in 3D, Source, Talk

Create better beings

It’s so much fun to play around with Spore’s creature editor. You can create almost every creature you can think of. This is my flying ostrichsnake. Over a 1.000.000 creatures have been uploaded to Sporepedia until now. I wonder what will happen when the full game will be released, can’t wait to see that…

Add comment | Posted in Talk

Flex: Adding a tooltip to truncated Datagrid columns

I just found a nice way to automatically truncate text in datagrid columns and show tooltips for truncated elements, that I wanted to share:

package
{
	import mx.controls.dataGridClasses.DataGridItemRenderer;
 
	public class TruncateToolTipRenderer extends DataGridItemRenderer
	{
		private var textTruncated:Boolean = false;
		private var originalText:String;
 
		public function TruncateDataGridItemRenderer()
		{
			super();
		}
 
		override public function set text(value:String):void
		{
			super.text = value;
			originalText = value;
			textTruncated = truncateToFit();
		}
 
		override public function validateProperties():void
		{
			super.validateProperties();
			toolTip = textTruncated ? originalText : null;
		}
	}
}

Just set the itemRenderer property of your column to the new TruncateToolTipRenderer. Neat!

Update: … and it’s a lot easier if you just set the itemRenderer to mx.controls.Label, because a Label already has truncate and tooltip functionality. As so often in Flex, everything is built in. Lesson learned!

3 comments | Posted in Actionscript, Flex

Beautiful 3D flash site

Just found this amazing site: The Eco Zoo. Really nice texturing and absolutely fluid animations. I haven’t seen any depths sorting problems, very impressive. I wonder if it’s Papervision or Away3D ;)

9 comments | Posted in Talk

SimpleTimer updated

I updated the SimpleTimer installer to the final AIR 1.0 release. You should be able to install it again ;)
Note to myself: I need time for updates and features ….

1 comment | Posted in AIR

3D Engine Sources + Examples

About some time ago I started to code my own 3D engine in flash. Derived from a small AS2 project, I challenged myself to built my own flash 3D engine. So I took out my good old Actionscript Animation Book and opened the 3D chapter. Very soon I could move a cube around. A few pages later I learned how to implement simple dynamic lighting. The next challenge was to get texture mapping to work. Since flash still can’t distort images, you need a workaround. After I found these great examples: Seb Lee-Delisle’s flash texture maps and Andre Michelle’s texture examples it was done. Somewhere inbetween I switched to AS3, which was quickly done. Meanwhile Papervision3D became very popular and I thought it didn’t make sense to continue evolving my engine. But since I came so far, I needed to find out how to implement a few effects like depth of field or additive rendering ;)

My engine shouldn’t and doesn’t compete with Papervision3D or Sandy3D, nor it has a very user-friendly API, no stunning effects or animation support, but I learned a lot while building it, understanding 3D to 2D rendering, optimizing the code for a few ms of extra speed (AS3 rocks!) or challenge problems with 3D rotations like gimbal lock and their solutions: quaternions. It’s just another 3D flash engine, at least I can say: I made it! ;)

It’s undocumented, there’s still a lot of work to do and it doesn’t have a cool name , but if you want to play around with it or just take a look how I set up this and that, feel free to download the sources (yes, the 3D ribbon example is included). And I’m always interested in what you think about it, so drop a comment or mail.

21 comments | Posted in 3D, Actionscript, Experiments, Flash 9, Source

AIR + SHU = good?

I just stumbled over SHU, a new wrapper for AIR applications. You can turn your AIR app into a standalone excecutable (at least 5mb) that is able to launch other applications. Sounds interesting, but is the SHU Player able to upgrade to a new AIR version? Can I still make use of the auto update feature if everything is packed into one big standalone package? We’ll see… at the moment it sounds like a better Zinc, maybe the next AIR release will satisfy our needs ;)

2 comments | Posted in AIR

Flex User Group Hamburg

Had a nice evening last friday at the flexughh. Cliff Hall, the mastermind of PureMVC talked about his baby. It was very interesting to hear thoughts and visions about the framework directly from the maker. You can get the slides and codesamples of the presentation here. And if you want to join the flexughh, just do it. (it’s free ;))

Add comment | Posted in Talk

Digital Dementia

A friend of mine just released his first album. It’s eletronic music and it’s free ;)
So if you like artists like Apparat or Modeselektor you will definitively like this one: Klabusta – Digital Dementia

2 comments | Posted in Talk

Saludos de Costa Rica y Panama

Back from our trip through central america I set up a photo gallery, enjoy: Costa Rica & Panama, Pura Vida!

3 comments | Posted in Talk

Launch applications from AIR

One of the features that are missing in AIR, is the possibility to launch native applications. Mike Chambers now published a proof of concept how to enable this feature. He wrote a CommandProxy that is able to launch applications. The drawback is, that you have to launch the Proxy before you can launch other applications and this can only be done by the user at the moment. There is a discussion about it going on, let’s see how it will evolve…

Add comment | Posted in AIR

War of the fireflies

Derived from one of my older experiments: Three different populations of fireflies are fighting for their survival. If a firefly encounters an enemy fly, it tries to convert it to their tribe. The converted fly looses lifepoints and eventually dies during conversion. For the “collision logic”, I used a slightly modified version of Grant Skinners AS3 Proximitymanager. You can download the source and play around with it here (but don’t expect beautiful code ;)).


(Space = fullscreen, as usual)

6 comments | Posted in Experiments, Flash 9, Particles, Simulations, Source

Box2D Physics Tests

Just a quick test with the AS3 port of the Box2D Physics Engine … it’s quite fun to play with, I could toss around boxes for hours ;)

Launch Box2D Test!
(Press space to toggle fullscreen)

2 comments | Posted in Experiments, Flash 9, Simulations

« Previous Entries    Next Entries »

About

  • nulldesign is the company and showcase site of freelance developer Lars Gerckens who is based in Hamburg, Germany. I'm available for freelance work with focus on Flex, Flash and AIR development. I like to create dynamic user interfaces, cutting edge web experiences and innovative ways to visualize data.

    This site showcases some of my personal work and projects as well as an selection of commercial projects.

    If you are interested in my work or you have any questions, don't hesitate to drop me a line:

  • Profiles: Xing | Linkedin
  • Mail: lars [at] nulldesign [dot] de

Categories

Search