1 person found this helpful
If your action.js file is blank there is not much hope unless you have a backup. The action.js file contains all the code that was generated by what you created.
Now my questions are: what happened before you opened this file? Did you save it properly the last time you worked on it? When you create a file, the id is created as you can see it the image below and adding a different id wil not correct the problem.
My Mac was freezing up while I was in Photoshop today, so closed all my programs so I could restart. When I got to Edge, it asked if I wanted to save my file, and I did. I didn't do anything different. I've searched my machine to see if it saved it somewhere else, but I haven't found anything. I called Adobe and the tech just kept saying, that's not possible, but I'm looking at the files and they're empty.
And I don't have a backup unfortunately - I've just got an early draft of it from a few weeks ago, so I guess I get to rebuild half of it.
Can the file open? can you zip your folder and post a link so we can look at it?
There's really nothing to look at. When I was talking to Adobe, I realized that the .an file is showing a file size of zero bytes, so as far as I can tell, the project erased itself when I was saving and restarting. When I open the html file in Edge, it looks like a brand new file - there aren't any elements, symbols, actions or anything. Blank canvas.
Before I left work yesterday, I altered the html file by adding a header and footer div above and below the <div id="stage"> code. The page was running fine in my browser with those divs intact, and the .an file appeared to be saving just fine. Can adding that code have corrupted it somehow? Seems really odd to me that it would totally wipe all the associated files. But if that's an issue, then I need to find another way to build my full page around the edge file.
Thanks for trying to help.
No, unless you inadvertently deleted the compId. Adding code the the html file usually does not affect the composition itself.