Archive for the ‘Code’ Category

Capturing Keyboard Events in Adobe Flex 3

For anyone else spending an unfortunate length of time unsuccessfully attempting to capture keyboard events in a Flex 3 application (for browser or AIR), here’s where you’re probably going wrong. You are likely registering the keyboard listener too early. It’s likely that you are calling an init() method where you register the keyboard event on [...]

Ajax Made Easy – the Power of jQuery

Ajax – Asynchronous Javascript and XML. It’s more a technique than anything else. While senior management may consider Ajax to be fancy animations and “rich” internet applications, fundamentally, the term Ajax simply refers to exploiting a browser’s ability to background load XML from other URL’s. Loading XML Asynchronously In the past, I’ve implemented Ajaxiness by [...]

XML Schema Recipes

Don’t underestimate the power of validating XML with a schema. I’ve often overlooked much of what an XML schema is capable of, generally doing the minimum needed to create one. But investing a little more love with a schema can save time and headache (especially when working in situations involving multiple systems and interfaces). Creating [...]

Syntax Highlight Code in Word Documents

Placed a form around Google’s SyntaxHighlighter javascript code. Made it easier to use.  To get some nice syntax highlighted code into a Word document, use IE and copy and paste some code into the form below and click the button.  A new window will popup with the syntax highlighed code.  Copy all and paste into [...]