4,182 views

This tutorial requires you to know How to Draw a Girl in Flash. After that, we will learn how to change the color of a dress with this basic Flash Tutorial. Color changing will happen on a click of a button.  

By sriku, on August 22, 2012, under Flash Tutorials

Final Result Preview

 

Step 1

I selected a purple color for her dress.

 

Step 2

Insert a layer and name it "patch". Go to frame no. 5 and insert keyframe and change the dress color to blue. Go to frame no. 10 and insert keyframe and change the dress color to black. Now goto frame no. 15 and insert keyframe and change the dress color to red.

 

Step 3

Insert another layer name it button. Now we have to create four button. Take rectangle tool make four rectangle shapes. Change the color of all four shapes, make them purple, blue, black, and red.

 

Step 4

Select purple shape do right click convert to symbol. Now check on the "button" and name it purple. Do the same process with all shapes but name them blue, black, and red respectively.

 

Step 5

Click on purple button right click action then type this script.

on (release) {

gotoAndStop(1);

}

 

Step 6

Do the same process with all the buttons. Note you just have to change the frame no. to 5, 10, 15 while writing that script.

 

Step 7

Go to layer 1 press "F9" and type this script stop();

 

Final Result