Home    >    Tutorials    >    Mouseovers with Custom Brushes
Download this tutorialDownload (??kb)
E-mail this tutorial to a friendEmail to Friend

Mouseovers with Custom Brushes
Created by: ZooAtHome

You can use the custom brush to create mouseover effects like the one above.
Create a new image: 200 x 200 pixels, background white, 16 m colors.
Set your foreground color to a dark green and your background color to a medium green.
Click on the Selection tool and set as follows:
Selection Type = Rectangle
Feather = 0
Antialias = checked
Create a rectangular selection, approximately 1 1/2 inches long and 1/2 inch high.
Click on the Flood Fill tool and set as follows:
PSP 5:
Fill Style = Solid Color
Match Mode = None
Tolerance = 1
Opacity = 100
Sample merged = unchecked

PSP 6:
Fill style = Solid Color
Blend mode = Normal
Paper texture = None
Match mode = None
Tolerance = n/a
Opacity = 100
Sample merged = unchecked

Right-click into the selection to fill it with the medium green. Do not deselect.
Go to Image || Effects || Buttonize. Set as follows:
Height and Width = 10
Opacity = 60
Transparent edge = checked

Click on OK and deselect the area (Selections || Select None or Ctrl+D).

Click on the Text tool and then into the image to bring up the dialog box.

Enter a short word into the text box (i.e. PSPUG) and set the values as desired. (I recommend a size of about 12-14.) Make sure Antialias and Floating are both checked and click on OK.

Drag the text to its position in the middle of the button and deselect.

If the Layer palette is not visible, press "L" to show it. Create a new layer by holding down the Shift key and clicking on the New Layer button.

Click on the Paintbrush. In the Controls palette, click on the Brush Tip tab.

PSP 6: In the Tool Options Palette, click on tab 1.

Click on the Custom Brush button (the small button with the brush and the arrow). Choose "Custom" from the drop-down list. Scroll through the custom brushes to find the leaf and click on it. Click on OK.

Make sure the top layer is active and click once into the image to create a leaf.

Of course, this leaf is bigger than our button, we need to resize it.

Go to Image || Resize. Check "Percentage of Original" and enter a value of 25. Make sure "Resize All Layers" is unchecked and click on OK.

Your leaf should now fit your button.

Click on the Mover tool and drag the leaf over the button, to the left of the text.

Click on the Magic Wand and set as follows:
Match Mode = RGB Value
Tolerance = 1
Feather = 0
Sample merged = unchecked
Click outside the leaf. Go to Selections || Invert to change the selected area to the leaf.
Go to Edit || Copy (Ctrl+C), then to Edit || Paste || As New Selection (Ctrl+E). This adds a second leaf to the image. Do not deselect.

Go to Image || Mirror to create a mirror image. Do not deselect.

Drag the new leaf over the button, to the right of the text. Deselect.

Use the Crop tool to crop your image to fit the button: With your mouse, drag a crop box around your button and click on "Crop Image" in your Control / Tool Options palette.

Go to Window || Duplicate. You should now have two identical images.

Make the top layer invisible in one image, so you have one button with leaves and one without.

Merge layers for both images (Layers || Merge || Merge All). Save in the desired format.

Your buttons are now ready to plug into the mouseover script, which can be found here