Im sure this has been asked before, but I dont know where to find the topic.
Im not a good Actionscrpiter, and I know this is probably really easily solvable (grammar?).
I need to know-
How do I make it so that when my character "char" is overlapping a filled rectangle "detect1", it goes to and stops on the second keyframe of the enemy "smart".
Also, when the mousei s overlapping the filled rectangle "detect1", it goes to and stops on the third keyframe of the enemy "smart".
One last thing. If the character "char" stops overlapping the rectangle, the enemy "smart" goes back to (and stops on) keyframe 1.
The things is speech marks are the instance names, I wasnt sure if you needed them or not.
If anyone could help me by giving me the code I need I would be very grateful.
Thanks.