Flash ?

Out of context: Reply #2

  • Started
  • Last post
  • 3 Responses
  • uprise0

    well, I can't because that throws my other elements off. My main mc I want to keep centered. Sorry I guess it is hard to guess what the hell I am doing. Here is the whole script.

    function positionMain() {
    main._x = Stage.width / 2 - (main._width / 2);
    }

    logo._x = 0;
    Stage.align = "L";
    Stage.scaleMode = "noScale";

    stageListener = new Object();
    stageListener.onResize = function() {
    expandTop();
    };
    Stage.addListener(stageListener...
    expandTop = function() {
    rightbox._x = Stage.width - rightbox._width - 0;
    bgholder._width = Stage.width;
    //bgholder._height = Stage.height;
    };

    Stage.addListener(main);
    main.onResize = positionMain;
    positionMain();
    stageListener.onResize();

    stop();

View thread