ok on mozilla there's no way to know the initial stage value,
cause also in the first frame the values of the stage are yet
resized..
The fix is to put this code on the first frame
_global.initStageH=400
_global.initStageW=600
and than replace this on the yamzbrowser component
if (Stage.scaleMode == "noScale") {
var lHeight = _global.initStageH;
var lWidth = _global.initStageW;
} else {
var lHeight = Stage.height;
var lWidth = Stage.width;
}
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1058736
and with publish settings on WIDTH="100%" HEIGHT="100%"
Logged In: YES
user_id=1058736
it seems to be because on mozilla the values
Yamzbrowser.stageHeight and width arent the INITIAL stage
values, as in explorer
Logged In: YES
user_id=1058736
ok on mozilla there's no way to know the initial stage value,
cause also in the first frame the values of the stage are yet
resized..
The fix is to put this code on the first frame
_global.initStageH=400
_global.initStageW=600
and than replace this on the yamzbrowser component
if (Stage.scaleMode == "noScale") {
var lHeight = _global.initStageH;
var lWidth = _global.initStageW;
} else {
var lHeight = Stage.height;
var lWidth = Stage.width;
}