Hey Everyone;
Im trying to limit a button with a variable if clicked once at a time its fine but if the mouse is held down it passes the set limit until the mouse is released!
ie. it zooms in w/o stopping.
Im controlling the zooming clip with buttons but I want the on(press) to only
click once at a time and not zoom constantly once mouse is held down.
Anyone know of a work around??
on(press) {
if (zoomMC.tzoom <= 140){
zoomMC.tzoomc=0;
}
else{
zoomMC.tzoomc=-2;
}
}
on (release, releaseOutside) {
_level0.host.zoomMC.tzoomc=0;
}
Any help mucho appreciated…
Darren