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

JS file stops working after copy

New Here ,
Oct 30, 2019 Oct 30, 2019

Copy link to clipboard

Copied

I have been converting some old Flash 5 files over to HTML5 and encountered a strange issue in Animate 2019. After doing all of the obvious things to make the old file work in Animate (convert background to bmp, etc.) the HTM/JS files published fine, played on the desktop PC fine, but after upload to the server, did not work. The HTML page is posting okay and the file is downloading to the browser, but then nothing. This is after successfully converting five other very similar projects over which have been uploaded to the server and those work fine. I had thought this was a binary/ascii FTP thing, but the previous files did not seem sensitive to that. Nevertheless I made sure .JS is listed in the FTP extension list just in case... didn't help with this though, they still did not work either way.

 

So the really odd discovery was that the JS files work fine when run off of the HTML page within their directory of creation (on the PC). But if I even copy or drag-n-drop the two files into another directory ON THE PC... the JS stops working! So any copying or "movement" of any type breaks the JS file. Any thoughts or suggestions appreciated.

Thanks.

TOPICS
Code , Error

Views

128

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
no replies

Have something to add?

Join the conversation