rendered paste bodyimport flash.geom.Rectangle;
var container:MovieClip = setUpContainer();
var window:Rectangle = new Rectangle(0, 0, 400, 300);
container.scrollRect = window;
function setUpContainer():MovieClip {
var mc:MovieClip = this.createEmptyMovieClip("container", this.getNextHighestDepth());
//mc.cacheAsBitmap = true;
mc._x = 50;
mc._y = 50;
var _content:MovieClip = mc.attachMovie("_content", "_content", mc.getNextHighestDepth());
//_content.cacheAsBitmap = true;
//_content.startDrag (true);
onMouseDown = function () {
trace(_content._height)
_content.onEnterFrame = function() {
this._y += 5;
};
};
onMouseUp = function () {
delete _content.onEnterFrame;
};
return mc;
}