Skip to main content
Inspiring
February 21, 2023
Answered

Button layer problem

  • February 21, 2023
  • 1 reply
  • 1868 views

Hi to all!

 

I work on some projects with lot of frames for android app. I have navigation layer with buttons. In some cases i have button working only on firts keyframe and not on rest of frames after it, ragarding of the fact its visible offcourse. I work on whoče project and have another buttons wihch work, but i really dont have idea how did i make it work. But only home button, one which goes through whole layer uninterupted is allways clickable and working no matter what

    This topic has been closed for replies.
    Correct answer kglad

    So obviously you didnt understand me, were not talking about 2-3 buttons, were tlaking about one steady button and dozens changing arround it as frames passes. etc. never mind. i did exactly as you said, and in some point home stops to execute frame i assign it. I have 4 home buttons all on same layer with different instaces offcourse, because Animate give instances automatic.


    using a file server, upload your fla with a home button in a layer with one keyframe where the home button stops working and post a link here.

     

    indicate which is the home button and the layer it's in and the frame where it first fails.

    1 reply

    kglad
    Community Expert
    Community Expert
    February 21, 2023

    if an object (button, movieclip or graphic) is not in the same keyframe where it was instantiated, there are several ways to cause it to fail to respond to code.

    Inspiring
    February 21, 2023

    Well, button is on the another layer, which goes throigh lets say 20 frames. So on whichever frame i go, that button is there with its gotoframe and stop action coupled. Home button worka awesome througjput all project. As soon as i pit another button on that layer, frame turns on keyframe on that layer, and that another button wprks but only on that frame not on the rest of frames that layer covers, even if its visible 

    kglad
    Community Expert
    Community Expert
    February 21, 2023

    don't put another object on that layer.