Flex AIR tip: AMF and file storage

A neat trick in Flex is that the RemoteClass annotation on a class works for any deserialisation of AMF3 data… That means that if you write Value Objects to the filesystem in AIR, they’ll be read back in as you would expect. If you don’t use the metadata tag to describe your class, you will save and load it as an untyped Object…


About this entry