Flex
Create a Simple Drawing Pad
Here's a quick and easy drawing pad application.
How to setFocus() when your app loads
Enhance a Flex app's UI by learning how to setFocus() on a text field when the page loads.
Flex - Create a Dashboard That Allows Drag and Resize
Here's a crude prototype of a dashboard and a base class for widgets that can be moved and resized.
Flex Checkbox TreeItemRenderer
This code sample demonstrates a TreeItemRenderer that displays a checkbox for each leaf node in the Tree.
Strange Hack For Downloading With a FileReference
My file download wasn't working and I sometimes got an I/O Error - 2038. I dug around the internet and found this very strange hack. You have to create a nested function in the same scope as the call to the download() method of the FileReference. It make
Using SharedObjects
Shared objects are basically cookies that get stored on a users machine by the browser. Here's a little code sample to demonstrate...
Using a File Reference to Upload to ASP.net
If you're looking for a quick way to upload files from Flex to an IIS server using ASP.net, then you might want to check this out(you'll even get the .net code!).
Stack Error 1023 - My Strange Encounter With Error 1023
For one project that I was working on the error never occurred in the test environment, but showed up as soon as we pushed to the production environment. After trying everything, here's what I found...
Flex - Bitmap vs BitmapData
What's the difference between a Bitmap and a BitmapData object?
Flex - Convert a SQLServer Datetime into ActionScript Date
Here's my solution for pulling a datetime from SQLServer in a format that ActionScript can use to create a Date object.
Flex - Dynamically Create Time Segments
Heres' a quick script that dynamically creates 15 minute time segments between 8am and 7pm.
Flex - The Fastest Way to Transfer Data?
After doing some testing, I discovered that AMF may not be the fastest way to transfer data in Flex.
Getting Your ItemRenderer to Behave With The DataGrid
ItemRenderers can be tricky. In this case my ItemRenderer was interfering with the default behavior of my DataGrid. So here's what I came up with...
Flex - Dynamic DataGrid when XML is unkown
This script comes in handy if you are dynamically building select statements, and then sending the results to Flex in xml format.
Four Wishes for FLEX 4
Passing Values to a Custom ItemRenderer
This code sample demonstrates how to create and itemrenderer that allows you to pass values to it and display HTML formatted text.