For PSP V56Home   >   Tutorials   >   PSP V7 Effects   >
Mouseovers with Custom Brushes
E-mail this tutorial to a friendEmail to Friend

Mouseovers with Custom Brushes
Created by: Zu

 
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.
 
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:
Blend mode = Normal
Match mode = None
Tolerance = n/a
Opacity = 100
Sample merged = unchecked
 
Set your foreground style to Solid Color (click on the arrow in your Foreground Style box and choose the icon on the left), then click into the Foreground Style box and set your foreground color to a medium green. Your foreground texture should be set to None.
 
Click into the selection to fill it with the medium green. Do not deselect.
 
Go to Effects || 3D 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.) For the Styles, set Stroke to None and Fill to Solid Color, click into the Fill box and choose a dark green. Set your textures to None. 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. Click on the Custom Brush button on tab 1 (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 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