Skip to main content
karlcleveland
New Participant
November 17, 2018
Answered

Buttons not working correctly in Animate CC 2019

  • November 17, 2018
  • 1 reply
  • 14866 views

I've encountered issues with the functionality of buttons in Adobe Animate CC 2019 (Build 326) and am curious if anyone else is having the same problem or knows how to resolve the issue. What I've found is that if I create and add AS3 script for a button, it works fine if it is on the first frame. If you move the button and accompanying frame script off of the first frame, to say frame 2 or 10 or 20, it fails. Sometimes it throws an "access of undefined property buttonInstanceName" error (even though the button is correctly named and present on the same frame as the script) and sometimes it makes the rollOver states wacky and ceases to function. Strangely, when I open old projects in 2019, they function fine. But, if I copy the layers from an old project to a new document created in 2019, it fails. I can't figure out what is going wrong and any advice/assistance would be appreciated.  I made this video documenting the issue if you'd like to see what I am talking about: buttonProblems - YouTube

This topic has been closed for replies.
Correct answer kglad

disable 'use advanced layers' in the document settings (modify>document).

1 reply

kglad
kgladCorrect answer
Community Expert
November 17, 2018

disable 'use advanced layers' in the document settings (modify>document).

New Participant
June 6, 2019

if i turn off advanced layers alpha doesn't work anymore? so is there another solution?

New Participant
September 30, 2019

Works fine for me. Maybe try removing and re-adding the tween.


I'm seeing the same thing; buttons all work correctly when I test in the browser, but then the buttons DON'T work (no rollover state, clicks don't work, etc) when I open the HTML file in a browser (any browser). I tried turning off "Advanced Layers", but still no dice. Thoughts?