Tag Archive | "counter"

Insert Element Every nth Loop

onsdag, marts 10, 2010

Kommentarer slået fra

When inside of a loop, you can keep track of the iteration number of the loop (shown below is a simple for loop). Using that iteration number, you can calculate it’s modulus of some number (number left over after an even division). If that modulus is zero, you are at an even division of whatever [...]

Continue reading...

How We’ll be Building Websites in 5 years: HTML5 and CSS3 layout

onsdag, marts 3, 2010

Kommentarer slået fra

Graceful Degradation Since HTML5 and CSS3 aren’t going to be supported in all the browsers, especially not older ones like IE6, we can try and make it work in everything, but it won’t look the same in all of the browsers. For instance, rounded corners wont work in IE or Opera, but it wont affect the [...]

Continue reading...

All About Transformation in Adobe Illustrator

onsdag, marts 3, 2010

Kommentarer slået fra

In this tutorial you will learn everything you ever wanted to know about one of the most powerful Adobe Illustrator Tools – Transformation. Discover how it works, learn multiple ways of transforming objects, study the tools of transformation, and many other useful techniques.   Tutorial Details   Program: Adobe Illustrator CS3 Difficulty: Beginner Estimated Completion Time: 30 minutes Introduction Illustrator has plenty of [...]

Continue reading...

Create an Image Rotator in Flash Using XML and ActionScript 3.0

torsdag, februar 25, 2010

Kommentarer slået fra

In this tutorial you will learn how to make a simple Image Rotator from scratch using Flash, XML and ActionScript 3.0. Step 1: Brief Overview This image rotator is created almost entirely out of code alone. During the first steps we will set up the Fla file properties and embed some fonts to make the image information [...]

Continue reading...

PHP and MySQL File Download Counter

torsdag, februar 25, 2010

Kommentarer slået fra

It has been a while since we’ve done a proper PHP & MySQL tutorial here, So today we are creating a simple, yet robust, file download tracker. Each file will have a corresponding row in the database, where the total number of downloads is saved. PHP will update the MySQL database and redirect the visitors to [...]

Continue reading...

Scripting Illustrator Part 1 – How to Convert a Flat Process Color into its Matching Gradient

torsdag, februar 18, 2010

Kommentarer slået fra

We all are quite familiar with Adobe Illustrator and its User Interface. In our daily creative tasks we use a lot of features, such as: menu, pallets, colors, plug-ins and tools. We use these features in the form of a UI. These UI features are brought forward to us through various scripts and plug-ins. In a [...]

Continue reading...

Make your MooTools Code Shorter, Faster, and Stronger

torsdag, februar 18, 2010

Kommentarer slået fra

MooTools is one of the most flexible, modular, and well written JavaScript frameworks available. So many people use it but many of them don’t optimize their code. This post will provide you with fifteen simple tips for making your MooTools code shorter, faster, and stronger.   1. Create Your Own MooTools Build or Pull From Google AJAX [...]

Continue reading...

Modeling the Human Face in Illustrator

lørdag, februar 13, 2010

Kommentarer slået fra

With a simple and direct methods described in this tutorial, you can create a female portrait easily. This process will have you creating anatomically correct human faces in no time. Final Image Preview Below is the final image we will be working towards. Want access to the full Vector Source files and downloadable copies of every [...]

Continue reading...

Protect Your Flash Files From Decompilers by Using Encryption

lørdag, februar 13, 2010

Kommentarer slået fra

Decompilers are a real worry for people who create Flash content. You can put a lot of effort into creating the best game out there, then someone can steal it, replace the logo and put it on their site without asking you. How? Using a Flash Decompiler. Unless you put some protection over your SWF [...]

Continue reading...

Create a Pinball-Style Rolling Score Counter Class

lørdag, februar 13, 2010

Kommentarer slået fra

In this tutorial you’ll create a reusable Score class that counts up to the new total when points are added (instead of jumping up to the new score). We’ll cover graphics creation as well as code.   Final Result Preview In some games when you gain points, you’ll see your score immediately jump to the new total. I [...]

Continue reading...