View Full Version : Loaded movie streatches

12-01-2003, 09:32 PM
I am loading a movie into an empty MC in a MC names Growbox(hense the code below). The code below is what controls the movement and streatching of the MC growbox in combination with an MC named marker. I was thinking about making it so that the MC loader is not inside the movie but moves ontop of Growbox. also I was trying to think if there is a way to just streatch the two symbols inside growbox(shape & inside(they are both MC's)). I have attatched the file I hope this helps. thank you for any help you may be able to provide.

growbox_MC.onEnterFrame = function() {
if (running && Math.abs(marker_mc._x-growbox_MC._x || marker_mc._y-growbox_MC._y )<1) {
// set position and hang out
this._x = marker_mc._x;
this._y = marker_mc._y;
running = false;
//set slider1
this._x -= (this._x-marker_mc._x)*.2;
this._y -= (this._y-marker_mc._y)*.2;
this._xscale -= (this._xscale-marker_mc._xscale)*.2;
this._yscale -= (this._yscale-marker_mc._yscale)*.2;

12-01-2003, 09:34 PM
Also the position and scale of growbox is controlled by actions on the buttons in the MC webnav.