r o b l o g

GridGallery

The GridGallery is Sydney’s first public and media-based gallery space dedicated solely to the exhibition of digital art. I submitted a piece for the “sound” brief and successfully passed the judging panel. My work then wen on dispay in August 2010.

I created the graphics from flash and then screen captured the animation. I then added a little bit of blur and saturtion in after effects to produce the final composition. The format was really tricky to work with, a height of 32 pixels meant that I could never put enough vertical detail. The screen was also a bit average. It was amost impossible to view in daylight and at nigh there is a strange blue halo along the top and bottom of the scren.
It was an interesting experiment and I’d like to make another submission in the future.

Submission images:
gg_sound_01.jpg
gg_sound_02.jpg
gg_sound_03.jpg
gg_sound_04.jpg
gg_sound_05.jpg
gg_sound_06.jpg

My site was hacked

Those sneaky Russians have had a go at my site! It has effected paycalculator.com.au, blog.robshearing.com and robshearing.com The hack was twofold, extra script was added to one of the copies of swfobject.js and also script was added on the footer template on blog.robshearing.com I have asked google to review the site and hopefully I’ll be taken off the blacklist. Sincere apologies if my site has cause any transmission of malware.

Paycalculator updated for 2010-2011

I have just finished updating paycalculator to include the tax details for 2010 - 2011. Changes are very minor this year including to small adjustment to the tax brackets and increments to the HECS/HELP and SFSS repayments. I also added a calculation for the Low Income Tax Offset. I have updated all the previous tax years to now include this offset.

This continues to gain traction and receives about 400 hits per day with an all time peak of 744 1407.

1 comment

Updated Earth Sampler

I just updated one of my favorite flash experiments - Earth Sampler. It was written in as2 and is based on a hand coded google map API. Essentially it replicates the quadtree tile referencing to create urls to specific image tiles, eg http://khm1.google.com.au/kh/v=55&t=trttqrttsqrstttrt there t is the quadtree tile reference. This implementation finds random strips of 4 contiguous tiles from a subset of 30 predefind zones. I had to restict it as I kept on getting ocean or low quality tiles. The effect is a composition of striking snapshots of the planet.

The update was because google keep on changing their tile reference and I don’t know when it will change again. I do however want to update the script to use either their official flash API or their staticmap api

Take a look, it’s at the bottom of the list.

Flash Player Archive

This is for future reference…

Flash Players
Adobe has made the archived Flash Players available for download at the request of the Flash developer community. Adobe Technical Support does not provide support for the installation or use of the earlier versions. Refer to the readme.txt in each zipped file below for the description of files provided and platforms supported.
Archived Flash Players available for testing purposes

Release Notes
Read the Flash Player release notes for a full list of Windows and Macintosh issues that are still outstanding.
Adobe Flash Player Release Notes

Twitter API wrapper for AS3

I spent an afternoon trying to get my hands on a decent twitter API wrapper for as3. I tried the swx twitter api which is a great idea (bit concerned at how he will maintain and scale this solution) except I ran into a 40kb AMF error for large api returns for which I couldn’t find a solution. I then moved over to the Tweetr API. This has a nice api with some useful demos to help get started, but I found it’s downfall is the proxy which has too many dependencies ( .htaccess / ModRewrite, curl and php5+) for my server.

I then found Twitterscript. The lack of documentation was a bit off-putting, however with a bit of googling I found a simple demo to get me rolling, and more importantly a simple workaround to the proxy issue.

Hope this helps - if anyone is out there.

Thoughts on twitter

I first came across twitter a while ago, but I have only recently started using it on a regular basis. In recent months it has suddenly exploded in popularity and this has prompted me to make more of an effort to understand it. Watching the recent TED speech by it’s founder certainly contributer to my curiosity.

It seems that, the original idea was for it to be used to let groups of friends and colleagues know what each other is up to using status updates. I couldn’t really see the benefit of this and quickly passed it off as nonsense. But it has matured from that point where it is now a fascinating informal communication channel. By following friends and people I’m interested in, I have found a lot of interesting links and opinions, passively by scanning through the feeds.

People’s opinions of twitter seem polarized - I don’t think the silly name helps. I also find the open nature of the system promotes a casual dialog to interesting/famous people who would otherwise be distant and unapproachable.

1 comment

Gaia framework

I’m always open to new approaches to the flash workflow. The worst aspect of a flash build is the tedious nature of stage layout, page build animation and asset loading. So to speed up a website build, I recently used the Gaia framework to help build a website. The Gaia framework is not only a package of classes to handle page and asset loading, but some rather lovely JSFL files that automate the creation of all the template files of a website. After defining a page structure in an xml file you hit a button and an entire folder structure, class package, fla files and swf’s are created. It is quite remarkable and you can get a ‘white site’ built in a few minutes.

That is the good part. For a first-timer there is then a rather steep learning curve to get the site configured to your requirements and understanding how the framework can be manipulated. I quickly found some rather startling undocumented ‘features’ of the template files that really threw me. First, I found that the fla files had a rather obscure setting: “Automatically declare stage instances” unchecked in the publish settings. This is a setting I have never come across and took a while to discover. Secondly, the preloader was coded in such a way to cancel mouse events bubbling through to the Display Objects below. Again, bazaar and unexpected behavior that takes a while to resolve. In fact the live site has an issue with firefox where the initial entry-point swf loads twice. Gaia has a feedback forum but if you look closer a lot of queries are either left unanswered or are grossly lacking in detail.

So all these unexpected quirks probably took longer to debug than it would have taken to create my own navigation and page load model. In conclusion I might use it for some extremely quick-and-dirty builds but not for more comprehensive site builds. I’m quite happy with my own flavor of MVC which I have been refining.

2 comments

House of Cards - stereoscopic

I downloaded the animation data from Radiohead’s House of Cards music video from google code and rendered a frame in papervision. It took me about 10 attempts to download one of the zip files, but when I did manage to download it, you get a csv file for each frame of the music video. I open the csv in excel, and it show four columns of data, x; y; z; and intensity. I then formatted the data so I could dump it straight into actionscript as array data: p.push({x:X, y:Y, z:Z, c:C}); . I had to extend the ParticleField Object Class to allow me to drop the 3D data points from the animation Data. I then rendered two scenes side by side, each with a different camerax position to create a stereoscopic view. If you cross your eyes it really does look 3D.

I have added it as an experiment at robshearing.com

AMFPHP vs MediaTemple

I just set up AMFPHP on mediaTemple (gs) and I ran into a bit of a problem where I couldn’t get any messages back from AMFPHP. I’d get an error of NetConnection.Call.BadVersion which apperas as faultCode:INVALID_AMF_MESSAGE in the service broswer.
It turned out to be an incompatability with php 5.2 on the MT server. The solution was simple and elegant, I had to make an entry in the .htaccess file to enforce a specific php version. The answer is on knowledgebase:

AMFPHP incompatibilty with PHP 5.2

Next Page »

Mexico