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

Urgent help needed

New Here ,
Jan 20, 2019 Jan 20, 2019

Copy link to clipboard

Copied

hello,

up until the recent update (18th Jan 2019) I seem to have a problem with animate's published files.

After completing a project and publishing it to HTML, I uploaded the published files to the web server.

When I open the file on the web browser, the interactive seem to have hung on the pre-load screen.

The interactive previews alright on my computer, but when I upload them to the server, and open the file on a browser, it simply fails to load.

I then opened the dev mode on the browser, and in the console I saw this:

error_fuzztest01.jpg

I'm not sure what all these means but it seem to have been the reason for the  interactive to fail.

As far as export options are concerned, I haven't done anything differently. And I've never had this problem before.

I've done hundreds of interactives with no such issues. This, I noticed, happened after the latest patch.

The link to the file i have been trying to load is :

viewkill v1.0 https://media.news.com.au/DTinteractive/fuzztest1/index.html

This interactive has simple button functions and some images with some background looped animation. Nothing overly complicated.

I've tried so many other different export settings but none worked.

In the end, I had to cancel this job, to the disappointment of many, especially the news editor.

Can anyone please tell me what has gone wrong? I'm sure its not the server, cuz I've tried uploading other HTML files and they seem to all work normally.

Please help

Views

304

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 ,
Jan 21, 2019 Jan 21, 2019

Copy link to clipboard

Copied

Hi.

I'm really sorry about that.

There is a really weird error on line 1113 of the createjs-2015.11.26.min.js.download file:

this.shape_is.snew cjs.Shape();

It seems it should be:

this.shape_7 = new cjs.Shape();

Something similar happened to me recently. Maybe I'll shoot in the dark, but have you tried not using this preloading GIF?

In my case, my app only worked without checking that Include preloader option in the Publish Settings.

I think this can be one of the possible reasons for what seems to be a bug in the Animate CC exporter.

Anyway, please don't forget to report this issue here:

Adobe Animate CC Feature Request/Bug Report Form

Regards,

JC

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
New Here ,
Jan 21, 2019 Jan 21, 2019

Copy link to clipboard

Copied

Hey thanks for that.

Yes I've tried to tick that pre loaded off. I just got a big blank white

space.

I've also tried to not use Sprite sheets and that didn't work either

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 ,
Jan 21, 2019 Jan 21, 2019

Copy link to clipboard

Copied

Great.

But have you fixed the error on line 1113?

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
New Here ,
Jan 21, 2019 Jan 21, 2019

Copy link to clipboard

Copied

Thanks . I'll try that now

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
Advocate ,
Jan 21, 2019 Jan 21, 2019

Copy link to clipboard

Copied

Hi Onlyfuzz and João (as well)

sorry to intervene, João, when you say ".. a really weird error on line 1113 of the createjs-2015.11.26.min.js.download file", this might lead to a misunderstanding. The weird mistake is in the exported JS file (index.js) in line 1113. I see it too.

Onlyfuzz, you should open index.js in an script editor, jump to line 1113 and change

this.shape_is.snew cjs.Shape();

to

this.shape_7 = new cjs.Shape();

Then upload index.js to your server and try it out.

Klaus

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
New Here ,
Jan 21, 2019 Jan 21, 2019

Copy link to clipboard

Copied

Thanks everyone! I'll try out klaus' suggestion and post my results here. I

hope it works

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
Advocate ,
Jan 21, 2019 Jan 21, 2019

Copy link to clipboard

Copied

And, Onlyfuzz, João is right, Because it's a problem beyond your influence, it's very likely a bug in Animate CC's HTML/JS exporter, please follow João's advice and report a bug:

Adobe Animate CC Feature Request/Bug Report Form

Klaus

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
New Here ,
Jan 21, 2019 Jan 21, 2019

Copy link to clipboard

Copied

hey João I tried to fix that line as you've suggested, and re uploaded the

file, same thing, no preview - hangs at pre loading

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 ,
Jan 22, 2019 Jan 22, 2019

Copy link to clipboard

Copied

Hi.

Is there some message in the console?

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
New Here ,
Jan 22, 2019 Jan 22, 2019

Copy link to clipboard

Copied

yes, just minus the one you corrected:

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
New Here ,
Jan 22, 2019 Jan 22, 2019

Copy link to clipboard

Copied

also, when I uploaded to another server everything works normally

On Tue, 22 Jan 2019 at 21:35, Hamzah, Fuzz <fadzil.hamzah@news.com.au>

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
New Here ,
Jan 22, 2019 Jan 22, 2019

Copy link to clipboard

Copied

check this test out:

https://media.news.com.au/DTinteractive/fuzztest22/index.html

all working right?

as soon as I added more buttons for the other hotspots, I get errors

https://media.news.com.au/DTinteractive/fuzztest23/index.html

have a look at the screenshot.

On my personal server, no problems at all...everything loads up normally

So, if you think its a server issue, why does other HTML documents load up

without a glitch.

like this one:

https://media.news.com.au/DTinteractive/fuzztest14/index.html

but this has no JS files....its just one big JPEG inserted into dreamweaver.

Other documents, not created with animate but has JS in them also works

normally.

Like this:

https://media.news.com.au/DTinteractive/0112-DT-linkblock-athletes/preview.html

I don't know what the problem is.

I've already filed that bug report you suggested.

Thanks JC

On Tue, 22 Jan 2019 at 21:35, Hamzah, Fuzz <fadzil.hamzah@news.com.au>

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
Advocate ,
Jan 22, 2019 Jan 22, 2019

Copy link to clipboard

Copied

onlyfuzz  wrote

as soon as I added more buttons for the other hotspots, I get errors

https://media.news.com.au/DTinteractive/fuzztest23/index.html

Hi

In fuzztest23 is again another weird error in index.js in line 1029:

hapes.shape_140.setTransform(53,53);

it likely should be

this.shape_140.setTransform(53,53);

that's the only error in that one, according to the console.

Klaus

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
Advocate ,
Jan 22, 2019 Jan 22, 2019

Copy link to clipboard

Copied

LATEST

Hi again

Your very first interactive from your question yesterday

viewkill v1.0

shows now in my console a different error combination than yesterday. You have repaired one, right. It actually doesn't show anymore:

  • Failed to load resource: net:: ERR_CONNECTION_CLOSED

Instead the is a new error:

  • SyntaxError: unexpected token: ')'    index.js: 632:3

and indeed in line 632:3 is another new weird one (in 632:6 comes the next error):

  • th).p(hape_137.graphics.f("#000000").s().p("AgLBYIAAiBIAXAAIAACBgAgMg+IAAgZIAZAAIAAAZg");

You were saying something in your first question: "The interactive previews alright on my computer, but when I upload them to the server, and open the file on a browser, it simply fails to load."

Considering that locally everything is fine, it could be that the JS files get somehow corrupted on their way to your server. (media.new.com.au). This is of course only speculation on my side, but perhaps something is oddly configured on the server, regarding JS or maybe your means of transfering files (FTP-client or web upload service, whatever). Something in this direction.

Klaus

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