Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Flash General Questions > Flash 9 General Questions

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-25-2007, 07:39 PM   #1
TomMalufe
Senior Member
 
TomMalufe's Avatar
 
Join Date: Jun 2007
Location: Doylestown, PA, USA.
Posts: 431
Default Stop using cache

OK, here is my issue.
When I'm testing a flash movie that calls an external script it will cache the return value and use that every time, even after I change the external script.

The specific case when this started to bug me was on a project were my Flash Movie calls a PHP file to find something out. But the PHP file had errors, so I fixed them, uploaded the fixed file and I was still getting errors. It took me a while to realize that I had to restart Flash CS3 in order to test the new script I just uploaded because it had cached the old script and wasn't actually checking to see if it had changed.

I like the fact that Flash uses caching because it makes for some quick web pages, but I want to disable it sometimes while I'm still debugging everything. Does anyone know how to do that? Even if it's just in CS3 itself and not on the web, I would be happy.
TomMalufe is offline   Reply With Quote
Old 06-25-2007, 11:02 PM   #2
angels.of.promise
Registered User
 
Join Date: Jun 2007
Posts: 18
Default

i dont know how to do this. however if you are useing firefox you can set it to delete the cache every time you close the program. wich means when it reopens it will be forced to reload everything.

you can do this in the tools>options>privacy_tab>always clars privae data check box

i hope this helps.
angels.of.promise is offline   Reply With Quote
Old 06-26-2007, 01:04 AM   #3
TomMalufe
Senior Member
 
TomMalufe's Avatar
 
Join Date: Jun 2007
Location: Doylestown, PA, USA.
Posts: 431
Default

Yeah I did that for a while for one gallery project, but I really want to do it in flash. I see very few reasons to use the cache when I'm still in the debugging stages and a couple good reasons not to.
TomMalufe is offline   Reply With Quote
Old 06-27-2007, 07:28 PM   #4
dr_zeus
Flash Adventurer
 
dr_zeus's Avatar
 
Join Date: Mar 2005
Location: Silicon Valley
Posts: 1,975
Default

There's a generally accepted method for bypassing the browser cache.
__________________
Josh Tynjala | JOSHBLOG | Bowler Hat Games
dr_zeus is offline   Reply With Quote
Old 06-27-2007, 09:52 PM   #5
TomMalufe
Senior Member
 
TomMalufe's Avatar
 
Join Date: Jun 2007
Location: Doylestown, PA, USA.
Posts: 431
Talking Awesome

Thanks. I don't see that thread.
TomMalufe 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
Help: Using stop() does not stop movie fjd8 ActionScript 2.0 5 11-14-2006 05:27 PM
stop a flash movie on a certain frame guyatwork37 ActionScript 2.0 7 11-13-2006 10:03 PM
Overide Set Interval with stop. AndyK ActionScript 2.0 0 10-05-2006 01:15 PM
How to stop and play movieclips cayohueso ActionScript 2.0 8 07-22-2005 03:53 AM
stop() not working BuffySummers ActionScript 2.0 1 10-30-2003 10:57 AM


All times are GMT. The time now is 11:30 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.