Copy link to clipboard
Copied
How to Swipe Menu and click buttons. Page 1 of menu contains many buttons.
Copy link to clipboard
Copied
what code are you using to detect a swipe?
Copy link to clipboard
Copied
what do you mean? i just try to experiment the example templates on Adobe Flash CS6. its the swipe gallery, is it possible?
Sent from my iPhone
Copy link to clipboard
Copied
you detect clicks and swipes using code.
because you don't appear to have much experience using code, try adding a basic click detector to your swipe project:
yourclickable.addEventListener(MouseEvent.CLICK,clickF):
function clickF(e:MouseEvent):void{
e.currentTarget.rotation+=30;
}
Copy link to clipboard
Copied
where i am to put that codes. because the page 1 2 3 4 are in grouped
Copy link to clipboard
Copied
put in your actions layer.
you'll need to use something like:
gallery_items.mc_1.addEventListener(MouseEvent.CLICK,clickF):
function clickF(e:MouseEvent):void{
e.currentTarget.rotation+=30;
}
Find more inspiration, events, and resources on the new Adobe Community
Explore Now