> I have a config.xml which contains a buildNumber. > When having e.g. PHP on the serverside I use PHP to read out the > buildNumber > which is added to the embedded swf. The effect is that when you > increment > the buildNumber in the config.xml the new swf is fetched from the > server. > This buildNumber is also used to load additional external stuff like > jpg, > swf, xml etc. Very clever, as usual ;) I, for myself, use browser cache features and workaround them whenever I know the content must be fresh. (a param added to the query string suffice as noticed before)
I should have loved relying on HTTP requests but only LoadVars and XML could manage request headers, unfortunatly. It'd be interesting if we could have that for all type of content also (jpeg, swf…) So I let the logic been done by the browser in regards of the server settings. Eventhough, I saw lastly someone fetching all kind of data from LoadVars (can't remember which blog it was) The primary purpose was to precache the assets. Perhaps we could be able to use the same behavior to manage request headers and send "Expires: Fri, 30 Oct 1998 14:19:41 GMT" data. I'll try to give this a try as it is (IMHO) a huge necessity. Note : Fash 9 will open that area with some work though, since we get binary socket. BTW, I don't know the heaviness of implemen ting the http protocol in flash… Cheers. ----------- erixtekila http://blog.v-i-a.net/ _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
