1 Reply Latest reply on Sep 18, 2009 4:36 AM by Saransoft84

    moviecliploader - scale problem

    danicarrete

      hello!

      i have this fla that loads some movie clips, and the fla is configured to scale to 100% of the screen when published.

      the problem is I need that some of this movie clips im loading DO NOT scale, even though the root is scaled..... is there a way to do that?

      this is the code im using, its a button:


      button.onRelease = function(){
      var objOuvinte:Object = new Object();
      var objMCLoader:MovieClipLoader = new MovieClipLoader();
      objMCLoader.loadClip("roupa.swf",carrega);
      objMCLoader.addListener(objOuvinte);
      }

      I tried to add an action Stage.scaleMode inside the loaded swf file, but then he resizes the root!

       

      please help, I searched the web several times and got no success.

       

      thanks a lot!

        • 1. Re: moviecliploader - scale problem
          Saransoft84 Level 3

          Hi,

           

          Try this..

           

          button.onRelease = function(){

          var objOuvinte:Object = new Object();

          var objMCLoader:MovieClipLoader = new MovieClipLoader();

          objMCLoader.loadClip("roupa.swf",carrega);

          objMCLoader.addListener(objOuvinte);

           

          objOuvinte.onLoadInit = function(mc:MovieClip){

          mc._xscale = 100;

          mc._yscale = 100;

          }

          }

           

          u can change the xscale and yscale.

          Saransoft