1 0 Archive | web design RSS feed for this section
post icon

A Flash Game

I just finished a small project for a friend of mine. I made a sweet flash game, where you try and shoot down helmets while being timed. After you shoot all the helmets you enter your initials and email address for a chance to win a free Darren Berrecloth signed, signature Deviant Helmet from Specialzied! Well you have to have the low score but it’s a fun time anyway!

I used Flash and Php together for one of the first times and had some fun. Actually the game was just a modified version of a project I did in school earlier this year. It didn’t have the php/mysql funtionality to log scores, but meow it does!

Leave a Comment
post icon

Bearclaw Invitational website

Been pretty busy in the last few weeks. Just finished a new site for a friend, who holds a Mountain Bike contest on Mount Washington Alpine Resort. Used WordPress and a theme from the themes repository that I modified a bunch. Looks pretty cool so check it out! Bearclaw Invitational.

Leave a Comment
post icon

A Simple Birthday Calculator

I’ve always had a problem with knowing ahead of time what day my birthday was going to be on. Like if it was on a FRIDAY or SATURDAY, so that I could party. So HERE is a cool application that I just did in my php class. It takes your input and tells you what day it’s on. No more guessing if your going to be calling into work sick! Just kidding, computer geeks don’t party? Right?

Leave a Comment
post icon

Basic Flash Drawing Application

This is a quick Flash App that I did yesterday for my actionscript class. It’s fairly basic and looks cool! This is all done with 3 layers and 1 keyframe in each layer. I did do the pencil with Maya but you could use anything. It’s just a .png file for the transparency. I turned it into a Movie Clip named pencil_mc. Put it on the stage and then just added the script. See the rest of this post for the code.

Just insert this code into your first frame keyframe, create a new empty movie clip named empty_mc, and create a pencil or something called pencil_mc, and done!

// the pencil starts to drag. the regular mouse cursor is also hidden for better effect!
startDrag(pencil_mc, true);
Mouse.hide();
// create a variable and assign it a boolean
var drawing:Boolean = false;
//created key listener to listen for SPACE press then clear canvas
var keyListener:Object = new Object();
keyListener.onKeyDown = function() {
 if (Key.isDown(32)) {
  empty_mc.clear();
 }
};
//created mouse listener to listen for mouse down then draw
var mouseListener:Object = new Object();
mouseListener.onMouseDown = function() {
 empty_mc.lineStyle(3, 0x999999, 50); //line(width, color, opacity)
 empty_mc.moveTo(_xmouse, _ymouse);
 drawing = true;
};
mouseListener.onMouseMove = function() {
 if (drawing) {
  empty_mc.lineTo(_xmouse, _ymouse);
  updateAfterEvent();
 }
};
mouseListener.onMouseUp = function() {
 drawing = false;
};
Mouse.addListener(mouseListener);
Key.addListener(keyListener);

Download the zip file here

Leave a Comment
post icon

Trouble with Podcasting in WordPress

I’ve been seeing that there are a ton of people that have problems with getting there podcasts to work with wordpress. Good news! It’s not that hard to make it work. You don’t have to do anything in your wordpress setting or pages. All you have to do is add the correct mime types to your server. With in your hosting providers control panel there should be a MIME/TYPES button:

Click on that and add the right types. All I use is mp4′s for video content so mine looks like this: .mp4 (as the filetype) and video/mp4(as mimetype). Then just apply that to the server by clicking ok and that’s all! Here is a great resource for all mime types and more.

Also if you don’t use feedburner… your missing out! Feedburner is one of the best tools for bloggers so get it.

Leave a Comment