Letter to the editor

Where do you report mistakes or typos when you see them? I noticed two lines of code were wrong in a tutorial.

This tutorial:
http://www.kirupa.com/developer/flash8/scrollbar7.htm


btnUp.onPress = function() {

this.onEnterFrame = function() {

if (contentMain._y+speed<maskedView._y) {

if (scrollFace._y<=top) {

scrollFace._y = top;
contentMain._y += speed;

} else {

contentMain._y += speed;
scrollFace._y -= speed/moveVal;

}

} else {

scrollFace._y = top;
contentMain._y = maskedView._y;
delete this.onEnterFrame;

}

};

};

That block of code that says “maskedView._y” should actually say “initContentPos”.