I am having an issue with touch and drag events with wck under flash CS5.5
I haven't been doing anything too advanced, pretty much set up a project like this: http://gotoandlearn.com/play.php?id=135
I have a .BodyShape that I want to be able to drag around and have it bounce of walls when released. When I publish to FLash Player all works ok - I am able to drag the .BodyShape with the mouse. When I publish with air for iOS (inCS5.5) and test on my iPad, it's not so ok. On being touched the .BodyShape initially jumps away from the point of touch by a varying distance, it can then be dragged as normal.
I'm not sure why this is happening. It seems like wck is seeing the asset as larger than it is and shifting the registration point for the touch from the centre of the asset.
I guess I might be be missing something to make it properly handle touch events?
I have attached the project file and link to a video of what is going on: http://vimeo.com/34978769
Any ideas greatly appreciated as I am a bit stuck at the moment!
Post about the Flash World Construction Kit and the Alchemy port of Box2D.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests