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

Button

New Here ,
Feb 26, 2021 Feb 26, 2021

Copy link to clipboard

Copied

i have a question. i hope you guys help me afap. i created a button that can go to certain frame. that certain frame also have another button. the first button is working perfectly but the second button is not working. i put this.stop() for the first frame. so i think this.stop() is the problem but i can change it because my frame will no stop. do you guys have any idea? thanyou for your response 

Views

148

Translate

Translate

Report

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 ,
Feb 26, 2021 Feb 26, 2021

Copy link to clipboard

Copied

this.stop() is not part of the problem.

 

0. is your problematic button tweened?

1. what's the code for the problematic button?

2. what frame contains the problematic button?

3. what frame contains the code from 1?

Votes

Translate

Translate

Report

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 ,
Feb 26, 2021 Feb 26, 2021

Copy link to clipboard

Copied

This is the first button action code at first frame to go to second frame:

this.btnmenu.addEventListener("click", fl_ClickToGoToAndStopAtFrame_2.bind(this));

function fl_ClickToGoToAndStopAtFrame_2()
{
this.gotoAndStop(63);
}

This is the stop code for stop the first frame:

this.stop();

 

This is the button action code at the second frame to got to third frame that is not working:

this.btndrinks.addEventListener("click", fl_ClickToGoToAndStopAtFrame_6.bind(this));

function fl_ClickToGoToAndStopAtFrame_6()
{
this.gotoAndStop(75);
}

Votes

Translate

Translate

Report

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 ,
Feb 26, 2021 Feb 26, 2021

Copy link to clipboard

Copied

LATEST

you answered question 1.  the other answers are?

 

0. is your problematic button tweened?

1. what's the code for the problematic button?

2. what frame contains the problematic button?

3. what frame contains the code from 1?

Votes

Translate

Translate

Report

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