Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Desktop, Mobile and non-browser Environments > AIR (Apollo)

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-13-2008, 02:41 PM   #1
matbury
What's up pussycat?
 
matbury's Avatar
 
Join Date: Dec 2006
Location: Barcelona, Spain
Posts: 1,486
Send a message via Skype™ to matbury
Red face Query strings don't work on desktop after installing AIR

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/
matbury is offline   Reply With Quote
Old 05-13-2008, 05:26 PM   #2
evride
2006 Man Of The Year
 
evride's Avatar
 
Join Date: Mar 2007
Posts: 880
Default

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..
evride is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 12:22 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.