ActionScript 2.0 :: How Long Is A Swf Typically Cached For In Firefox/IE

Jun 30, 2007

1. How long is an XML.load response typically cached for in Firefox/IE?

2. How long is an swf typically cached for in Firefox/IE?

I'm asking because I have an XML file that changes every few hours, and an swf that changes every few weeks. I'm noticing that the changes don't get picked up in Firefox, even after restarting my browser.

View 6 Replies


Similar Posts:


Java :: Why Are Events Typically Created At The Time Of Dispatch

Dec 16, 2010

It seems more efficient to store events on the dispatcher if they're never going to change. Isn't creating them costly? Is there some kind of information I'm losing if I dispatch an already-stored event?

View 1 Replies

ActionScript 2.0 :: LoadMovieNum - Users Of The Player To See How Long They Have Listen Or How Long Time Back Of The Song

Feb 5, 2004

I'am making a advanced mp3 player arund this tutorial: [URL] and i want the users of the player to see how long they have listen or how long time back of the song. i have the AS i what to use but i cant connect them. becuase the tutorial i used does not make a sound objekt (MUSIC)

[COde]...

View 1 Replies

Flex :: Playing A Large/long H264 File With NetStream Takes A LONG Time To Begin Playback?

Aug 1, 2010

I'm trying to play a 10 minute long video (h264/mp4) which is 39MB in size, after I call stream.play(fileURL) it doesn't start playback until its loaded around 12-16MB of the file (many many seconds later), I finally get onMetaData at this point too. Why doesn't it begin playback right away, or at least w/in a couple seconds? What can cause this bloated lead in time?

View 2 Replies

Actionscript 3 :: Why Are Event Types Typically Stored Within An Event's Class Definition

Dec 16, 2010

In all the ActionScript examples I come across, people write custom events with the types defined inside the custom event's class definition. But, in my experience, it makes more sense for the object dispatching an event to own its own definition of that event (which, in ActionScript 3, is a String).

[EDIT: After writing this question, I've found there to be cases for both positions -- in some situations, event types should be stored on the event object, and, in others, they should be stored on the object dispatching the event.]

View 2 Replies

ActionScript 3.0 :: Flash Website Not Working On Firefox On PC But Works Fine On FireFox On MAC?

Jul 21, 2009

works perfect on my macbook pro (safari, firefox, and opera) but when I view the site on Vmare Fusion Windows XP and use IE and FireFox the pages don't load... I don't know what to make of this. Has anyone hear or seen anything like this happen before? BTW the website was created in Adobe Flash CS4/ AS 3.0 and published using Flash Player 10.

View 2 Replies

ActionScript 3.0 :: Filters Cached?

Jun 28, 2009

There is the following bug in the gallery:Once you open up the gallery you see a container with all small thumbnails.If you start mouse over the main container you can see the following happen:

- shadow filter change

- quality of the thumbs change
 
There is a rotationY and rotationX on the main container. As soon as i remove that there is no bug and the shadow and quality of images is perfect.So what does flash do to children and their filters inside a container when using transform propertys before a MouseEvent happen to that maincontainer.You should use F5 a few times before you excaly can see it.

View 9 Replies

Flex :: Checking If Browser Is Using Cached SWC/SWF?

Dec 7, 2009

How do you know if the browser is actually using the cached swf RSL/library for Flex projects? I would like to be able to do different things from the preloader based on whether or not the user has never downloaded the library vs. they have it already cached by their browser.

View 1 Replies

Actionscript 3 :: XML Cached In Local Testing?

Mar 17, 2010

My question is about XML loading. I need to avoid xml caching. On a web server, the technique is adding a random param to reload each time the XML file. But on local testing (in Flash CS4 IDE, CTRL + Enter), the following lines are not possible :

var my_date : Date; path = "toto.xml?time="+my_date.getSeconds()+my_date.getMilliseconds();

Is there any trick to bypass this issue ? I've read on different forum about the "delete" method, we delete the xml object and then recreate one new.

[Code]...

View 2 Replies

Actionscript 3 :: MP3 Files Are Being Cached While Using Swfsound?

Mar 9, 2012

I'm coding an audio player using swfsound for non html5 compliant browsers. I've three sample files, sound1, sound2 and sound3.

After doing some tests, I've changed sound1, with other file, but surprisingly the original remains cached in the browser. I've deleted the original file, moved to other folder, no way.

The only way to reproduce successfully the new file is to active the "disable cache" feature. I'm looking for a way or method to unload the previous file (if there's one) before loading a new one. The audio player will be playing different mp3 files, and in the way that is working now, it won't succeed.

