I’m having a hard time trying to figure out how to put boundaries on a slider menu I developed.
Here is my code that I have:
var myShape:Shape = new Shape();
menu_mc.x = menu_mc.x + (0.5* myShape.width - mouseX) / 40;
it works great, but the menu system doesn’t stop, it just keeps on going. So far everything I have tried isn’t working. Any ideas?
Thanks for the help!