| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
What's up pussycat?
|
Hey guys,
An 'interesting' thing happened... I wrote a class, months ago, which has worked fine with every application I've made that uses XML since then. It's an integral part of my class library. I've just installed AIR and I really like it. The problem is, when I came to publishing Flash SWFs again for regular projects, something odd has happened. Now the XML loader class doesn't work. I tracked it down to this: My XML loader class uses a URL + "?" + Math.random(); to prevent the browser from using the XML file in the cache if there is one. If I remove the query string it works again. Has anyone else had a similar problem? Looking forward to your replies! Matt ![]()
__________________
http://matbury.com/ |
|
|
|
|
|
#2 |
|
2006 Man Of The Year
Join Date: Mar 2007
Posts: 880
|
i've had the same problem.
you can use a URLRequest setting named useCache. you can just set that to false; its an AIR only feature.
__________________
I've curiosity on my side. Last edited by evride; 05-13-2008 at 05:28 PM.. |
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How does Flex works with AIR? | PixelPerfectWeb | AIR (Apollo) | 1 | 06-11-2008 08:32 AM |
| Query Strings?? | stompwampa | ActionScript 3.0 | 2 | 03-15-2008 03:28 PM |
| Query: Is it possible to work with timeline from within the actionscript coding | simmy | Other Flash General Questions | 7 | 02-04-2006 07:21 PM |
| Variable Scripting Problem | ds.pixeled | ActionScript 2.0 | 6 | 04-16-2005 01:26 PM |
| loadMovie Query Strings only work in Browsers | you_rock | ActionScript 1.0 (and below) | 0 | 06-11-2004 09:59 AM |