I’m just learning about the Tween class and it’s going fine. However I have a case where I want a tween to run one time and then become inactive. I have an airphoto which the user can click anywhere to zoom in on and using this code:
airPhoto_mc.onPress = function(){
new Tween(airPhoto_mc, "_yscale", Strong.easeInOut, 100, 200, 2, true);
new Tween(airPhoto_mc, "_xscale", Strong.easeInOut, 100, 200, 2, true);
};
(I attempted to use the Zoom tween but couldn’t figure out the parameters it took.)
But I want this to run once and not have the photo zoom everytime someone clicks. Any help will be appreciated!