You're attaching the MovieClip via attachMovie().
You'll have to add the code after the MovieClip is attached.

The layer you mention (desistir) also has that MovieClip, but that's not the one which is used as it doesn't even exist on frame 5.