Copy link to clipboard
Copied
I am fairly new to HTML5 and coding in general, so I'm completely bamboozled as to why this bit of code is causing my interactive graphic to crash (not in general, but it won't let me click onto this frame). The error is in the highlighted block of code; when I cut it out, it work normally.
A quick explanation of what I'm trying to do: When you click the button "ul_003_btn", it should make the MC "info_003" and the button to close it visible, and then when you click the close button it makes them invisible. I've verified that the instance names are the same. Any thoughts?
1 Correct answer
If you'd opened the browser developer console, you would have seen exactly which line was causing the error.
Also, the digit 1 and the lowercase letter L look almost identical in that font, so maybe there was a "u1_003" in there somewhere.
Copy link to clipboard
Copied
*cough*bind
Copy link to clipboard
Copied
Ok, I added the missing bind after "ul_003_close", but my graphic still crashes when it loads.
Copy link to clipboard
Copied
Okay, which line are you getting the error message on?
Copy link to clipboard
Copied
Ok, I went back and re-inserted my code using snippets and it works now. I compared both and couldn't find a single letter difference between the code that crashed and the code that worked, but there must have been a stray capital or something somewhere in there. Such are the wily ways of JS in Animate 😛
Copy link to clipboard
Copied
If you'd opened the browser developer console, you would have seen exactly which line was causing the error.
Also, the digit 1 and the lowercase letter L look almost identical in that font, so maybe there was a "u1_003" in there somewhere.