View 1 Replies

Asp.net - SWF Being Cached Even With Unique Query String?

Mar 30, 2012

When we reference a SWF file from our ASP.NET page we append the version number to the SWF url, like App.swf?1.1.0.0. In a recent update, Firefox has continued to use a cached swf even when the version number changed, App.swf?1.2.0.0. We haven't noticed this behavior in other browsers.

Has anyone else seen this behavior? We don't want to disable caching completely. At this point we're probably going to change the name of the swf for each version, like App.1.2.0.0.swf, which seems a bit excessive.

View 1 Replies

ActionScript 2.0 :: Mp3 / Wav Files Cached In Flash?

Dec 30, 2009

i had manny mp3 and wave files in library and my fla file was aprox 700MB,now i have deleted all mp3 and wave files, but the fla file is still 700MB.how is this possible?in start i have loaded wave files but at some point flash told me no memmory awailable.so i tought.ok i'll delete this waves and load mp3s insted..

View 4 Replies

ActionScript 2.0 :: Detecting If A MovieClip Is Already Cached?

Feb 21, 2007

I guess my question is pretty simple for some of the guru's here, but i gave up with this already Im writing an photo gallery application for a website, everything works just perfect, but i have the following problem: Im using the events onLoadComplete and onLoadStart to display an small popup alerting the user while the picture is downloading... so how could i check if the picture is already cached ?, so i could use an IF statment to only show the popup if the picture has not been downloaded before? This is the relevant part of the code that im using right now, it works perfect, but it shows the "loading clip" EVEN if the picture is already there

[Code]....

View 5 Replies

ActionScript 3.0 :: Cached XML Wont Be Read Again?

Aug 31, 2009

My problem is that once flash reads an XML, it then wont read the XML again but rather uses a cached copy. This causes problems as I want it to update a record number in the XML.

My flow of data is like this:

1)Flash reads (and presumably caches) an xml file.
2)User enters data into flash (including update data for xml).
3)Flash sends data to PHP.
4)PHP edits XML file (adds a line and updates a record #).
5)Repeat above.

In practice what happens:

I have a recorded number recorded in the XML. (say 10)
Flash reads the recorded number from the XML. (still 10)
Flash updates the recorded number (now 11)
Flash sends the number to PHP which updates the XML (so XML is now 11)
When process is repeated: Flash uses cached XML so reads record number as 10!!

View 3 Replies

ActionScript 3.0 :: Reuse Cached Images With Loader?

May 28, 2009

I need to load a range of images and make them crossfade over time in a never ending loop (rotating gallery).

Using the Loader I display a preloader everytime I load an image.

