1. Computing & Technology

Discuss in my forum

Deconstructing the Paint Application VI: The Gradient Rectangle Tool

By , About.com Guide

1 of 8

Setting the Active Tool
Deconstructing the Paint Application VI: The Gradient Rectangle Tool
For the next tool in the group, let’s look at the Gradient Rectangle tool. Just like with all the others, the first thing that we need to do is set up the button to change _root.isactive (the variable representing our active tool) to the gradient rectangle:
on (release) { 
_root.isactive = “gradientrec”; 
}

©2012 About.com. All rights reserved.

A part of The New York Times Company.