Archive for December, 2005

Flash: Samorost 2

Wednesday, December 21st, 2005 by Carsten Schneider

Samorost 2

Readymech Papercraft

Tuesday, December 20th, 2005 by Carsten Schneider

Readymech Papercraft

Via Wonderland

The Wonder Years

Friday, December 16th, 2005 by Luis

A few months ago I found some pictures of my early wonder years as skateboarder then I decide to start a collection of classic decks, just to look at the skull in the Powell’s logo brings me amazing memories…

powell

So far this is what I found:

Buttons

Thursday, December 15th, 2005 by Carsten Schneider

Buttons. More Buttons.

We Love T-Shirts

Thursday, December 15th, 2005 by Carsten Schneider

“Note: Katamari shirts only available to USA, Canada, Japan & Korea.”

Darn.

Flash: SharedObject strange behavior

Wednesday, December 14th, 2005 by Luis

It seems that if you add or change an element of an array which has been stored in a SharedObject, this changes are saved automatically if you don't destroy the shared object before this changes are done.

Assuming that the shared object is locally persistent it makes some sort of sense, but only happens with arrays.

Must be a simple and logical explanation for this (I couln't find any documentation about it and I have my doubts considering this as a bug):

Actionscript:
  1. var items_array:Array = new Array(1, 2, 3);
  2. var currentUserIsAdmin:Boolean = true;
  3. var currentUserName:String = "Ramona";
  4.  
  5. var my_so:SharedObject = SharedObject.getLocal("superfoo");
  6. my_so.data.itemNumbers = items_array;
  7. my_so.data.adminPrivileges = currentUserIsAdmin;
  8. my_so.data.userName = currentUserName;
  9. my_so.flush();
  10.  
  11. items_array.push(9);
  12. items_array[0] = 100;
  13. currentUserName = "Ramones";
  14. currentUserIsAdmin = false;
  15.  
  16. for (var prop in my_so.data) {
  17.     trace(prop+": "+my_so.data[prop]);
  18. }
  19. //-------- trace----------
  20. //userName: Ramona
  21. //adminPrivileges: true
  22. //itemNumbers: 100,2,3,9


Exhibition: On the 7th Day

Tuesday, December 13th, 2005 by Carsten Schneider

Soho, this Thursday 14.12.2005, 18:00h, 37a Neal Street, Seven Dials, WC2

Featuring Ron Jonzo aka Jonny Fu.

Animation: The Supamonks

Tuesday, December 13th, 2005 by Carsten Schneider

The Supamonks, CGI animation, Quicktime.

Design: Hydro Seventy Four

Tuesday, December 6th, 2005 by Carsten Schneider

Great portfolio from Joshua Michael Smith: Hydro Seventy Four

Gig: Blame it on Berlin

Tuesday, December 6th, 2005 by Carsten Schneider

With Bua at the decks:

Friday 9th, Catch 22.

Last Christmas

Friday, December 2nd, 2005 by Carsten Schneider

To be seen to be believed. Not safe for work.

Firefox 1.5 + JavaScript: onload and the new onpageshow event

Friday, December 2nd, 2005 by Thomas

The new "Back-Forward Cache" feature shipping with Firefox 1.5 might cause problems for pages dependant on the onload event.

Luckily this is well documented: Using Firefox 1.5 caching.

Basically you have to use the new event onpageshow on top of onload, as IE and earlier Firefox releases don't fire onpageshow events. When loading a page "normally" (not-cached), both events are fired, onload first, onpageshow second.

A usefull feature, but I do think it will cause problems on some pages or at least parts of them, especially when HTML, Javascript and Flash are tied in together closely. In my case a Flash movie needed to be notified of the page-load, which it wasn't anymore...