Toxiclab.org

Changing the channel on plasma

25.10.2006, 16:49
Submited in: Flash | Total Views: 60787

Read this tutorial and see how to change channel on plasma using remote control. You will also learn how to Import any picture into a flash, how to convert it into a Moive Clip Symbol, how to use alpha, action script and more.



Step 1

Create a new flash document, choose Modify > Document and set Fame rate to 28fps (Frames per second).





Step 2


Find any picture of plasma and after that, Import it in flash (Ctrl+R). You can also download my picture.



Step 3

Double click on layer 1 to rename its name in plasma.

Step 4

Insert a new layer and name it channel 1. Click on frame 2 and press F6 (keyframe).

Step 5

Then, choose File > Import > Import to Stage (Ctrl+R) and Import any picture that will represent channel 1.

Step 6

Set that picture in plasma. See the picture below.



Step 7

While your picture is still selected, press F8 key (Convert to Symbol) to convert it into a Movie Clip.



Step 8

Press five times F6 (keyframe). See the picture below.



Step 9

While you're still on frame 6, open the Action Script Panel (F9), and paste this script:

stop();

Step 10

Click on frame 3, select the picture, open the Properties Panel (Ctrl+F3) and under Color choose Alpha and set it to 0%. Repeat that for frame 5 also.



Step 11

Insert a new layer and name it channel 2.

Step 12

Click on frame 7 and press F6. After that, Import (Ctrl+R) another picture that will represent channel 2.



Step 13

While the picture is still selected press F8 key and convert it into a Movie Clip.

Step 14

Press five times F6 (keyframe). See the picture below.



Step 15

While you're still on frame 11, open the Action Script Panel (F9) and paste this script:

stop();

Step 16

Click on frame 8, select the picture, open the Properties Panel (Ctrl+F3) and under Color choose Alpha and set it to 0%. Repeat that for frame 10 also.

Step 17

Create channel 3, 4 and 5 in an equivalent way like we have create channel 1 and 2.



Step 18

It's time for remote control, so insert a new layer, name it remote control click on the first frame and draw it like it is shown on the picture below.



Step 19

Insert a new layer and name it Invisible Button. After that, create for every "number" (channel) on remote control invisible button. See the picture below.



Step 20

Click on the button for "number one", open the Action Script Panel (F9) and paste this script:

on (release) {
gotoAndPlay(2);
}

Click on the button for "number two" and paste this script:

on (release) {
gotoAndPlay(7);
}

Repeat this for all buttons.

Step 21

Insert a new layer and name it Action Script:

Step 22

Click on the first frame, opne the Action Script Panel (F9) and paste this script:

stop();

Test your Movie (Ctrl+Enter).

We're done!

Download example

Are you a website owner?
Click here to register and submit your tutorials!

Browse by category


Most popular tutorials