Hi, IIRIC, the MongoDB ObjectId is typed as BSON. To learn a bit more about the MongoDB ObjectId, maybe this is helpful [1][2].
Even if it seems that it's not the case for you, maybe this [3] helps to understand that "the _id doesn't necessarily have to be an ObjectID." I found an AS3 implementation of BSON, but I never checked it out, so I don't know if it works [4]. There are also some outdated MongoDB AS3 drivers out there [5][6][7][8], maybe you could use parts of if. I guess [6][7][8] would be very helpful because they proivide an ObjectId class! Hope this helps, Olaf [1] https://docs.mongodb.com/manual/reference/method/ObjectId/ [2] https://docs.mongodb.com/manual/reference/bson-types/#objectid [3] https://github.com/mongodb/mongo-php-library/issues/217 [4] https://github.com/thejofr/as3-bson/blob/master/src/org/serialization/bson/BSON.as [5] https://github.com/s9tpepper/MongoAS3 [6] https://code.google.com/archive/p/jmcnet-full-mongo-flex-driver/wikis/ObjectID.wiki [7] http://words.transmote.com/wp/20120402/mongodb-objectid-for-as3/ [8] https://gist.github.com/ericsoco/2287723 -- Sent from: http://apache-flex-users.2333346.n4.nabble.com/