Skip to main content
Inspiring
November 3, 2016
Answered

Animate CC 2017 Canvas exporting blank white document

  • November 3, 2016
  • 2 replies
  • 4562 views

I have only opened two Animate 2015 authored FLAs in Animate 2017, and changed nothing. Both those previously authored files now preview, or on open in Chrome or IE as  just a blank white document. Files that have never been open in 2017 are fine.

    This topic has been closed for replies.
    Correct answer just.emma

    Hey, have you tried publishing with the default template and seeing if that makes any difference?  (I know you like to use custom templates so I just wonder if that could have anything to do with what you're experiencing).

    If you check the JavaScript Console in your browser, do you see any errors?  If so, what errors are you seeing?

    If you could share a copy/example of your files that would be helpful too.

    2 replies

    Inspiring
    November 3, 2016

    That is it. But i really need to use my publish templates as it means I don't have to edit every single HTML file.

    just.emma
    Inspiring
    November 3, 2016

    Templates are super useful; I use them frequently as well.

    What I would recommend is exporting the newest default template from Animate, and then adding back your custom settings in a text editor and re-importing the updated template.  If you still experience issues, try gradually adding things back to troubleshoot what specifically might be causing the bug.

    I think the problem could be caused if you're using older tokens/template variables that are no longer supported.

    just.emma
    Inspiring
    November 10, 2016

    How did you roll back to the previous version? I am experience the same problem and have a deadline tomorrow.


    Here are instructions to install a previous version of the app: Install a previous version of any Creative Cloud application

    However, you don't actually need to revert.  To get things working in the latest version of Animate, all you have to do is go into publish settings and reset to the default template.  Then, export the default template, add back your customizations (such as the ad size meta tag and click tag) and then re-import the updated default template.

    I can confirm that after upgrading to Animate CC 2017 I also experienced the same problem with old templates not working, and following the steps above fixed the issue.

    I believe the issue is occurring because in the latest version of Animate, canvas = document.getElementById("$CANVAS_ID"); will be included in the HTML file instead of the JS file, and if you're using an old template then the canvas ID never gets declared.

    just.emma
    just.emmaCorrect answer
    Inspiring
    November 3, 2016

    Hey, have you tried publishing with the default template and seeing if that makes any difference?  (I know you like to use custom templates so I just wonder if that could have anything to do with what you're experiencing).

    If you check the JavaScript Console in your browser, do you see any errors?  If so, what errors are you seeing?

    If you could share a copy/example of your files that would be helpful too.