Copy link to clipboard
Copied
I have a very simple navigation I'm experimenting with and I seem to be getting something wrong with the action script to control the buttons.
I can click and it goes through once but then the buttons cease to function.
Would someone please give this a look and see if they can help.
Most appreciated.
Thanks !
This had me puzzled for a little while! The problem is that in frame 45 you have the three buttons as new keyframes, which on its own wouldn't matter, but in the new keyframe you have named the three buttons with a different name. In the first frame you set it up to expect the button to be called myHome, myabout, or mycontact, but in frame 45 you changed those names to home_btn, about_btn, and contact_btn.
It's odd that there was no error message, but it's not surprising the buttons stopped worki
...Copy link to clipboard
Copied
This had me puzzled for a little while! The problem is that in frame 45 you have the three buttons as new keyframes, which on its own wouldn't matter, but in the new keyframe you have named the three buttons with a different name. In the first frame you set it up to expect the button to be called myHome, myabout, or mycontact, but in frame 45 you changed those names to home_btn, about_btn, and contact_btn.
It's odd that there was no error message, but it's not surprising the buttons stopped working because of the name change.
Copy link to clipboard
Copied
Thanks I thought it was strange. What would you recommend as the quickest fix?
Copy link to clipboard
Copied
There's no reason to have the keyframes at the end. If you right-click on each of those three (in frame 45 of the Contact, About, and home layers) you can do a Clear Keyframe. Then the frame 45 version of the button will keep the same name.
Copy link to clipboard
Copied
Got it. Thanks!!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now