January 31, 2013 at 6:24 pm #9899
I'm not sure how to do this or if it can be done. I want to have a layer with an image that the user can “draw” around. I want to detect when they have “released” their finger and then swap in a different image. I really don't care how long they “draw”, or how closely they match the outline of the first image, I just want to know when they stop drawing so I can swap in the other image.Can this be done and if so how?AnonymousJanuary 31, 2013 at 9:56 pm #14061
Why simply not set the “outline” image as a button then “onRelease” (meaning the user clicked and released the button) you trigger the “go to new page”? For doing that, all you need to do is to set the outline layer as a button, then select “Press” option (instead of Tap).January 31, 2013 at 11:16 pm #14062
D'oh – how simple. I was making it much harder than it had to be!!!! Thank you.February 1, 2013 at 3:46 pm #14063
I am confused – I have my two layers set up, the one I want to hide when the button is released on top of the one I want to be visible when the button is released. I set layer 1 to a button, set the button to press, tell it to hide that button and it gives me the action, the data, the params in the data window, the id, etc but won't let me create it. I hit create and it just sits there looking stupid. The second layer is directly under the first and hiding the first on release will make layer 2 visible - exactly as I need it to, but why won't it let me finish creating the button? I have tried it several times with the same results. What am I missing?
You must be logged in to reply to this topic.