Skip to main content
Participant
Sep 26, 2023 9:36 PM UTC
Answered

JS / HTML not updating

Hello. 
I'm creating a new Html5 canvas doc with Animate, everything is good with the first publish. When I update something or add a new element and publish it again, HTML and JS files are not updated at all, I need to close the file and open it again to publish and see my changes. 

Thanks in advance for the help.

    susegadCorrect answer
    Participant
    Sep 27, 2023 5:32 AM UTC

    clear your browser's cache before testing.


    Solved the issue like this;
    - As a default option, in the image settings images are exported as "textures" which somehow prevents the js export being updated. (Not a cache issue btw, not a single line changes with publishing from Animate)
    - Changing the export settings to assets or spritesheet is solving the issue, starts to publish normally.

    9 replies

    JoãoCésar17023019
    Community Expert
    Community Expert
    Sep 28, 2023 12:56 PM UTC

    Hi.

    This is a problem that happens to me from time to time. To this day I still don't know exactly how to resolve this situation.

     

    If possible, please notify the Animate team about this:
    https://www.adobe.com/products/wishform.html

    Regards,
    JC

    Translate
    kglad
    Community Expert
    Community Expert
    Sep 28, 2023 2:47 PM UTC

    @JoãoCésar17023019 

     

    saving your fla with a new name in a new folder and testing with the default publish settings fails to fix it?

    Translate
    JoãoCésar17023019
    Community Expert
    Community Expert
    Sep 28, 2023 3:16 PM UTC

    Hi, k.

     

    Never tried.

     

    I will do this next time I face the issue.

     

    Thanks.

    Translate
    kglad
    Community Expert
    Community Expert
    Sep 26, 2023 9:44 PM UTC

    how are you testing?

    Translate
    susegadAuthor
    Participant
    Sep 26, 2023 9:47 PM UTC

    Usual publish settings (ctrl+ent / ctrl+shift+f12) and also I'm using MAMP as a local server.

    Translate
    kglad
    Community Expert
    Community Expert
    Sep 26, 2023 9:50 PM UTC

    clear your browser's cache before testing.

    Translate