doesn't address the problem -- resizing the image to a fixed ratio
that may not be the ratio of the loaded image, so it becomes distorted.
-Marc Hoffman
At 10:43 AM 11/1/2006, you wrote:
this.holder.loadMovie("some.jpg");
this.onEnterFrame = function() {
if (this.holder._width > 4) {
this.holder.loadMovie("some.jpg");
this.onEnterFrame = function() {
if (this.holder._width > 4) {
resizeHolder();
delete this.onEnterFrame;
}
};
function resizeHolder() {
holder._width = w;
holder._height = h;
}
___
2 matches
Mail list logo