ࡱ> Rg2 ContentsPage 1DSymbol 1YR£ ContentsPage 1 Symbol 1Y  CPicPage CPicLayer CPicFrame CPicShapefs`0 0808?Yo Layer 1OCPicPage CPicLayer CPicFrame CPicSprite. .nonClipEvent (load) { // get the original width and heigh of the mc origWidth = this._width; origHeight = this._height; } onClipEvent (enterFrame) { // get the distance from the center of the mc to the mouse dx = _root._xmouse-this._x; dy = _root._ymouse-this._y; // calculate the percentage of scale sx = 100*dx/(origWidth/2); sy = 100*dy/(origHeight/2); // set the scale of the mc this._xscale = sx; this._yscale = sy; } ?