I have had to go back and update my first ever Flash/ActionScript project. I was just learning so there are 1000’s of lines of code all in frame. However, it worked and at least I understand what everything means.
The problem:
I made a bunch of changes, always doing several tests (test movie). I then made a backup of the file (luckily). I then noticed a number of more things to change, and after changing them and fixing some typos caught by the compiler, I test again. The progress bar slides across, disappears, and my movie never comes up. I checked the folder, and no .swf is there. When I publish, the same thing happens, progress bar completes, but no file was created.
Here are some findings from my own troubleshooting:
-While compiling I open the folder and see the .swf is created then deleted
- Backed up version still works (as well as other files) – suggests I changed something causing the malfunction
- No compiler errors (if I purposely create errant code, it will throw compiler errors though) – contradicts conclusion of above
- Copied all code (I think, didn’t document which code changed too well) that was changed between backup copy and full-up-to-date copy to new blank file and compiled fine
- Re-Save As-ed the full-up-to-date copy under new name and folder – did not fix problem – interestingly this new file is substantially smaller than original (og. 4.5 mb new 1.8 mb) – also while trouble shooting the original file went from 4.5 mb to 3.8 mb
- Restarted flash and then computer - did not fix
- Tried testing on different computer - Errant video loaded with a runtime error #2004 unhandled IOError Error #2036: Load Never Completed – interestingly enough I don’t recall there being any loader or loading going on in the whole program
I did a search, and found some recommendations for a similar problem, but for them test movie would work once and then the person would have to restart flash to test again. This is not whats happening (and I did the recommendation anyway and none worked). Each post I see the same problem as here, there are never any responses (lets hope I break this trend).
I have two more troubleshooting tactics to try (compiling with CS5 although this program never compiled correctly with it anyway; there were always text display issues, and copying updated code line by line into the backup file until it stops working). Both will take some time, so I thought I’d see if anyone knows of a reason why this would occur in the mean time especially since evidence seems to point to this not being an actionscript problem.
If you need specs, both computers it was tested on run Flash CS4 and are Windows machines. The main one runs XP and the one that threw the runtime error is Vista.