In this tutorial, you have a chance to learn how to create blic picture gallery, using the action script code and some special flash tips and tricks. Using this tutorial, you will also learn how to convert any picture into a movie clip symbol, how to create invisible button and much much more! Let's start!
Example: Step 1Create a new flash document and frame rate set to 33fps (Frames per Second).
Step 2Open any picture in flash, select it, press F8 on the keyboard (Convert to Symbol) to convert it into a Movie Clip.
Step 3While you're still on frame 1, open the Action Script Panel (F9), and paste this script:
stop ();
Step 4Select the picture (new made Movie Clip) and press Ctrl+C on the keyboard (copy).
Step 5Insert a new layer, click on the first frame, and press Ctrl+Shift+V (Paste in Place).
Step 6Click on frame 10 and press F6. Then, select the picture, open the Properties Panel (Ctrl+F3), choose Filters, click on plus icon and choose Adjust Color. Look at the picture below!
Step 7Then, set the options from the picture below.
Step 8Go back on frame 1 and in Properties Panel under Tween choose Motion.
Step 9Click on frame 10 again, select the picture, press Ctrl+C on the keyboard (Copy), insert a new layer, click on frame 10, press F6, and after that Ctrl+Shift+V (Paste in Place). See the picture below!
Step 10Click on frame 20 of layer 3, and press F6.
Step 11Select the picture, open the Properties Panel, choose filters, and set this options:
Step 12Go back on frame 10, and in Properties Panel under Tween choose Motion.
Step 13Insert a new layer, click on frame 20, press F6, open the Action Script Panel (F9), and paste this script:
stop();
Step 14Insert a new layer (layer 5), and using drag and drop technique move it beneath the layer 1. See the picture below.
Step 15Click on frame 1 of layer 5, take the Text Tool (A), and type "Next Picture". Look at the picture below!
Step 16Then, take the Rectangle Tool (R), Stroke Color must be swithced off, and draw a "rectangle" like it is shown on the picture below.
Step 17While your "rectangle" is still selected, press F8 on the keyboard (Convert to Symbol), and convert it into a Button.
Step 18Double click on a new made button or choose right click and Edit in Place. See the picture below.
Step 19Then, do like it is shown on the picture below.
Step 20Go back on the main scene (Scene 1), select the button, open the Action Script Panel (F9), and paste this script:
on (release) {
play();
}
We're done!
Enjoy!
Download source file (.fla)