Actionscript Code

Reusable Action Script 3 Button

This is rehash for most people, but creating a button script in Action script 3 isn’t too hard. Its a little more code than would have been used in AS2. The script used in this example is for a button to jump around the time-line, like for a website in flash.

More...

CSS Code

Box Shadows with CSS3

The CSS3 backgrounds and borders module has a nice new feature called box-shadow, which is implemented in Safari 3+ and Firefox 3.1 (Alpha). The specification speaks of multiple shadows, but the author already “has his doubts” on that, and it isn’t implemented in Safari 3.

More...


HTML Code

Flash Embed code that Validates

Use this code to display flash files on html pages. This is a leaner code, that validates, and for purposes of navigation,
won’t overlay and hide hovered items on a page (such as drop down navigation). This is on its way out with the advent and spread of HTML 5. Still useful though.

More...

PHP Code

OOP Basics in PHP

Imagine a box. It can be any type of box you want: a small jewelry box, a large crate, wooden, plastic, tall and thin, Short and wide… Next, imagine yourself placing something inside the box: a rock, a million dollars, your younger sibling… Wouldn’t it be convenient if we could walk up to the box [...]

More...

WordPress

Custom Menus in WP 3.0

There are lots of great new features in WordPress 3.0, one of my favs is the ability to create custom menus through the interface. The custom menus can be added to a sidebar as a widget, but areas in your template can be set to use a custom menu.

More...