2 Replies Latest reply on Apr 14, 2010 11:28 AM by tom65536

    FullScreen problem with MovieClipLoader

    tom65536 Level 1

      Hi and thanks very very much for reading.

       

      My problem is:  When I load a .swf via MovieClipLoader in ActionScript 2 -- Stage["fullScreen"] no longer works.  I am stuck in "normal" for the Stage. 

       

      If I run the loaded SWF without the preloader, then everything works fine and I can get to fullscreen mode.  So it seems the problem has to do with the preloader.

       

      I am using loadMovieNum("FSTest.swf",0) to bring the loaded clip to Root level.  Thought that would solve my problem but it doesn't. 

       

      Here is some test code that demonstrates my problem.  You can see it run at: http://www.tommygameco.com/TestLoader.html

       

      TESTLOADER.FLA:  (preloader)

      ------------------------------

      var container:MovieClip = this.createEmptyMovieClip("container", this.getNextHighestDepth());

      var FS_mc:MovieClip = container.createEmptyMovieClip("FSClip", container.getNextHighestDepth());

      var mcLoader:MovieClipLoader = new MovieClipLoader();

      var listener:Object = new Object();

      var interval:Object = new Object();

       

      listener.onLoadInit = function() {

      // make loaded movie _root

      loadMovieNum("FSTest.swf",0);

      }

       

      mcLoader.addListener(listener);

      mcLoader.loadClip("FSTest.swf", FS_mc);

       

      stop();

       

      FSTEST.FLA:  (Loaded Movie)

      --------------------------------------------

      fsbutton.onRelease = function() {

      Stage["displayState"]="fullScreen";

      stageState.text = Stage["displayState"];

      }

       

      Thanks again!!  Any Clues are greatly appreciated!!!

      Tom