This tutorial will teach you how to create a click and shuffle effect using adobe flash.
1) Under file menu import three images to the library From the library put all images into three different layers in the scene. Now select the first image and go to the modify menu and click on convert to symbol you will get a pop up box as seen below
2) give a name and select movie clip under that and press ok repeat it for all the images.
3) Now select any one of the image and press F9 or go to window menu and under that Development Panel the first menu Actions as shown below.
4 )Now you have got your actionscript window. Now feed in a small script into the window as shown below.
5) Now assign the script for other images also. Make sure that the things marked red in the above image has come, that says that the actionscript is loaded to that image.
6) The things marked in green are events like when it should happen. The things in blue determines what will happen. mx.behaviors.DepthControl.bringToFront(this); brings the object towards the front when your mouse is pressed.
7) Now if you press CTRL + ENTER you will get the output given below. You can click and drag and keep both the images anywhere in the scene you like.