undocumented AS2 -> AS3 migration notes: setPropertiesAt()

here’s another item missed in the Adobe Flex 2 migration doc:

list.setPropertiesAt() has gone away. What replaced it? Good question. Here’s another: What’s the best way to change the background colors of datagrid rows?

Well, there is more than one approach to this, but for my purposes I wanted to set the row colors based on some criteria of the row content (i.e. from the dataprovider). Since I was extending the DataGrid class anyway, I chose to override the drawRowBackgrounds() function (which is also overridden in DataGrid, btw).

About Fuad Kamal

principal & senior architect, Anaara Media LLC
This entry was posted in AS2 -> AS3 migration, ActionScript, Flex. Bookmark the permalink.

Comments are closed.