Hi,
I have several image objects displayed next two each other on the screen (Obj1, Obj2, Obj3) and I need to determine when the user swipes across all three objects in a single swipe, i.e. the touch begins on Obj1, moves across Obj 2, and ends on Obj 3 (or even ends “past” Obj 3). What is the best way to implement this? I’ve considered using a single EventListener for Obj 1 and then using display.getCurrentStage():setFocus( self ). Then I could use changes in the event.x coordinates to determine which objects the swipe went across and ended on. However, that seems like a pretty clunky implementation and I’d rather not have to separately hard code this for each of the 30 pages of my app that employs this type of swipe feature (since the objects on each page will have different x coordinates due to differing sizes).
Can anyone give any advice here? I’d greatly appreciate it.
Thanks! [import]uid: 76002 topic_id: 14226 reply_id: 314226[/import]