flash site question

Out of context: Reply #4

  • Started
  • Last post
  • 5 Responses
  • ItTango0

    //create a movieclip and give it the instance name "square"
    then pop this code into frame 1//

    square._x = Stage.width/2;
    square._y = Stage.height;
    var stageL:Object = new Object();
    stageL.onResize = function() {
    square._x = Stage.width/2;
    square._y = Stage.height;
    };
    Stage.addListener(stageL);

    //html publish settings:
    dimensions: Percent = 100 X100
    Scale: No scale
    Flash alignment = Left/Top
    //

    should work.

View thread