0 Replies Latest reply on Mar 20, 2007 7:32 AM by Kun Niu

    Problem about set the size of an image

    Kun Niu
      Dear all,

      I encountered the following problem when programming with action script.

      I've got an image component. And I'd like to load the picture dynamically.
      So I called the function loadMovie like this:
      this.loadMovie( url );
      It seems work for me.
      But when I wanted to change the size of the image, the picture disappeared.
      I added the following line under the loadMovie function:
      this._width=500;
      this._height=500;
      Would anyone be kind enough to give any hintsto solve my problem?

      Any help would be appreciated and thanks in advance.