Archive for AS3

QR codes and Flash on the Beach

Flash on the Beach is just over and the final day had the most impressive (and the single most useful) presentations. The inspirational level this year has been great. The wonderfully beautiful creations by Eric Natzke or Robert Hodgin can take anyones breath away and the generally inspiring nature of Jonathan Harris’ works makes everyone want to do the same (if only we could get similar great ideas).

But Mario Klingemann’s presentation about reading QR codes in Flash was the most (technically) inspiring presentation in my opinion and I could immediately see a bunch of ways in which, I could use this for all different sorts of purposes - in real life advertising and not just for the fun of it. I really feel that I could join this project and make it into a complete library and so far I’ve written him a mail offering my help (and a minor possibility for optimization).

But credits also go to Grant Skinner, as his talk on important things to learn as a new web developer (in Flash in particular) gave me some good inspiration for my own job as head of development with developers of my own needing help and guidelines.

Self-”partially applying” JavaScript functions

Was: self-currying JavaScript functions

I read this nice post on self-currying JavaScript functions, and even though the code to me is not optimal (dispite the low line count), it is improperly named, and it depends on the Prototype JavaScript library (which I really don’t like), it is a very nice script and a very nice idea. The trick in this script is using Function.prototype.length. I didn’t know that this property existed, but after digging a bit I’ve realized, that it has been in ECMAScript at least since 3rd edition (which is the latest edition published in 1999), in JavaScript since v1.1, but only made it into ActionScript by ActionScript 3 (which I haven’t study in as much detail as I have with ActionScript 1 and 2 in relation to my book on basic programming in these versions).

In this post I discuss this property and functionality a bit further, and I implement this function for creating self-”partially applying” functions using both no framework, the MochiKit framework and the Prototype framework.

Read the rest of this entry »

Data Structures for Game Development in AS3

This library by polygonal.de looks really nice. I would most definitely be using this for future development.

Now introducing: Dexgames

With a colleague of mine, Morten Reinholdt, I have started to work on a new flash gaming website called Dexgames. Actually we started on the idea several months ago, but now we both have the time to do some more actual work on it.

The concept is very much inspired by many other gaming sites. The ones that I personally have frequented some times are:

Just to name a few.
Read the rest of this entry »

Adobe AIR Developer Derby!

Adobe has released a new version of Apollo AIR (yup, that is the new name along with quite a boring logo) and to promote it, they have also announced Adobe AIR Developer Derby – a competition to see who’s best at their new runtime.

The prizes are quite amazing and given the long duration of the development time (deadline is in September), anyone can create some pretty amazing applications. But one things puzzles me about the license, that they require applications to be released under: is attribution-requiring licenses accepted? And what about copyleft-licenses? The official rules are pretty clear on what the license must permit Adobe to use the content for (display, commercial use and derivative use), but does that mean, that if my application is released under say CC-BY-SA-2.5, is that accepted? And what if I include Wikipedia-texts in it (GFDL’ed) and some Flickr-images (under free licenses) will Adobe then be willing to credit me, the main 5 authors of every article from Wikipedia (which is what GFDL requires) as well as the creators of all the Flickr-images that require attribution?

I’ve sent a mail and hope for a positive response. I will keep this entry updated on the matter.

Benchmarking RIA’s

James Ward has created a nice little application for benchmarking Rich Internet Applications. And Flex sure is the winner, when it comes to separating content and layout. Serverside-generated table loading via AJAX is fast too, but that is not a very nice solution to many’s opinion. Thus, Flex clearly wins overall, and AJAX JSON comes in second place, if you cannot go the flash way.

Using ActionScript without MXML in FlashDevelop

Most people using ActionScript 3 uses MXML. I don’t like that very much, as Flex is a strange proprietary language, and ActionScript 3 is a regular, Java-like programming language. MXML is fast for setting up a GUI using standard components in a RIA and the like, but most of my projects will not use standard components, but will be simple scripting experiments or customly designed games and apps.
Read the rest of this entry »

The Beach is the best

Not Leo’s silly movie, but Flash on the Beach 2006.

I got many interesting contacts, talked to many interesting people and in particular told Branden Hall, that his ancient Flash 5 add-ons (including string.as) is still in use in some of our old Flash 5 projects still being updated.
Read the rest of this entry »

I’m going to Flash on the Beach

I won’t be the one Flashing though, but I’ll very much enjoy the many speakers at this years Flash on the Beach in Brighton early December 2006.
Read the rest of this entry »