1 Reply Latest reply on Jun 23, 2006 11:08 AM by squipple

    swf in swf

    byenary Level 1
      Hello within my movie i try to load another movie wich goes fine but...
      loadMovie(tmpStr,clip);

      I want to movie to be full screen (i mean the full size of the original movie)

      How should i handle this ?
        • 1. Re: swf in swf
          squipple
          Well, one obvious solution is to make the content loading in the same size :)

          But, I'm guessing you've got many sizes of things you're loading. Using the content from the loadMovie provided, this will make the mc named 'clip' size to the size of the swf's stage once it's loaded. This assumes the mc named 'clip' is a blank mc and is positioned at 0,0.

          onEnterFrame = function () {
          if (clip._width>0) {
          clipSize();
          onEnterFrame = null;
          }
          };
          function clipSize() {
          clip._width = Stage.width;
          clip._height = Stage.height;
          }