Why can't I add touch events to objects?
Me again. ![]()
I have been posting this question in different forms (including in the Adobe Bug Base) for several months but haven't been able to elicit a helpful response so I'm going to put the question at it's most basic in hopes of finding something out.
I have written an app that assigns touch events to sprites (movie clips). When testing the app on the computer it works just fine. But when I transfer it to the iPad the touch events disappear. Some of them work, and some of them don't. Adobe's responses haven't been able to help and they basically told me that objects can't hold touch events, that all touch events need to be assigned to the stage. However, even Adobe admits that doesn't make any sense for my app and they can't tell me how to make it work.
What I don't understand:
(a) This is an object oriented language and a touch environment. Why can't I assign touches to objects?
(b) How on earth does anyone actually get any app to work if touch events don't work on objects?
I feel like my problem probably has a very simple solution and I've invested hundreds of dollars in order to program this app in a familiar environment (upgrading to a version of flash that had the iOS compiler) and now it turns it it doesn't even work. I'm starting to learn Xcode but I'm really holding out hope. The way I see it, either
(a) I am missing something inherently fundamental about this language, or
(b) Adobe made a grievous oversight in the compiler.
I'm putting my money on A and yet after several months I still have not been able to get anyone to tell me what exactly I'm doing wrong.
I won't be tedious and link to my other forums here, but the bug base ID is 2940816.
Thanks ![]()
Amber