AS3 Character start posistion reset

Hey there, so I’m working on an AS3 side scrolling game where essentially you have to get your character from point “A” to “B” then it jumps to a new frame to do it again just a different layout and enemies. The trouble I’m having is when my character gets to point “B” he just sits there continuously activating the “win” clip causing you to skip all the levels till the end. I’m trying to make it so that every time I go to a new frame my character jumps back to the starting position. I’ve tried adding an event listener that at each new frame it moves the character then removes itself but it doesn’t seem to want to work. :confused: Could anybody please help me out on this one?

If you need the instance name of the character its “hero” and the “x” and “y” coordinates are x = 57 y = 300 also the point that the character reaches to win has an instance name of “square” it is simply a movie clip with some code.
I would greatly appreciate an explanation on how to fix the problem as I am somewhat new to coding so I’m still learning. Thanks in advance!