Lock Up those Unruly Gradients

[ LiB ] 

graphics/030fig04.gif

graphics/030fig05.gif

Naturally, when you fill a shape using the Paint Bucket Tool, the fill is scaled to fit into that shape. This is not the only way. Draw a few shapes of various sizes in different places all over your stage. It doesn't matter which fill you use for now. Activate the Paint Bucket Tool and set your fill to a gradient or bitmap. With the Paint Bucket still active, turn Lock Fill on by pressing the right button in the option area of the Toolbar. Continue by clicking over each of the shapes on your stage and you'll see that the fill appears to spread over all the shapes instead of being scaled to fit each one. It's almost like creating a Mask, but much easier. The Lock Fill option is also available for the Paint Brush Tool, enabling you to paint as if revealing an image. Obviously this wouldn't be very helpful if you used a solid fill; it only works with a gradient or bitmap fill.

[ LiB ] 


Macromedia Flash MX 2004 Killer Tips
Macromedia Flash MX 2004 Killer Tips
ISBN: 0735713839
EAN: 2147483647
Year: 2003
Pages: 300
Authors: Shane Elliott

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net