March 15, 200620 yr I am trying to make a gauge to control the zoom factor.I cannot find any way to set the zoom at a specific setting, nor any way to read the actual zoom setting from the A:ZOOM_FACTOR. I can easily zoom in fine and zoom out fine, but cannot get it to stop where I want it to.I suspect I am chasing a ghost, but has anyone ever figured out how to set the zoom?Steve
March 15, 200620 yr Steve,You can try it with a L:Var.Say:Startup(L:Zoom,number) 0 != if{ 0 (>L:Zoom,number) (>K:ZOOM_1X) } And then(L:Zoom,number) 1 - -5 max (>L:Zoom,number)(>K:ZOOM_OUT) (L:Zoom,number) 1 + 5 min (>L:Zoom,number)(>K:ZOOM_IN) Last but..Read (L:Zoom,number)Adapt the zoom scale with (L:zoom,number) + or -(the 5), dependant of zoom fine!Hope it helps,Jan"Beatus ille qui procul negotiis..." Jan "Beatus ille qui procul negotiis..."
March 16, 200620 yr It seems that no matter what I put in front of the (>K:ZOOM_OUT_FINE) it just zooms out till its maxed at 0.31. No stopping or slowing down, regardless of if I put a 0 or 1000 there.Steve
Create an account or sign in to comment