I'm trying to embed test.swf, which consists of a black box with the following properties:
width:100, height:100; x:100, y:100
I also have this actionscript linked to it:
w = Stage.width;
h = Stage.height;
theBox._width = w;
theBox._height = h;
theBox._x = 0;
theBox._y = 0;
If I specify 400 and 300 as the width and height when embedding, the width is shown correctly but for some reason the height becomes 291. How would I go about correcting this?
width:100, height:100; x:100, y:100
I also have this actionscript linked to it:
w = Stage.width;
h = Stage.height;
theBox._width = w;
theBox._height = h;
theBox._x = 0;
theBox._y = 0;
If I specify 400 and 300 as the width and height when embedding, the width is shown correctly but for some reason the height becomes 291. How would I go about correcting this?