A beginner’s guide on colours, gradients and filters in Macromedia Flash.
In this tutorial I will be focusing on colors, gradients and filters.
- Open up a new flash document.
- Select the rectangle tool and look at the options in the tools panel and select “Set corner radius”:

- Set the corner radius to 10 and press OK
- Draw a black rectangle on the stage with no outline, it will be rounded
- Edit the rectangle via the properties panel and make the width 100 and the height 30: (The position doesn’t matter)

- Open up the color mixer panel, if you don’t have it, then press SHIFT+F9:

- Select the rectangle with the selection tool and at the “Type” drop down menu in the color mixer panel, select linear and make sure that the “Fill” in the color mixer is selected not the stroke (To select the “Fill”, simply click on the bucket in the color mixer panel):

- Change the gradient at the colour mixer to look like this (You can click and drag the tabs to move them):
- Your rectangle should look something like this:

- That looks alright doesn’t it? Lets make it better, select the Gradient Transform Tool (Hotkey F):

- Click on the rectangle with the tool and it should look like this:

- Move your mouse to the top right corner of the rectangle and the mouse cursor should turn into a rotate symbol
- Rotate the gradient 90 degrees anti-clockwise, it should look like this now:

- Now, that arrow pointing to the right, click on it and drag it down until it meets the edge of the actual rectangle:


- Convert the shape to a button using the F8 key and name it button:

- Now you have a button, double click to go inside it
- While inside the button click on the shape and convert it to a movie clip. Name it ButtonInside:

- Click on your newly made movie clip that is inside your button and double click on it AGAIN
- Convert the content into another movie clip (Last one I swear) name it ButtonInside2.

- Now go back to the inside of ButtonInside (You should be here: Scene 1 > Button > ButtonInside), go down to the properties panel and click on Filters:

- In the filters tab, click on the “+” and then click on Glow:

- Now, there are many different filters so later on you can experiment with them but for now, let’s use the glow filter
- Edit the properties of the filter to look like this:

- Add a keyframe while inside ButtonInside at frame 10 and frame 20:

- At keyframe 10, select the movie clip that you just applied the “Glow” filter to and go to the filters tab
- Change the properties of “Glow” to look like this:

- Apply motion tweens to the 1st and 2nd keyframe and the 2nd and 3rd keyframe:

- Go back to the stage and test your movie
- You will see that the button has an animated glow. So far this button is good but it can be better.
- Double click on the button in the stage so that you are inside the Button symbol:

- Copy the movie clip in layer 1 of the button, don’t paste it yet
- Make another layer and place that layer on top of “Layer 1″ and name it “Bevel”
- Select the “Bevel” layer and push CONTROL+SHIFT+V. This will paste whatever you copied in the location in your current layer.
- Select the object you just pasted if it isn’t already selected and press CONTROL + B. This will break the movie clip apart, since the movie clip you just broke apart had an instance of the ButtonInside2 movieclip in it the movieclip on stage now will be the ButtonInside2. The “Break apart” function is great for many things. Like for example: You make a movie clip with a square. You want to make another movie clip with it but you spent a while drawing that square. So you break the movie clip apart back into the ungrouped form and make another symbol with it!
- Anyways back on task, the broken apart movie clip is now the ButtonInside2 movie clip. You will realize it has a “glow” filter applied to it already. Delete that filter by selecting the “Glow” filter and pressing the “-” button next to the + button:

- Add a “Bevel” filter to it:

- Make the properties of the bevel look like this:

- Bevel gives it a nice ā3Dā look. Now add a keyframe at the “Down” state of the button in the bevel layer and add frames to match it in the other layer:

- At the “Down” state of the button in the “Bevel” layer, select the instance of the movie clip
- Go to the filters tab
- There should already be a “bevel” filter added from before, if not then you’ve done something wrong
- Edit the properties of the bevel and change it to look like this

- Return to the stage
- Test your movie, while testing it, click on the button. You will see it looks like it has been pressed down.
- Exit out of the testing screen and back to the stage
- Right now it looks good but for the sake of learning, I will tell you how to apply alpha to it
- Click on the button while at the stage, at the properties panel, look for “Colour”. When you find it, select “Alpha”:

- Next to the alpha, set the % to 50:

- You will see that the button has faded a bit. Alpha is for transparency, the 50% that you entered means the object is 50% transparent. 0% means that the entire object is transparent and 100% means it is not transparent at all.
- Congratulations, you have gained knowledge of colours, gradients and filters. You can experiment around with those I will now leave you with a few notes.

“
NOTES:
- Linear is not the only type of gradient
- You can have alpha in colours
- You can have alpha in gradients
- The gradient transform tool isn’t the only way to alter gradients
- You can have more than one filter












Leave Your Response