Oh k. I’m doing a easing out transistion and right now I’m using some scaling code.
onClipEvent(enterFrame) {
if(grdChk == 1 && _root.Grades._width >= xSclTmp) {
_root.Grades._xscale -= 4;
_root.Grades._yscale -= 4;
_root.Grades._x += -53/speed;
_root.Grades._y += -29/speed;
_root.Subject._xscale -= 4;
_root.Subject._yscale -= 4;
_root.Subject._x += -90/speed;
_root.Subject._y += -5/speed;
}
}
As you can see I am scale down 2 MC’s.
Now the question is on like “_root.Subject._x += -90/speed;” when speed is = 5, how come the _x will decrease but won’t let it go into the negatives? When I trace it out this is what I get:
237
219.1
201.15
183.25
165.3
147.4
129.5
111.55
93.65
75.7
57.8
39.9
21.95
4.05
Can somebody explain this to me real quick? I am tryin to use this sorta function to program an _alpha fade but can’t get it to stop.