This animate animation illustrate how to use the flipping effect.

The man (movieClip) will be running to the right and left continuously. The movieClip will be flipped horizontally when the movieClip reach a location in the right and left, and then change the moving direction. Thus creating this interesting effect.

Animate Tutorial Content:

How It Works:

The flip effect of the movieclip can easily be achieved by using:

man_mc.scaleX *= -1;

where man_mc is the instance name of the running man.

Therefore the effect can be achieved by flipping the moveieclip at set location at the right side and left side.

Download Running Man Source File:

animate-running-man.fla