Skip to main content
Participating Frequently
November 24, 2016
Question

ReferenceError: Can't find variable: images

  • November 24, 2016
  • 2 replies
  • 1467 views

I have just added multiple layers of content in to an HTML5 doc in animate CC, the only navigation is a this.stop(); on the frame I wish to start on, all looks good in the timeline, however when I test the animation (Cmd enter) I get a blank screen and in the safari error console 2 errors "ReferenceError: Can't find variable: images"

and "SyntaxError: Unexpected EOF"

Anybody any clues?

[Moved from non-technical Forum Lounge to specific Program forum... Mod]

[Here is the list of all Adobe forums... https://forums.adobe.com/welcome]

    This topic has been closed for replies.

    2 replies

    Legend
    November 25, 2016

    This may be coincidence regarding the EOF, but ever since one of our developers upgraded to 2017, I've caught seemingly random instances of the generated HTML document being truncated. That is, the end of the HTML would look like this:

    <body onload="init();" style="margin:0px;">

      <div id="animation_container" style="background-color:rgba(255, 255, 255, 1.00); width:900px; height:550px">

          <canvas id="canvas" width="900" height="550" style="position: absolute; display: block; background-color:rgba(255, 255, 255, 1.00);"></canvas>

          <div id="dom_overlay_container" style="pointer-events:none; overflow:hidden; widt

    Just dead stops in the middle of "width". Republishing always fixed it, so no idea what causes it.

    kglad
    Community Expert
    Community Expert
    November 24, 2016

    create a new canvas document with the default publish settings and save with a new name.

    test.

    if no problem, copy and paste your problematic main timeline to the new document's main timeline.

    test.

    any problem?