While developing my first RIA, i ran into a freaky problem when using external class files which are located on a network drive, instead on my local drive.
It seemed flash caches the class files when compiling, and checks the timestamp of every class on compiling to see if it should get the latest version. When using a networked drive, these timestamps seem to get mixed up and scr%wed.
Macromedia identified this problem, but didn’t give a good solution for it. The only fix seems to be to store your class files locally :( (how lame can it get…)
So if you are editting classes and don’t see the desired results when testing your flash movies, think about this, it might be a cache problem. (WOohoo, back to our great dhtml days ;) )
One Response for "FlashMX 2004 cache problem"
While working over more than 12 packages and more than 250 action script files, I came across the same problem under Flash 8. Mike Chambers utility for deletion of ASO files, didn’t seem to be that powerful.
However, there is a comment on the technical note by Adobe.
While working with VSS, I first, gathered the “Latest Version” from VSS. For experiment, the Date on VSS was 2007.
Then, I “checked out” an Action Script file from a remote file system (VSS with the option unchecked, “Don’t get local copy”), and then updated it. The Date-Time for that file was 2007 ahead of “checking out” while my local system was running on 2005.
Then I updated the AS file and saved it, a copy of it was saved locally (thus giving the local timestamp of 2005). Later, the file was “Checked In” to the VSS, as you can vision, the timestamp reflected on the server was the result of my local save. That is 2005.
This means if you are working with VSS on the network and you have the option checked “Don’t get local copy”, while “checking out” any file, you are in a big trouble if your system is running with a time lower than that of VSS.
Leave a reply
You must be logged in to post a comment.