Thursday, February 26, 2009


I learned today that the ADDED_TO_STAGE event constant was not added until flash player 

This can typically cause the error TypeError: Error #2007: Parameter type must be non-null. at for people with flash player 9 prior to 9.0.28, for instance flash player 9.0.16. (Yes, I have added the versions to help google find this post.)

I hope this post can help someone find the problem :-)

Wednesday, February 25, 2009

A fundraiser for the Church of Sweden

The last few weeks I have been working on a site for a fundraising campaign by the Swedish Church. The theme of the campaign is water. You can create your own fund, invite you friends to help you fill the buckets with water, and all funds are part of the big campaign fund.

The main challange of the production was making the payment methods run smoothly. Contributions can be made in to ways: using credit cards and direct bank payments through PayEx, or they can be made by sms. The PayEx system transaction requires the visitor to leave the campaign site, enter their credentials at the PayEx site, and then return to the campaign site. Data persistance and maintaing state is obviously an issue that needs to be handled throughout the transaction. I think we came up with a pretty good solution.

I also created an AS3 package with a complete set of classes for using PayEx, I will post that on the web somewere if someone is interested. (PayEx only supplies java, .net and php versions.)

Thursday, February 19, 2009

Unpacking my Moleskine Helvetica

So, I like limited editions, typography and Moleskines. I could of course not resist the limited edition Helvetica Moleskine :-) I only wish the pages were not ruled but blank... More unpacking pictures can be found here: