swf background color

Out of context: Reply #19

  • Started
  • Last post
  • 22 Responses
  • enobrev0

    here's something i use on occassion:

    var current_layer = 1;

    left = 0;
    top = 0;
    width = Stage.width;
    height = Stage.height;
    right = left + width;
    bottom = top + height;

    _root.createEmptyMovieClip("bg", ++current_layer);
    with (this.bg) {
    beginFill(0x006600, 100);
    moveTo(left, top);
    lineTo(right, top);
    lineTo(right, bottom);
    lineTo(left, bottom);
    lineTo(left, top);
    endFill();
    }

    just draws a box...

View thread