Jump to content

  • Log In with Google      Sign In   
  • Create Account

The Code Zone Bargain Basement Blog



A couple of minor changes

  Posted by johnhattan, 17 August 2010 · 125 views
import_rss
First off, the Google Checkout issue is fixed. The site should be in the pink again.



Second, I made a couple of changes to the look. The old Flash-based menu has been replaced with a shiny new standards-compliant HTML menu. The old one worked, but it gave the HTML purists fits.



Note that HTML menus tend to give some browsers fits (much like the Flash...


Google checkout issues

  Posted by johnhattan, 09 August 2010 · 126 views
import_rss
Looks like my shared SSL certificate is expired. Fortunately for me, all that affects is Google Checkout. As it stands, I'll be fulfilling any google checkout orders by hand until that issue is resolved. My service provider is aware of the issue and is working to fix it.



Thanks for your...


Handy piece of code

  Posted by johnhattan, 04 August 2010 · 115 views
import_rss
Here's a quick-n-simple piece of AS3 (or Javascript) that calculates the point on a line closest to a given point. It took me a couple of tries to get it right, so I figured I would share it.



var nearestPtToLine = function(segA:Point, segB:Point, p:Point, infinite:Boolean = true):Point

{

var dx:Number = segB.x - segA.x

var dy:Number = segB.y -...


Handy piece of code

Posted by johnhattan, 04 August 2010 · 129 views

Here's a quick-n-simple piece of AS3 (or javascript) that calculates the point on a line closest to a given point. It took me a couple of tries to get it right, so I figured I would share it.

var nearestPtToLine = function(segA:Point, segB:Point, p:Point, infinite:Boolean = true):Point
{
var dx:Number = segB.x - segA.x
var dy:Number = segB.y -...





Recent Entries

Recent Comments

PARTNERS