Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Cant seem to get my animation to test or publish as an html

Community Beginner ,
Apr 21, 2024 Apr 21, 2024

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. 

TOPICS
Import and export , Publish package
1.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 21, 2024 Apr 21, 2024

open your browser's developer console and look for an error message.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 21, 2024 Apr 21, 2024
 
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 21, 2024 Apr 21, 2024

this is what I'm looking at 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 21, 2024 Apr 21, 2024

click the link. that line of code contains a colon (probably a mistyped semi-colon)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 21, 2024 Apr 21, 2024

Clicking on it highlights this I don't see a line of code 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 21, 2024 Apr 21, 2024

it's the error line about the colon, on the right side, cut off in your screenshot 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 21, 2024 Apr 21, 2024

Are you talking about this over here?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 21, 2024 Apr 21, 2024

yes.  line 328.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 21, 2024 Apr 21, 2024

Ok, where would I go about correcting such an error I assume through animate? 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 21, 2024 Apr 21, 2024

yes, but check that line in your ja file so you can find it quickly in animate.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 21, 2024 Apr 21, 2024

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 21, 2024 Apr 21, 2024

I'm not even sure if I'm in java script or ActionScript 3.0 or how I would even check such a thing 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 21, 2024 Apr 21, 2024

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 21, 2024 Apr 21, 2024

Ok Im at line 329 There are two colons here which one should I get rid of or should I just do this one at a time?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 21, 2024 Apr 21, 2024

show the full line at 327

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 21, 2024 Apr 21, 2024
 
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 21, 2024 Apr 21, 2024

you're using as3 code in a javascript/createjs project.

 

was that a code hint?

 

if so show, double-check your document type.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 21, 2024 Apr 21, 2024

I am publishing as a JS/HTML 

I didn't use a code hint this is the default JS file being shown through Notepad ++

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 21, 2024 Apr 21, 2024
LATEST

replace your as3 code with createjs/javascript.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines