var clip = this.createEmptyMovieClip("box_mc", this.getNextHighestDepth());
with (clip) {
lineStyle(0, 0xFFFFFFF, 40);
beginFill(0xFFFFFF, 100);
lineTo(Stage.width, 0);
lineTo(Stage.width, 100);
lineTo(0, 100);
lineTo(0, 0);
endFill();
_y = 40;
}
stageResize = function(){
**
//clip._width = Stage.width;
//box_mc._width = Stage.width;
//_root.clip._width = Stage.width;
//_root.clip._width = Stage.width;
// nor with _x
Why does this not work?
**}
stageResize();
var stageListener:Object = new Object();
stageListener.onResize = function() {
stageResize();
};
Stage.addListener(stageListener);