Category Archives: components

Flex 3 Auto-Resize TextInput Control? How?

Here is a quick solution to add Auto-Size functionality to TextInput control in Flex 3. AutoSizeTextInput.class Usage in MXML: Not sure if this method is perfect! Do let me know if there is any better way to implement this 🙂 … Continue reading

Posted in ActionScript3, AS3, components, Flash, Flash CS3, Flex | 9 Comments

Flex – Double Click to edit functionality for List Control

When for a list control the property editable is set to true, one can click on the item and rename the label or edit the item if an item editor is set. Here is a work around if you wish … Continue reading

Posted in ActionScript3, AS3, components, Flex | 5 Comments

Flex – Image Navigator Example

Here is a small example of creating an Image Navigator for big images in Flex. The big image is loaded in Canvas and an Image navigator will have a small prototype of this image. A small rectangle in Navigator can … Continue reading

Posted in ActionScript3, AS3, components, Flex | Tagged , , | 28 Comments

ActionScript 3: Serializing Classes using registerClassAlias

In previous article “Component and SharedObject Example” we’ve seen how to store simple variables in Local Shared Object. But, what if you want to store a custom class objects in Shared Object? You can use flash.net. registerClassAlias() to do so. … Continue reading

Posted in ActionScript3, AS3, components, Flash | 25 Comments