title: CreateJS how to animate a rectangles width and height?
body: <p>So I am trying to animate a rectangles size with Createjs. I found there are two ways to create a rectangle. Either:</p>
  
  <pre><code>var rectangle = new createjs.Rectangle(0,0,100,100);
  </code></pre>
  
  <p>or </p>
  
  <pre><code>var rectangle = createjs.Shape();
  rectangle.graphics.beginFill("000000").drawRect(x,y,w,h);
  </code></pre>
  
  <p>when I add it to the stage on the first call it doesn't add. However I seem to be able to access the rectangles height and width with rectangle.width and rectangle.height. However; on the second call I don't have this sort of control. What I would like to do is access these properties with a Tween.</p>
  
  <pre><code>createjs.Tween.get(rectangle).to({width:###, height:###}, timeinmilli);
  </code></pre>
  
  <p>The only thing that I've had some success with is rectangle.scaleX and rectangle.scaleY however this moves the rectangle across the screen accordingly and I do not want this. Anyone know of some easy solutions to access and rectangles height and width properties in order to animate with them?</p>