Shawnblais.com v2

The Lab

Archive for August, 2009

Firefox 3 Scroll Wheel Fix

without comments

There a bug in Firefox 3 which causes the MOUSE_WHEEL event to always fire twice, no matter what. Here’s the fix…

Click here for more info…

Written by Shawn

August 20th, 2009 at 10:02 am

Posted in AS3

FrameRate Monitor

without comments

Another utility class, this time a FrameRate monitor for easily getting the current frameRate of your movie.

Click here for more info…

Written by Shawn

August 19th, 2009 at 12:11 pm

Posted in AS3

ColorTween class

without comments

Here’s a very handy utility class to tween the tint of a MovieClip. It works by creating 2 color transform objects (based on a start and end color) and interpolates the colors in between. This uses GTween to handle the tweening of a dummy property, while the color is updated on the CHANGE event handler.

Click here to read more…

Written by Shawn

August 19th, 2009 at 12:04 pm

Posted in AS3

flipGallery 3D Source Code

without comments

This was pretty much my first real attempt at a PV3D project. Using an AS2 Cover Flow implementation as my target, I began redesigning it completely from scratch. The process was extremely enlightening, I learned a ton about both As3 and Papervsion, and I really think the end result is one of the best implementations I’ve seen. It’s extremely smooth, and able to handle upwards of 100 images with great performance.

Click here to read more…

Written by Shawn

August 19th, 2009 at 11:49 am

Posted in 3D, AS3

Scrollbar Class (AS3)

without comments

Here’s a generic ScrollBar class, which will take a movieclip and create a scrollbar out of it.

The class accepts 2 parameters, your source movieclip, and the callBack function which should be notified whenever the Scroller’s position has changed. It also features some external interface to change the position of the scroller from somewhere else in your code

Click here for more info…

Written by Shawn

August 19th, 2009 at 10:53 am

Posted in AS3

AS2 Inline Scroller

without comments

This scroller was written for an emergency situation at my last job, our 3rd party scroller from Extend Studios had a bug in in that caused the newest version of the Flash player to instantly crash our sites. This was a major problem, as we had already implemented about 35 sites using this plugin!

Click here for more info…

Written by Shawn

August 19th, 2009 at 10:42 am

Posted in AS2

Shawnblais.com v2 is Live!

without comments

Well, after losing my Job on Tuesday, it’s been a mad scramble to develop a new website and get it up and running, so I can hopefully impress some potential employers..(not that my old site wasn’t cool…it was…like 8 years ago!).

The new site is up and I absolutely love it, yes it’s a bit slow on anything less than a Quad Core, and yes the nav is unusual, but I’m trying to do something a bit more forward thinking here, as well as flex my technical skills. I’m totally bored of the conventional website and navigation structure.

Also I do think that as 3D adoption grows, allowing users to config the site to match their system capabilities will become a more accepted approach, which is why I included some performance settings on the site itself. This is another thing that may rub some traditionalists the wrong way…

Obviously, the other new addition is this blog right here, stay tuned for many code examples and experiments in the future.
Thanks!

Written by Shawn

August 19th, 2009 at 10:36 am

Posted in Uncategorized