Add a "+", mickey sends 1 and -1, depending on the direction you scroll the mouse wheel.


function zoom()
{
while(1)
{
object1.scale_x += (mickey.z*0.1*time_step);
object2.scale_y += (mickey.z*0.1*time_step);
wait(1);
}
}