Copy link to clipboard
Copied
I'm quite new to Animate and was fooling around in the software recently for my final. I followed some tutorials online and tried to implement some basic interactivity in my animation. Once I started putting in buttons the entire animation broke outside of the timeline I can't seem to test or publish the file as an HTML. I'm beyond stumped here and read through some posts with similar issues but they all seem to be centered around broken scripts which I assume is my issue. I can include the file and maybe some savvy vets could offer some basic advice my instructor isn't available for personal emails and I'm a bit stumped. Any help at all would be incredible and Id be very grateful.
Copy link to clipboard
Copied
open your browser's developer console and look for an error message.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
this is what I'm looking at
Copy link to clipboard
Copied
click the link. that line of code contains a colon (probably a mistyped semi-colon)
Copy link to clipboard
Copied
Copy link to clipboard
Copied
it's the error line about the colon, on the right side, cut off in your screenshot
Copy link to clipboard
Copied
Copy link to clipboard
Copied
yes. line 328.
Copy link to clipboard
Copied
Ok, where would I go about correcting such an error I assume through animate?
Copy link to clipboard
Copied
yes, but check that line in your ja file so you can find it quickly in animate.
Copy link to clipboard
Copied
ok and how do I open up all the lines of code in animated I only see the small lines of code in the actions menu
Copy link to clipboard
Copied
I'm not even sure if I'm in java script or ActionScript 3.0 or how I would even check such a thing
Copy link to clipboard
Copied
in animate you'll see "canvas" in parenthesis , if canvas.
ie, you have a canvas project. open your published js file in a text editor that indicates line ns.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
show the full line at 327
Copy link to clipboard
Copied
Copy link to clipboard
Copied
you're using as3 code in a javascript/createjs project.
was that a code hint?
if so show, double-check your document type.
Copy link to clipboard
Copied
I am publishing as a JS/HTML
I didn't use a code hint this is the default JS file being shown through Notepad ++
Copy link to clipboard
Copied
replace your as3 code with createjs/javascript.