Revolution Browser Instance caching?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 10
- Joined: Fri Mar 14, 2008 8:13 pm
Revolution Browser Instance caching?
I'm familiar with Flash, but not with Revolution. Our Rev programmer is busy, so I'm trying to troubleshoot this caching issue we've been having with some installed kiosks.
Set up:
Apple Leopard 10.5.2
Runtime Revolution
Adobe Flash 9.x
Scenario:
1. App containing Revolution browser instance loads .swf file.
2. .swf loads data from file via LoadVariables, and displays it in some text fields.
3. .swf or data file is updated.
4. Revolution browser instance is quit and relaunched, but shows both the old .swf file, and the old data from the data file.
We need to find a fix that doesn't require human intervention.
Set up:
Apple Leopard 10.5.2
Runtime Revolution
Adobe Flash 9.x
Scenario:
1. App containing Revolution browser instance loads .swf file.
2. .swf loads data from file via LoadVariables, and displays it in some text fields.
3. .swf or data file is updated.
4. Revolution browser instance is quit and relaunched, but shows both the old .swf file, and the old data from the data file.
We need to find a fix that doesn't require human intervention.
-
- Posts: 10
- Joined: Fri Mar 14, 2008 8:13 pm
Hi Mark. We think it's a caching problem because using Onyx to clear the user caches (we've tried just clearing the Internet caches, without success), and then rebooting, allows the data to reflect updates.
Step 3, means changing the content of the data file (URL encoded text) that's loaded by the SWF, and/or changing and re-exporting the SWF file loaded into the browser instance.
Step 3, means changing the content of the data file (URL encoded text) that's loaded by the SWF, and/or changing and re-exporting the SWF file loaded into the browser instance.
Dear hsthompson,
Alright, it might be a caching problem, but it is not clear that Revolution has got anything to do with it.
Your explanation is far from clear. Does the data file contain URL encoded text? How is that relevant? Exporting a flash file has nothing to do with Revolution.
When and how are you reloading the htmlText of the browser instance?
Best,
Mark
Alright, it might be a caching problem, but it is not clear that Revolution has got anything to do with it.
Your explanation is far from clear. Does the data file contain URL encoded text? How is that relevant? Exporting a flash file has nothing to do with Revolution.
When and how are you reloading the htmlText of the browser instance?
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 10
- Joined: Fri Mar 14, 2008 8:13 pm
I don't know what "htmlText" refers to. As far as I know, the SWF is being loaded into the browser instance directly (unless there's an HTML file being created on the fly somewhere). As I'd said, I'm not Revolution savvy.
The data file is a plain text file with URL encoded data (e.g. variable1=value1&variable2=value2).
Re: the exporting of the SWF. The browser instance points to a given path to a SWF file. Under Leopard (as opposed to Tiger, where this worked more reliably) the app with the browser instance, even when repeatedly relaunched, continues to display the old SWF and/or the old data loaded by the SWF.
The data file is a plain text file with URL encoded data (e.g. variable1=value1&variable2=value2).
Re: the exporting of the SWF. The browser instance points to a given path to a SWF file. Under Leopard (as opposed to Tiger, where this worked more reliably) the app with the browser instance, even when repeatedly relaunched, continues to display the old SWF and/or the old data loaded by the SWF.
-
- Posts: 10
- Joined: Fri Mar 14, 2008 8:13 pm
The problem is solved; it was a caching issue.
The relevant caches under Leopard are located in two randomly-named directories at the path:
/private/var/folders
More detailed information available here:
http://rixstep.com/2/20080810,00.shtml
The relevant caches under Leopard are located in two randomly-named directories at the path:
/private/var/folders
More detailed information available here:
http://rixstep.com/2/20080810,00.shtml