5 Replies Latest reply on May 14, 2009 12:47 PM by kglad

    centering a background image

    AdrianLe

      I'm told that the following chunk of script will center the stage on resize, but not knowing much of anything about actionscript, I'm not sure how to use it? Help?

       

      myListener = new Object();
      myListener .onResize = function () { ... }
      Stage.addListener( myListener );
      // later ...
      Stage.removeListener( myListener );