ThinkGeek - Cool Stuff for Geeks and Technophiles

December 27, 2003

Gravity (source code)

So here it is, with it's wonderful spanish comments :|.

As you could see, this code could and should be optimized to make it not so proccessor.intensive.

Anyway, it's a good example of how we can build our applications without referencing _root.

When the main class is initialized:

var miGravedad:Gravedad = new Gravedad(this);

A reference to the timeline where the main class is located is passed to the class constructor. So we avoid any future trouble.

So, download the source code (of course, if you wish to)

Posted by Cesar Tardaguila Date: December 27, 2003 04:01 PM
Comments

Soumbodi nids tu fix its template?

Ai zink dat the thins tat are in the pie
of this peich sould bi in de top lef

geektings froum hiar, from $random.

Posted by: MojoPikon en: December 29, 2003 12:03 AM

Yeah, quite funny!.

Anyway, the css has been fixed.

Posted by: ctarda en: December 29, 2003 09:23 PM