1. Home
  2. Computing & Technology
  3. Animation

Deconstructing the Paint Application VI: The Gradient Rectangle Tool

By Adrien-Luc Sanders, About.com

1 of 8

Setting the Active 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”;
}
Explore Animation
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Animation
  4. Flash Animation Tutorials
  5. Deconstructing the Paint Application VI: The Gradient Rectangle Tool

©2009 About.com, a part of The New York Times Company.

All rights reserved.