July 2008 Archives

Jul 30, 2008

Showing the hand cursor on a Flex scrollbar

Posted by Dennis in ActionScript, Flex 5 comments

Here’s a little trick/hack to get the hand cursor to appear on the up and down arrows of a standard Flex scrollbar. In order to do this you need to create a class that subclasses a class that has a scrollbar attached to it. In this case a TextArea:

public class CustomTextArea extends TextArea

The class mx.controls.TextArea [...]


Jul 25, 2008

IOErrorEvent.IO_ERROR raised when loading an XML file in IE6

Posted by Dennis in ActionScript, Flash 1 comment

An IOErrorEvent.IO_ERROR was raised when I tried to load an XML file (ActionScript 3.0). This only happened in IE6 on a specific server. The strange thing was that I got a HTTP/1.0 200 OK message in my HTTP sniffer. It turns out that IE6 can’t handle a specific combination of http headers:

Cache-Control: no-cache
Content-Encoding: gzip

There’s a [...]