
3Eyes
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Store
FAQ
Showcase
Product
Blog
ScrollTrigger Demos
Downloads
Posts posted by 3Eyes
-
-
Hi,
I'm a bit new to AS3 and have a simple question to ask.
I'm making a card game and use TweenLite to animate the cards coming off the deck. I would like the user to have the option of speeding up the animation though. Is there any way I can make it so that while my tween is moving the card, and the user clicks the mouse anywhere on the screen, it changes its duration to a shorter time (deals the card faster, during the tween)?
Any help is much appreciated!
Clicking the mouse to change the tween duration?
in GSAP (Flash)
Posted
I apologize because I know this has nothing to do with TweenMax, but how would I set up an event listener to do this? I know how to set one up to listen for a click on abutton or movieclip, but not anywhere on the screen.
Thank you!