May 26th, 2009 — 3:35pm
I have recently become a fan of Google’s very simple JavaScript API. The sole purpose of this project is to avoid all of us including common libraries like SWFObject or jQuery in every project we create and instead load it from a central (updated) repository. I have since used this in many projects.
However, who decides which libraries to include and how common should a library be, before Google will include it? Personally I believe they should add SWFAddress to the list of supported libraries as well.
Continue reading »
Comment » | API, Flash Platform, JavaScript
May 21st, 2009 — 8:03pm
For-each-in is quite a secret looping method in ActionScript. It was added in ActionScript 3 in Flash Player 9 (actually in the 8.5 release). It has existed in other languages like PHP for quite some time, and Java has a similar iteration method added in recent years. It is ideal for looping over arrays of similar-typed elements, as it loops over values, not keys.
Continue reading »
2 comments » | AS3
May 19th, 2009 — 1:11pm
I’ve been using tweens a lot recently – for example while developing the small campaign site for the new Peugeot 206+ and Peugeot Blue Drive campaign (in Danish). I used GTween and GTweenTimeline to a great extent to really make it easy for me to implement and update.
Continue reading »
Comment » | AS3, Konstellation
May 11th, 2009 — 4:02pm
After having worked at Shockwaved, TBWA\PLAY and TBWA\Denmark through 7 years (same company, different name), I finally grew the nuts to find a new job. Actually the new job found me, as it was a bunch of former colleagues at Konstellation, who had started up 2-3 years ago and now have grown into an interesting company. I started here May 1st, 2009. They even blogged me (in Danish).
Continue reading »
1 comment » | Flash Platform, Konstellation
May 6th, 2009 — 2:44pm
This feature does currently not work – see list of updates below
ShareThis is a great service for adding shareability to your website in a very simple way. It even includes the “tip a friend” option, so you don’t need to code that for your own site. I will describe how to embed it from flash.
Note 2009/05/19: Due to changes in the ShareThis API popup-functionality is broken currently (both in my example and in some of my live projects). I have filed a bug with ShareThis to fix this ASAP.
Note 2009/05/21: ShareThis have now fixed the above bug but there is still a minor JavaScript error thrown. The popup works now though as it should from both JS and Flash.
Note 2009/06/08: ShareThis now broke it again. And this time their support staff doesn’t answer. Please see an example implemented with AddThis instead.
Note 2009/06/19: ShareThis finally fixed it again. They wrote a mail on the 17th to me stating the bug was reintroduced when they implemented CDN, but would be fixed in the next release. Let’s hope it stays that way.
Note 2009/08/14: ShareThis has recently implemented a brand new version of their service – and surprise: it is not backwards compatible. Thus my popup example is broken again. I will investigate and fix soon.
Note 2009/08/17: ShareThis has promised to deliver a flash API within a few weeks. Let’s see what happens then…
Continue reading »
13 comments » | API, AS2, AS3, HTML, JavaScript