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

Getting a white page when animation published

Explorer ,
Oct 08, 2018 Oct 08, 2018

I've setup an animation in Adobe Animate CC using the HTML5 Canvas template and when I complete the animation in the timeline and go to publish it, all I get in the browser is a white page.

If you select the entire page, you can see the stage is there, but no images or animations display.

I've tried with the javascript embedded, or external, sprite sheets and not, but no joy.

Here's where you can see the output. This is the version with separate js and images.

Is there something I'm missing in having setup the file and published that it's not displaying anything? What next steps might I try?

I've attached screenshots of the settings and the main stage to see if there's anything obvious that's not correct.

2.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

correct answers 1 Correct answer

Community Expert , Oct 09, 2018 Oct 09, 2018

Hi.

There are 4 problems when you try to use window.open starting from line 402 to 413.

this.frame_0 = function() {

var _this = this;

/*

Loads the URL in a new browser window.

*/

window.open(' // PROBLEM HERE

window.open('https://achieveaustralia.org.au', '_blank');

', '_blank'); // PROBLEM HERE

}

this.frame_148 = function() {

var _this = this;

/*

Loads the URL in a new browser window.

*/

window.open(' // PROBLEM HERE

window.open('https://achieveaustralia.org.au', '_blank');

', '_blank'); // PROBLEM HERE

}

If you r

...
Translate
Community Expert ,
Oct 09, 2018 Oct 09, 2018

Hi.

There are 4 problems when you try to use window.open starting from line 402 to 413.

this.frame_0 = function() {

var _this = this;

/*

Loads the URL in a new browser window.

*/

window.open(' // PROBLEM HERE

window.open('https://achieveaustralia.org.au', '_blank');

', '_blank'); // PROBLEM HERE

}

this.frame_148 = function() {

var _this = this;

/*

Loads the URL in a new browser window.

*/

window.open(' // PROBLEM HERE

window.open('https://achieveaustralia.org.au', '_blank');

', '_blank'); // PROBLEM HERE

}

If you remove lines 402, 404, 411, and 413 your page should load.

Regards,

JC

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
Explorer ,
Oct 09, 2018 Oct 09, 2018

Hi JC, thanks for helping and removing that code has fixed it – although now I have to work out how to make the background have a link to the website as I thought that was the process.

Would be nice if these were straight forward, but on we go.  

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
LEGEND ,
Oct 09, 2018 Oct 09, 2018

Whenever you get a white page, always, always, always open the brower's developer console, refresh the page, and look for any error messages.

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
Explorer ,
Oct 09, 2018 Oct 09, 2018
LATEST

Yes Clay, thanks for pointing that out.

Would be helpful if it could help me understand why suddenly at the end of my animation it resolves to just the logo and doesn't keep the entire stage visible, as it does in Animate itself.

Appreciate your input and if you had any bright thoughts for this, I'd welcome it.

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