The problem is that the next time I load the image the damn preloader shows up in a split second (because I'm using the Loader to load the image again).

How do I write the routine of loading an image and reuse it again WITHOUT calling the loader a second time?

I read online to read a the bitmapData into a variable. Well, that's all fine. But HOW do I reuse that Bitmap in a never ending carrousel?

View 9 Replies

Load Latest .swf And Not Browser Cached Version?

Jan 5, 2012

I have tried various codes (probably wrongly) and read different posts and failed to achieve what I am after. So to cut going round in circles I have just made a simple test folder. There are 3 things I am trying to achieve so that latest files are loaded instead of browser cached versions.

Everything is linked properly in the TEST folder (apart from the code to get latest non cached version)

You can download the TEST.zip folder (73KB) here- [URL] It's completely safe to download and please ignore the annoying pop up ads. I signed up for free service hence the ads.

The three things I want to achieve-

In the TEST.zip folder start with index.html.

1- There you will see >Enter Button< and >portfolio.pdf< button. Nothing will change on index.html page but the portfolio pdf will be regularly updated. So I want the >portfolio.pdf< to fetch the latest pdf always. I assume the code will go on the >portfolir.pdf< button?

2- >Enter Button< will take us to master.html page which contains master.swf. Master.html is only a container but master.swf will be regularly updated and needs to always load the latest master.swf version.

3- Load image.swf button will load image.swf. I want the button to load the latest image.swf file always.

View 1 Replies

ActionScript 3.0 :: Shared Libraries - Cached BUT If Add Another Element?

Jan 22, 2011

using shared libraries at the moment for a scalable e-learning course. All the elements are to be used over multiple screens. BUT if I have to add a new element to that published shared swf - then next time I access my learning program it will have to download the WHOLE NEW shared library - is that right? ie: defeating the purpose in the first place. So if that is true then the best idea would be to use separate shared libraries. ie: sharedLibraryMusic1.swf sharedLibraryMusic2.swf for newer mp3s etc...

Or is this nonsense. ie: A new updated shared library with a "little" new element would not cause the whole swf to be downloaded again??? This is so important as it can make or break the download speeds.

View 4 Replies

Flex :: What Proportion Of Users Have Framework Cached

Dec 7, 2009

We have a Flex application which doesn't currently use the Flex framework as an RSL. We're considering switching, but we're not sure what proportion of users will already have the framework cached.There's an added complication in that we're using the data visualisation components too, and we may have a choice as to which version of the framework we use.

View 2 Replies

Flex To Load Cached Preloaded Images?

Apr 5, 2011

In my application, I make numerous calls to preload images to brower cache in the background using Loader instances and ignore the complete event. I don't store the results in the application, but rather want to store them in the browser cache. The images have long Expires header dates.

When I want to use a particular image(s), I again use a Loader instance and call the same url and listen for the complete event to load the file to an Image.

The problem is that when I re-request the url for the "cached" image, it is making an http request with response 200 status, which I presume means it is hitting the server. How do I make sure that a request for a cached image never hits the server from Flex? I am finding that any request to a url for a cached image (with a long expires header) is making another request to the server, or at least that is my interpretation of it in Firebug.

View 1 Replies

ActionScript 3.0 :: XML Data Read By AS3 Being Cached By Browsers

Sep 29, 2008

We have a flash app (AS3) that reads some data from a local XML file and displays it in a cool way. The problem is that the browser(s) seem to cache this XML data, i.e. when we revisit the page containing the flash, it is rendered using out of date data (the XML file is updated regularly). We find we must visit the URL of the actual XML file and hit refresh (CTRL+F5) to get the new XML to load, and then go back to the page with the flash to see it rendered with the up-to-date data. Is there a way to remedy this? Perhaps the solution is like the one used to prevent caching of Javascript, i.e. appending a random GET param to the URL?

View 5 Replies

ActionScript 2.0 :: Scaling MovieClip With Cached Bitmap

Apr 7, 2006

Look at the example: Left sqaure mc1 is cachedAsBitmap right square mc2 is usual MC.
Go mouse over the edge for scaling for both mc's. Cached movieclip goes crazy
How I can bypass this thing easily?

View 1 Replies

Data Integration :: Prevent Player From Using Cached Files

Jul 7, 2007

I am working on a page the allows the user, once logged in,to upload information and a picture. The picture is saved as his/her username, and if they upload a different picture, the old one is still displayed unless they leave the site and come back 10+ minutes later.I tried the HTML no-cahce headers and they don't even help load a new (up-to-date) version of the main movie.This should have an easy solution, that Adobe should have
addressed if they expect flash to be capable of being a dynamic site with user interactivity.

View 1 Replies

Actionscript :: Swf - Way To Create A Copy Or Cached Version Of A Loader?

Feb 10, 2012

I'm loading an SWF animation and want to display it in multiple places concurrently, but the only way I could figure out how to do that is to load it every time I display it, as seen here:

private function playSounds():void {
for (var i:Number = 0; i < 14; i++)
{

[code].......

View 2 Replies

ActionScript 3.0 :: Prevent Preloader Flicker (cached Items)?

Feb 9, 2009

What's the easiest way to prevent what I call preloader flicker. What I mean is the preloader works fine on first load but then once the external swfs have been cached the preloader still displays for just for a split second but doesn't have time to animate and it just looks a bit ugly. I ideally just want the preloader to appear on first load or force it to animate.

View 14 Replies

ActionScript 3.0 :: Stop Preloader From Appearing For Cached Items?

Sep 10, 2003

This all works great until the items have been cached by the browser and then the movies still load but the preloader doesn't get time to animate and just shows for a split second which looks a bit crap.I read somewhere about creating an array to store the paths of all the loaded in swf's so I could then turn on and off the preloader's visibility if that file had been loaded before.This all worked great until I refreshed the browser window then of course the array got reset so all my stored values went and the preloader started to show its self again.

Then I thought could I store the array values in a local shared object but then I thought there's got to be an easier way.What is the best way of doing this?My preloader is just a bog standard 100 frame animation that go to and stops the frame of the percent loaded.

View 8 Replies

ActionScript 3.0 :: Stop Preloader From Appearing For Cached Items

Dec 22, 2009

I have a master file that loads in external swf's and I'm showing a preloader during loading. This all works great until the items have been cached by the browser and then the movies still load but the preloader doesn't get time to animate and just shows for a split second which looks a bit crap. I read somewhere about creating an array to store the paths of all the loaded in swf's so I could then turn on and off the preloader's visibility if that file had been loaded before.

This all worked great until I refreshed the browser window then of course the array got reset so all my stored values went and the preloader started to show its self again. Then I thought could I store the array values in a local shared object but then I thought there's got to be an easier way. My preloader is just a bog standard 100 frame animation that go to and stops the frame of the percent loaded.

View 3 Replies

ActionScript 2.0 :: Button Code To Load Latest Swf Non Cached Version?

Jan 6, 2012

I have a button that loads guestbook.swf. As guestbook would be updated by me I would like the latest non cached version of guestbook.swf to load always. This is the code on the button currently. What would the code look like to load the latest version from the server? You know some random number/date time stamp thing? I tried using some Googled AS2 code off the web and the button stopped working.[code]

View 9 Replies

Do Browsers Automatically Delete Cached Flash Elements When Not In Use Or Full?

Feb 8, 2012

I have about 50-100 flash elements on a page which are audio players that play only one audio each that are different from each other.Whenever a user clicks one of the player buttons, the audio either streams or loaded as a single mp3.I would like to know how browsers handle swf or audio that is on a page. If 50 of the players are clicked at 10mb each and not all at once, then I can imagine that there would be 500mb stored in the browser eventually as cache.If the browser only has 100mb to cache, how does it work? Does it delete the other swf or audio in cache or does it cause issues to the browser such as crashing or slowing down the computer, etc.

View 12 Replies

Flex :: AIR Cache Control Work / What Is Maximum Age Of Cached Content

Jan 6, 2011

I'm currently working on a project that needs to request a url multiple times. Having studied the the HTTP Proxy (Charles) it seems that AIR will cache the first response and then return the same response for each subsequent request.Does anybody know how to know if the response has been cached other than setting the URLRequest to useCache, but this doesn't say if the response was a cached response or not. The digest isn't set on the URLRequest either, although it does mention this is for swz only, so how does it know if the content is the current content or not? Is the responseHeaders used to find out how long to hold the cache i.e.Cache-Control: max-age=900

Also does anyone know how to flush/purge the cache or are we at the whim of the GC and in that case how does it know if to leave it in the cache or now?This makes sense to me, but still I would like to know how to regulate this cache.Further more: I've tested a set up where parallel URLLoaders (10) are made and created which open the same url to see what happens in that instance. It seems that each parallel request is made until a successful response is given, all subsequent calls are then cached. Calls which are sent out before the successful request is then completed. It looks like the items which are already in being processed do not use the cache and return with correct data.Additional The AIR runtime doesn't even send a "If-Modified-Since" header, so the cache isn't even honoring HTTP protocol. So it seems as if Adobe has implemented it's own version of a cache which doesn't even use HTTP/1.1 Header Field Definitions.

View 1 Replies

Actionscript 3 :: Preloader - When The Browser Loads A Cached File - Jumping From 0% To 100% Randomly?

Mar 4, 2011

So the following code is Lee's implementation of a preloader which works fine first load but goes crazy when the browser loads a cached file, jumping from 0% to 100% randomly Things I have tried to no avail: switching off gzip compression, tho I dont think it is on Using ENTER_FRAME instead of progress and complete

[Code]...

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved