yarekcg
asked on
How to create a simple "throw object" gesture on as3 / air mobile ?
Hello,
I am trying to achieve a simple throw effect in as3:
I put my finger on the screen and then swipe it as if I throw an object.
The goal is to simulate a ball movement according to the swipe (direction, speed)
What getsure should I use ?
I tried TransformGestureEvent.GEST URE_SWIPE
But this just give me the direction (left right, top, bottom) and no velocity or force or speed.
regards
I am trying to achieve a simple throw effect in as3:
I put my finger on the screen and then swipe it as if I throw an object.
The goal is to simulate a ball movement according to the swipe (direction, speed)
What getsure should I use ?
I tried TransformGestureEvent.GEST
But this just give me the direction (left right, top, bottom) and no velocity or force or speed.
regards
ASKER
No at all : I have read it: this is totally the contrary of what I try to achieve: this SWIPE just gives me direction without any other indications.
Regards
Regards
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.republicofcode.com/tutorials/flash/as3swipegesture/