1 Reply Latest reply on Jan 3, 2007 1:10 AM by arunbe

    Flash 7 & loadClip.


      I use the following code in flash 7 . I cant see my pic file even though I can see in flash 8. My gif file is not animated one.
      Can anyone help me on this? And I specify my movie clip width and height but it always return me 0. I use trace to display my movie clip width and height.
      var container:MovieClip = createEmptyMovieClip("container", getNextHighestDepth());
      var mcLoader:MovieClipLoader = new MovieClipLoader();
      container._x =10;
      container._y =10;
      this._width = this._width-0.1;
      this._height = this._height-0.1;
      mcLoader.loadClip("C:\\TheSu\\Projects\\flash\\171006\\logo\\SQ.gif", container);
      container._xscale =100;
      container._yscale = 100;

      function onLoadInit(mc:MovieClip) {
      trace("onLoadInit: " + mc);
      with regards,