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

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

Community Beginner ,
Apr 21, 2024 Apr 21, 2024

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. 

TOPICS
Import and export , Publish package

Views

440

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

 

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

this is what I'm looking at 

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Are you talking about this over here?

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

yes.  line 328.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

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

Votes

Translate

Translate

Report

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

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 

Votes

Translate

Translate

Report

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

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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?

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

show the full line at 327

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

 

Votes

Translate

Translate

Report

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

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.

Votes

Translate

Translate

Report

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

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 ++

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

replace your as3 code with createjs/javascript.

Votes

Translate

Translate

Report

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