mercredi 14 septembre 2016

Action Script 3 - Check for stop commands in other frames

I'm pretty new to action script, and I'm a little stumped on this problem. Basically on frame 1, I want to be able to find all of the frames in the animation that contain a stop command.

For instance, let's say there are stop commands on frame 3, 64, and 100. I want to be able to search through the entire animation for stop commands, and return an array like this: [3, 64, 100]

Is that possible to do? I've tried searching a little but haven't been able to come up with anything.

Aucun commentaire:

Enregistrer un commentaire