Flash AS3 Tutorials Center | Interesting Flash Animation Tutorials | Valuing Flash Animation Tutorials | Flash ActionScript and Animation Home

AS3 Beginner Tutorials | AS3 Basic Lessons | AS3 Valuing Courses | AS3 Components Tutorials | AS3 and PHP Interaction Tutorials
AS3 Practical Tutorials | AS3 Animation Techniques | AS3 Transition Effects Tutorials | AS3 Download Upload Files | AS3 Particle Systems
Communication Between Flash Movies with AS3 | AS3 and JavaScript interaction | AS3 Matrix Transformation | AS3 Physics Simulation Tutorials

Flipping MovieClip with Flash ActionScript 3

Many visitors have been asking for the source codes of "How Flip Works" that illustrated in Expand Flash Thumbnail to Full Size Over HTML tutorial. Actually the ActionScript 3 codes of the flipping effect is very simple.

Flash thumbnail tutorial example display here. Your flash player version is too old to see this flash example!

The man (movieclip) will be running to the right and left continously. The movieclip will be flipped horizontally when the movieclip reach a location in the right and left, and then change the moving direction.

Flash 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 ManFlash Source File:

Flash Source File flash-running-man.fla

This Flash ActionScript 3 tutorial discuss how to flip MovieClip.