1 Reply Latest reply on Oct 18, 2006 5:39 AM by AnandMX

    Exact Positioning for External .swf files

    viiespk
      Greetings. I am trying to do something seemingly simple, I have a Flash clip, with this script to resize upon loading in the browser to full. Here is my script for that:

      Stage.scaleMode = "noScale";
      Stage.align = "TL";
      stageListener = new Object();
      stageListener.onResize = function() {
      };
      Stage.addListener(stageListener);

      empty_mc.loadMovie("EB.swf");

      I am trying to externally load EB.swf in the exact center of the of the full browser clip. Can somebody help with the script to place this in the center. I would also like to figure out how to place other items in absolute positions, as well as how to get say a background imagine to SCALE with the browser that resizes, or other elements such as a header or footer. I would really appreciate any help or direction here.