Menu

#5 bug with scale="noscale" on Mozilla browsers

open
nobody
None
5
2004-07-30
2004-07-30
beaver82
No

the browser button don't works, only with scale=noscale
tested on firefox 0.9 and mozilla 1.7

Discussion

  • beaver82

    beaver82 - 2004-07-30

    Logged In: YES
    user_id=1058736

    and with publish settings on WIDTH="100%" HEIGHT="100%"

     
  • beaver82

    beaver82 - 2004-07-30

    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

     
  • beaver82

    beaver82 - 2004-07-30

    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;
    }

     

Log in to post a comment.

MongoDB Logo MongoDB