Has anyone else needed to get the size of a single Object ID in flash?
adl_flhGetUsedSize() takes a range of object IDs - and the range is INCLUSIVE - so the size value returned is the sum of all object sizes including the beginning and end range IDs.
I need to get the size of a single ID (i.e. I’m storing variable length text strings as part of a configuration routine). I had thought about getting the size from a range of three IDs containing the ID I need, and then the size of a range of the two IDs I don’t need and subtracting this from the first. This is messy, and there are edge conditions to take care of…
I have tried calling adl_flhGetUsedSize() with the same ID for the beginning and the end value - but get an error (as is expected from reading the API doco).
Any one else had this issue? If so, some hints on how you did it would be appreciated.