i hope somone can help me with this, it is a relatively basic actionscripting question.
i have a virtual tour that i’m doing and in that i want to have controls to zoom in and out on the map as well as pan the map view so that one can effectively scroll around the map while zoomed in. i want to know how to set limits to the variables
so that i can say:
_x -= 5
while _x is less than 300
this would tell the object onPress to move left 5 pixels until it hits a value of 300
how would i set that limit in actionscript?