Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Clickable Swipe Menu

New Here ,
Jan 04, 2016 Jan 04, 2016

How to Swipe Menu and click buttons. Page 1 of menu contains many buttons.

TOPICS
ActionScript
428
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 05, 2016 Jan 05, 2016

what code are you using to detect a swipe?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 05, 2016 Jan 05, 2016

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 05, 2016 Jan 05, 2016

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;

}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 07, 2016 Jan 07, 2016

where i am to put that codes. because the page 1 2 3 4 are in grouped

Untitled.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 07, 2016 Jan 07, 2016
LATEST

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;

}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines