So I imported an image into animate and published the file. so far so good. Then I noticed that I needed to compress the file further. Easy stuff, compress file, replace the file in the images folder (and everywhere else it is). So next time I publish the higher k size version is back in the folder. No big deal I replace it with the new lower K size file go into animate open up the library and hit update file, publish. Again the old higher K size file is back in the images folder. I delete the higher K size file from all my folders so it doesn't exists on my computer anymore. Then I go back into the library and instead of update I use replace, target the lower K size image and publish. WTF the higher K size image is back! The only way I can seem to use the lower K size image is give it a brand new name and in the library replace it. Flash never use to work this way all I ever had to do was just hit update, where is this old version of my image coming from, I deleted it off my computer?
This is why it tends to be safer to use the Import... button instead of Update. And make sure that Use imported JPEG data is selected.
Im not sure where the "use imported jpeg data" checkbox is but I did go to publish settings and turned off export image assets and this fixed this. I'm just not sure why after I import a new image, publish and it's replacing it with the old image. this seems like a bug why would I want the old image after I just replaced it?
It's on each bitmap's property panel in the library. If it's NOT set, Animate will recompress the bitmap at publish time, which would make it always the same size no matter what the quality of the original was.