I'm pretty sure there isn't one.
I'm not sure if it's even possible to be able to prevent memory editing in Flash. You can do some tricks to try to make it harder to be able to edit the memory but it should always be possible.
Disclaimer: I'm not an expert on flash, please correct me if I'm wrong.