title: How to change SWC component's width shown on the Flash IDE?
body: <p>I linked an item in library with an .as file.In this .as file,I write the class like this:</p>
  
  <pre><code>public class TextArea extends MovieClip 
  {
      .......
      public function setWidth(w:Number):void
      {
           this.width = w;
      }
  }
  </code></pre>
  
  <p><strong>Then I change the item to complied clip in library(It is same as complied as ***SWC*</strong> )**.I add it into stage and change it's property to fire the setWidth function.But the width just doesn't change.What should I do to change the Movie Clip's width?</p>
  
  <p>P.S. The child ,a TextField , in this item can be changed width. </p>
  
  <p><img src="https://i.stack.imgur.com/zqf9i.png" alt="enter image description here"></p>
  
  <p>In the pic, I put a SWC component on stage and the SWC only have one TextField as child.</p>
  
  <p>The Text field is given black border and the SWC is being selected,the blue border is its bounds.</p>
  
  <p><strong>And I print the <code>this.width</code> in text and the width is auto changed to adjust the text field.</strong></p>
  
  <p>But the blue border is what I want to change.It shows on Flash panel and stand for the transform bounds like this:</p>
  
  <p><img src="https://i.stack.imgur.com/DLOQi.png" alt="enter image description here"></p>
  
  <p>So, I don't have any trouble to change children's data. And now I found the class is like this:</p>
  
  <p><img src="https://i.stack.imgur.com/OAtVv.png" alt="enter image description here"></p>
  
  <p>There is a LivePreviewParent as <code>this.parent</code>. It provide the live preview of my swc on stage.And the size I change is absolutely changed,but I think the blue border is stand for the LivePreviewParent's border.</p>
  
  <p>However, change the size of LivePreviewParent is equal to change the component's size not the blue one.How strange the class is ! <strong>So I want to know the blue one is actually the LivePreviewParent's border? If yes , how to change it?</strong></p>