I recently stumbled over a post on josh buhler’s blog regarding the comparison of two objects in AS3 using the ByteArray
-class.
You can read the post here.
This brought me to an idea.. Instead of comparing each byte in a loop why not using a serialized string and a strict comparison ?