home *** CD-ROM | disk | FTP | other *** search
- stop();
- if(origYScale == null)
- {
- origYScale = getProperty("scrollBar", _yscale);
- }
- viewAreaTop = getProperty("../viewArea", _Y);
- viewAreaBottom = Number(getProperty("../viewArea", _Y)) + Number(getProperty("../viewArea", _height));
- scrollBarRatio = getProperty("../viewArea", _height) / getProperty("../scroller", _height);
- if(Number(_yscale * scrollBarRatio / 100 * origYScale) < Number(origYScale / 12))
- {
- setProperty("ScrollBar", _yscale, origYScale / 12);
- }
- else
- {
- setProperty("scrollBar", _yscale, _yscale * scrollBarRatio / 100 * origYScale);
- }
- scrollTravel = getProperty("scrollConstraint", _height) - getProperty("scrollBar", _height);
- realTravel = getProperty("../scroller", _height) - getProperty("../viewArea", _height);
- scrollConstraintLeft = getProperty("scrollConstraint", _X);
- scrollConstraintTop = getProperty("scrollConstraint", _Y);
- scrollConstraintRight = getProperty("scrollConstraint", _X);
- scrollConstraintBottom = Number(getProperty("scrollConstraint", _Y)) + Number(getProperty("scrollConstraint", _height)) - getProperty("scrollBar", _height);
-