Thanks Kevin! I'll give it a try. Since I'm continual enhancing the apps for my users, ensuring the correct version is higher priority than a faster download.
I appreciate the help. Don Don Kerr Manager, Space City AUG http://www.spacecityaug.com --- In flexcoders@yahoogroups.com, "Kevin Fauth" <[EMAIL PROTECTED]> wrote: > > Hey Don- > > It's a quick and dirty trick to prevent caching, but if you're just > writing a single Flex app (1 swf, no modules) then you can append some > random GET data to the tail end of the swf extension. > > For instance, instead of doing: > <EMBED src="effect.swf" quality="high" ...> > you would do: > <EMBED src="effect.swf?v=1.1.05" quality="high" ...> > > If you're using the AC_OETags.js file, then you'll have to modify line > 180 in Flex 2 or 187 in Flex 3 to include your versions (think of > escaping Date() or something like that). > > That *should* ensure a clean version coming down. Keep in mind that > even a 300k Flex app can take a good amount of time to d/l for dial-up > users, so caching isn't necessarily a bad thing. Otherwise, just make > sure your meta tags are in the <HEAD> section of your HTML. > > - Kevin > > --- In flexcoders@yahoogroups.com, "Don Kerr" <fusionpage@> wrote: > > > > BTW, I've tried all the html tricks and none work in IE or Firefox... > > > > <META HTTP-EQUIV="Cache-Control" CONTENT="no-store"> > > <META HTTP-EQUIV="Expires" CONTENT="Mon, 04 Dec 1999 21:29:02 GMT"> > > <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> > > <META HTTP-EQUIV="Expires" CONTENT="-1"> > > > > I need a browser-independent solution for always ensuring my flex apps > > load the current version. Maybe there is something in Actionscipt that > > I can do to force reload of the swf from the server? I don't know. Any > > suggestions? > > > > --- In flexcoders@yahoogroups.com, "Don Kerr" <fusionpage@> wrote: > > > > > > How can I prevent my Flex app swf from being cached? When I release a > > > new version, I want to ensure the user is using the latest swf. > > > > > > Thanks, > > > Don > > > > > >