09-14-2012 01:52 PM
After creating some code that moves, rotates and re-sizes controls (i.e. imageView, label) (found here) I began to notice that objects don't interact very well together when both are touched at the same time.
Is there a way to disable touch interaction of an object or control if another control has already been touched?
09-19-2012 11:20 AM
Hi CrozyBB,
please have a look at this, hope it helps. https://developer.blackberry.com/cascades/referenc
09-19-2012 11:35 AM
Thanks amarcon, I looked through that a couple days ago and thought I was on the right track by setting the touch propagation mode to PassThrough for each element (i.e. imageView in my case) that was not being touch by the user.
However, I ran into a problem where if an element that was not being touched and was also layered above the element that was being touched it would not flow underneath it. This also essentially stopped the touch interaction with the element that was being touched.
With that said I was hoping there would be some way that I could bring an element that was touched by the user to the top and overlay all the other elements. To get an idea of what I would like to accomplish here you can take a look at the Scrapbook app for PlayBook -> even if an image is overlayed by other images, once it is touched by the user it then overlays all other images.
I started another thread on this specific issue (here) so we can close down this thread to make things easier