Flex provides a default busy cursor style which looks like a small clock. It can be shown easily, by calling CursorManager.setBusyCursor() and removed just as easily by calling CursorManager.removeBusyCursor(). I’m not a big fan of it, but fortunately it is easy enough to change through CSS or AS3.
The first option is probably the most [...]
Arrays are a fundamental part of any programming language, and can have any type of object stored in them, accessed by index. However, generally speaking, objects of different types are not mixed within the same array. This means you can be sure of the type of ALL the objects in a given array, and is [...]
If you get this error in Flex Builder 3 when using the AdvancedDataGrid, then you’ll be pleased to know there is an easy fix, caused by a missing file called datamanagement.properties
The problem stems from using a locale other than en_US (the default). There is a swc file installed by default with Flex Builder, [...]
Scroll bars appear on the right in Flex (as with everything else) but it can sometimes be useful to move it across to the left. This simple technique of overwriting the updateDisplayList method puts it on the left:
protected override function updateDisplayList(w:Number, h:Number):void
super.updateDisplayList(w, h);if( verticalScrollBar && verticalScrollBar.visible )
If you get the following compilation error in Flex Builder 3, ’1046: Type was not found or was not a compile-time constant: Vector.’, then it’s probably a lie!
This error actually comes from the type being used for the Vector, and not the Vector itself. For example, if you have the following: