Simplyprofound.com
Flash, Flex, AIR, ASP.NET, PHP, AJAX, whatever it takes...

Flash Debug Shows Old File and Code

March 27, 2008 05:47 by dave

Yes, you heard me right. I make changes in my actionscript and FLA, but when I run debug in Flash CS3 I'm looking at a version from a week ago. I tried to restart Flash and found the same problem. Only when I rebooted would I once again see the correct output.

I had this problem a while back with ASP.NET temporary files and the built in webserver caching and delivering old files, but that was like in VS 2003. But this made me think that perhaps Flash was building to a temporary file location and just not cleaning up properly. Nope. I posted this on the AIR boards since the project is an AIR application and I figured it's using the AIR compiler, so maybe I'm not the only one with this problem. 

Nope just me. How frustrating!

But I just figured it out....by accident. You see, I've been working for the past year on my faithfully maxed out MacBook Pro. Recently my compile times were becoming unbearable both in Flash and VS 2008, so I decided to invest in a Mac Pro Quad Core tower (capable of 8 cores). So, as soon as it arrived, I installed my apps, copied over my project files and resumed work. Lovely. Until this problem.

So here's what I found. My folder structures are identical on these two machines. The confusion in Flash occurs when I have mounted my MacBook Pro drive and evidently Flash thinks it should be building out of that directory "Projects/Client/Project/" instead of my local folder "Projects/Client/Project". Hence when I rebooted, since I went directly to Flash instead of remounting my MacBook, I would see the expected files. Happy accident.

That's that "what" is happening. Now I need to figure out "why" and how to resolve it. Madness!