I have read the tutorial http://www.kirupa.com/developer/mx/perspective.asp
and i have a question about it…
The script looks like this:
onClipEvent (load)
{
z=0;
zspeed=5;
fl=300;
}
onClipEvent(enterFrame)
{
scale=fl/(fl+z);
_xscale=_yscale=100*scale;
z+=zspeed;
}
Question: How do I stop the object to get negative(upsidedown) when I use zspeed=negative, I want it to stop before it turns around