Not really sure what your having trouble with. Anyway you can post a capx?
Also if all you need to do is compare animation frames you can do it like this....example
Its set up so the bottom boxes are destroyed on mouse click if the animation frame number is equal to the frame number one on top.
I'm not certain this will be of much help, without seeing a capx, its a bit hard to determine.