Mac OS X - like Menu - Page 10

Creating the code (Cont.)

Do your fingers hurt yet? We still have a bit more code to put in.

Remember that If statement we started? Well, what IF the test doesn't
pass? Let's say our cursor is over the 50 pixel limit in the y direction. Now
what do we do? Well, we don't want the menu to remain expanded. We want everything
to scale back down to 100% and return to their origin points. So let's do that!

We will start with our else statement, then enter 3 lines for each icon, just
like the previous code, except that we are just going to statically assign the
values for the location (back to origin), and the scale (back to 100%).

» Description:
I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all

» Description:
Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.