Blog Posts

phpMyAdmin – Invalid field count in csv input on line 1

April 9, 2010

I was trying to import a massive csv dataset into phpMyAdmin and it kept throwing error:


Read More

Choosing a programming IDE

April 7, 2010

This is somewhat of a debatable topic, but it has come up a lot of times without any real final clarity, so I will try and cover it all.


Read More

Double border in CSS

March 30, 2010

CSS allows you to add a border to almost all html elements.


Read More

[Exception… “Could not convert JavaScript” nsresult: “0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)”

March 30, 2010

What the heck is.. uncaught exception: [Exception… “Could not convert JavaScript argument arg 0 [nsIDOMHTMLDivElement.


Read More

Error 1046: Type was not found or was not a compile-time constant: Event.

March 29, 2010

Error 1046: Type was not found or was not a compile-time constant: Event.


Read More

Add a date to a date in Actionscript 2

March 26, 2010

I needed to work out a date range according to the date 3weeks away from the current date.


Read More

Add a month to selectable date range – Date Chooser – Actionscript 2

March 22, 2010

I have been working on a project where I need to select a date range starting today and ending a month from now, so the user cannot select anything in the past or over a month from now.


Read More

hitTest and Actionscript2

March 19, 2010

if (mc.hitTest(_root._xmouse, _root._ymouse, true))) { trace("hitTest Run"); }


Read More

127.0.0.1:4664 and Google Desktop Search

March 17, 2010

Recently I checked my website stats and saw I had a few hits from “127.


Read More

Limited numeric input in flash actionscript 2 textfield

March 16, 2010

If you want to only show numeric characters in a textfield in flash actionscript you can use the following code:


Read More

Embed pound symbol (£) in flash textfield

March 10, 2010

If you use a dynamic textbox in Flash and you want to embed the British Pound symbol (£) then you will want to also embed the “Latin I” glyphs with your textfield.


Read More

Enable / Disable Cursor Hand in Actionscript 2

March 1, 2010

If you have a movieclip that by default has the hand cursor showing on RollOver and you don’t really want this, you can disable it by doing the following:


Read More

USB Device Not Recognized! in Windows

February 25, 2010

Believe it or not, this one is super easy to fix!


Read More

Calling event functions from movieclips in actionscript 2

February 24, 2010

In a flash movie I usually have a frame of actionscript that controls all elements in the file to keep everything in one place.


Read More

Sudo install OpenGL & SDL on Ubuntu

February 22, 2010

A quick and easy way would be to type the following in one line with single spaces in the Terminal.


Read More

How To Modify Hosts File On Windows

February 19, 2010

The hosts file is located at the following address: C:\windows\system32\drivers\etc</span>


Read More

Get all directories in PHP

February 17, 2010

I think this may be the fastest way to get a list of all the directories in a given folder/directory using PHP.


Read More

Security error: securitySandboxError with Flash

February 17, 2010

You have a flash uploader and you get this error:


Read More

Component Inspector in Flash has ISSUES!

February 11, 2010

I discovered a very annoying bug in the Flash IDE a little while ago, and it has happened to me quite a few times.


Read More

Close/Delete Google Checkout Account

February 8, 2010

I have used Google Checkout to receive payments in the past and have had problems with some clients not paying and blaming it on Google Checkout that the money did not go through (like the guys over at Peartree DMS).


Read More