+1
Résolu
Can you call multiple actions on multiple panels by dragging a finger across these panels?
Here's my situation: I've got multiple panels sitting next to each other with "onclick" attributes. Tapping on each panel correctly fires the appropriate action. But I'd love it if I could drag my finger across a few panels to fire a few different actions. Is there a way to do it?
Here's a use case to better illustrate it: If you're building a piano keyboard app and draw out your keys with panels, setting "onclick" to play that note, you can definitely tap keys to hear the right notes. But I want to play a glissando, running my finger from one key to another and playing every note as I hit it. Is there any way to do this?
Here's a use case to better illustrate it: If you're building a piano keyboard app and draw out your keys with panels, setting "onclick" to play that note, you can definitely tap keys to hear the right notes. But I want to play a glissando, running my finger from one key to another and playing every note as I hit it. Is there any way to do this?
Service d'assistance aux clients par UserEcho
Try this code:
Should I invite icahill at rarewire or do you use a different email address?
The trouble here is that we have a panel over all the other objects so it is the first line of contact with a touch. We may have to consider another method if you want to use both action triggers. We could set it to ignore touches but then it wouldn't move onhover....hm.
The best way to acheive this is to create a transparent panel onclick and use the onhover action to drive any dynamic movements. Similar to the example above. This isn't really something we have spent a lot of time on, but if you have well defined requirements, I could look into it deeper. There might be something we can do to make it work.