Feeds:
Posts
Comments

Archive for the ‘Flex’ Category

While working on reordering elements in a List, I discovered a shortcoming in the working of the List. On setting the dataProvider and selectedIndex of the list, the selectedIndex was not being updated.

private function reorder() : void
{
myList.dataProvider = _elementsArr;
myList.selectedIndex = _selectedIndex + 1;
}

My Man Friday, Google, disclosed a workaround for it.

private function reorder() [...]

Read Full Post »

When a class object is written to the fileStream using the writeObject() method, it is serialized and stored in the AMF (Action Message Format) format. Unless it is explicitly registered, the class instance will be stored as the normal object. If the class type information of the object has to be retained, then it has [...]

Read Full Post »