JS file stops working after copy

New Here ,
Oct 30, 2019 Oct 30, 2019

Copy link to clipboard


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.


Code, Error







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