1. Computing

Deconstructing the Paint Application VI: The Gradient Rectangle Tool

By

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”; 
}

©2014 About.com. All rights reserved.