Archive for November, 2008

Fisheye Menu Using AS3 and TweenLite

A friend of mine that enjoys bitching until I help her with whatever popped into her head that moment messages me tonight.  “Hey for my site [that you'll make for me for free because i'm a girl and your friend] I want a menu system like that one I showed you [which you're supposed to magically remember out of all the sites you've seen on the whole internet in your life].” After she re-sent me the link, a beautiful site called ilovedust I took a look at the slick little fish-eye style menu and said, “Yeah that’s Animation, I do code.  Not pretty stuff like that.” After 5 minutes of receiving complaining message (but mostly once my game was finished that I was playing at Kongregate, I actually thought about what was happening in that menu, and after about 20 minutes of coding, had a workable menu.  I thought I’d post the code here and make a little tutorial out of it. I love TweenLite.  And TweenMax.  And pretty much everything at GreenSock.  Once you learn the class, it makes everything so easy.  For those that are here who are AS2 coders… a) Upgrade!  and b) They also have AS2 versions of all of their code.  There are a number of other Tween libraries to choose from. Some perform better than others.  But TweenLite was the first for me that ‘made sense’ in my budding AS3 days, which still continue. This is a quick little example of making a 5 menu-item menu that does stuff when you mouse-over.  You could probably think of a million ways to optimize this code; putting the menu items in a loop to initialize and things like that.  I’m just going to lay it out, and you can make your own better.

Read More…

Browser Love.

I’ve been doing a lot of bug-fixing lately. .. a lot.  Like more tracking down errors than tracking down food.  Pretty much the only thing keeping me going these days, is that I can’t go out with IE6 still unbelievably holding 20% of the browser market share?!  “IE7 just looks funny…” yeah well you using IE6 is the reason my foot it making your crotch look funny. What a week. StaffMaster 0.7.whoknows finally passed its bug-free exam.  Well.. as far as I know.  Between version 0.6.5 and 0.7.0 I  came close to quadrupling the lines of code and database settings fields… I *did* quadruple the number of template views it easily lets you display… I gotta hand it to Joomla for giving me a simple, almost failproof way of browser testing. Ok, less talky… more drawings…

Read More…