Custom DataGrid Sort To Force Nulls To The Bottom

A requirement came up recently requiring that my DataGrid column sort alpha-numerically, but with all the nulls pushed to the bottom. Providing a custom sort without considering the column’s sortDescending attribute worked with descending, but not ascending sorts. The values would be at the bottom for descending with all the nulls at the top. To […]

The ‘with’ Operator

I have yet to personally see this implemented in code, so in hopes of remembering it or somehow promoting it’s popularity… I present ActionScript’s ‘with’ operator. with (object:Object) { // statement(s) } Establishes a default object to be used for the execution of a statement or statements, potentially reducing the amount of code that needs […]

Straight Left Quotation Mark

Thank you ActionScript! All these years of using a keyboard and today I’ve found the answer to a question you never asked. Please, do tell… Q: What is that thing sharing a key with the tilde? A: A “straight left quotation mark”. And your follow up question, naturally… Q: What the hell is it used […]