pbjpb
03-28-2003, 03:40 PM
i found a bug in the new flash player 6. if you update your player right now, and try to load a JPG into a MC inside another MC with this code on the inner MC:
onClipEvent (load) {
var pw = _parent._width;
var ph = _parent._height;
var cw = this._width;
var ch = this._height;
this._x = Math.round(pw/2-cw/2);
this._y = Math.round(ph/2-ch/2);
}
it WON'T be centered. it would center on the previous version 6 player. can anyone tell me how to alert macromedia about this??? thanks!
onClipEvent (load) {
var pw = _parent._width;
var ph = _parent._height;
var cw = this._width;
var ch = this._height;
this._x = Math.round(pw/2-cw/2);
this._y = Math.round(ph/2-ch/2);
}
it WON'T be centered. it would center on the previous version 6 player. can anyone tell me how to alert macromedia about this??? thanks!