New HannaCecilia site
I just launched a new portfolio site for HannaCecilia make up & hair.
The most interesting technical aspect of the site is the background image. The idea is that the pictures should appear to be stationary, while the camera/you is moving. The window should also be resizeable to any size. To do this is ActionScript without having a huge background image (to work with my 23″ cinema display it would have to be enourmous) was a bit of a challenge. But thanks to the bitmap API in Flash 8 I created a routine which monitors the position of the camera and the size of the window and repeats the background image (which is about 800×800px) to completely fill the window, as well as remove parts that are no longer needed in order not to waste too much memory.