PDA

View Full Version : I'm having a problem making a few things work right together...



xmattx
January 27th, 2004, 06:29 PM
ok so there are two movies, 1 is the parent movie the other is a background image that is dynamically loaded into the parent.

in the first frame of the parent movie:


choice = Math.round(Math.random()*0);
switch (choice) {
case 0 :
blank.loadMovie("flash/image1.swf");
break;
}

and


Stage.scaleMode = "noScale";
Stage.align = "LT";

and in the first frame on the background MC:

this.resizable_mc._width = Stage.width;
this.resizable_mc._height = Stage.height;
this.resizable_mc._x = this.resizable_mc._y = 0;
this.resizable_mc.onResize = function() {
this._width = this.width;
this._height = this.height;
};
Stage.addListener(this.resizable_mc);

as you can see im trying to dynamically load a background image that will be 100% of the browser window size, it isnt working however!

thanks for anyones help! C:-)

xmattx
January 28th, 2004, 12:13 AM
i should mention:
the dynamically loading part is working fine, however the fullscreen part is not working for the dynamically loaded MC.

hope that helps your response. thanks!

xmattx
January 28th, 2004, 06:19 PM
any help ?
please :)