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

List of buttons in Animation cc

New Here ,
Apr 16, 2017 Apr 16, 2017

Hi guys

I hope one helps me in Animation cc

I have a set of buttons when you click on one of them and move a certain frame when you return to the list of buttons. I want the button you press to disappear from the list and also when you press any button and the navigation disappears from the list.

TOPICS
ActionScript
601
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 ,
Apr 16, 2017 Apr 16, 2017

you can use the visible property or removeChild() method for that.

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 ,
Apr 17, 2017 Apr 17, 2017

thank you my friend

When using removeChild it removes the button that is correct

But when you use another button in the menu, the button reappears.

For example

I have four buttons when pressing the number one button to go to a specific frame and I do not want it to appear and when I go back and choose the number three button and go back to the list of buttons to disappear the buttons that have already been pressed and when I choose the number button four and the buttons disappear and the button remains two.

I hope to help and thank you

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 ,
Apr 17, 2017 Apr 17, 2017

if a button reappears after removeChild has been used, the button is re-added to the display either in the ide or with code.

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 ,
Apr 23, 2017 Apr 23, 2017

Thank you dear for helping me

It works removeChild it removes one button

What I need is to remove the buttons used

I will enclose a file if it is possible to modify it and type the code

Link to file

http://www.mediafire.com/file/sdqccxw65q1rhym/RECOVER_Untitled-1_2017416163634.fla

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 ,
Apr 23, 2017 Apr 23, 2017
LATEST

i don't download and correct files unless i'm hired.

free help i offer via the adobe forums, only.

in your button's listener function(s), apply removeChild(e.currentTarget), where e is the mouse event.

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