Getting the ScrollPane in flash to work with a mouse wheel can be tricky. It will not allow the mouse wheel to scroll if there is not actual content right underneath the mouse pointer. This can be cumbersome for dynamic content in the pane. To fix this, you can use the following AS3 code to […]
Flash and the Scroll Wheel in the Browser
Javascript Determine Daylight Savings Time
var isDST = function(){ var now = new Date(); var dst_start = new Date(); var dst_end = new Date(); // Set dst start to 2AM 2nd Sunday of March dst_start.setMonth( 2 ); // March dst_start.setDate( 1 ); // 1st dst_start.setHours( 2 ); dst_start.setMinutes( 0 ); dst_start.setSeconds( 0 ); // 2AM // Need to be on […]