2007 4:37
Aan: flashcoders@chattyfig.figleaf.com
Onderwerp: Re: [Flashcoders] Prevent flash from caching the loaded
assets
With AS3 you can load the image as binary data (Base64 encoded).
import flash.events.*;
import flash.net.*;
import flash.display.Loader;
import flash.utils.ByteArray;
import
It's really easy to fix - have a look at this article on my blog:
http://blog.neo-archaic.net/2006/08/02/nocache-for-javascript-and-flash.htm
Karina
-Original Message-
From: Niels Endlich [mailto:[EMAIL PROTECTED]
Sent: 06 August 2007 15:18
To: flashcoders@chattyfig.figleaf.com
On Aug 8, 2007, at 6:41 PM, Karina Steffens wrote:
It's really easy to fix - have a look at this article on my blog:
http://blog.neo-archaic.net/2006/08/02/nocache-for-javascript-and-
flash.htm
As I mentioned earlier in the thread, and Muzak just mentioned also,
calling that technique
A solution is to convert the image into a textfile which is then used to
draw the image on the screen using bitmap drawing tools.
This, of course, is easily hacked by anybody with a copy of Flash
because they can read your textfile and draw the bitmap themselves.
The next step is to encrypt
to ByteArray.
http://www.dynamicflash.com/goodies/base64
regards,
Muzak
- Original Message -
From: Steven Sacks [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Thursday, August 09, 2007 1:56 AM
Subject: Re: [Flashcoders] Prevent flash from caching the loaded assets
A solution
anyone done somthing like this before?
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens eric e. dolecki
Verzonden: maandag 6 augustus 2007 20:51
Aan: flashcoders@chattyfig.figleaf.com
Onderwerp: Re: [Flashcoders] Prevent flash from caching the loaded
I think the caching is controlled by the browser, not Flash itself, so
I don't believe there's a way within flash to prevent caching.
Maybe you could do some trickery with the images that makes it harder
for the person looking at the cached stuff to see it. Like, split up
the main image into
If you're using AS3, then load the image via flash.net.Socket (a
direct socket connection to the server) rather than via the normal
image loading mechanism - then use loadBytes() on the Loader class?
I think that gets around it.
Ian
On 8/6/07, Niels Endlich [EMAIL PROTECTED] wrote:
We are
If you're able to store the images in SWF format instead of something like
JPG, you could set up your SWFs so that they're covered with a black
rectangle MovieClip by default and then you flip the _visible property to
false in your application when you load them in. That way, if people try to
look
That's a wonderfully neat idea. :-D
Ian
On 8/6/07, Jack Doyle [EMAIL PROTECTED] wrote:
If you're able to store the images in SWF format instead of something like
JPG, you could set up your SWFs so that they're covered with a black
rectangle MovieClip by default and then you flip the _visible
http://foo.domain.com/images/imageContainer.swf?e=; + getDate()
all images could be in 1 swf and called out.
On 8/6/07, Ian Thomas [EMAIL PROTECTED] wrote:
That's a wonderfully neat idea. :-D
Ian
On 8/6/07, Jack Doyle [EMAIL PROTECTED] wrote:
If you're able to store the images in SWF
On Aug 6, 2007, at 2:50 PM, eric e. dolecki wrote:
http://foo.domain.com/images/imageContainer.swf?e=; + getDate()
all images could be in 1 swf and called out.
Of course, that doesn't really prevent caching as much as it prevents
the broswer from handing Flash a cached copy the next time
Can't you just put this in your page header:
meta http-equiv=cache-control content=no-cache
to prevent caching?
-carl.
On 8/6/07, eric e. dolecki [EMAIL PROTECTED] wrote:
http://foo.domain.com/images/imageContainer.swf?e=; + getDate()
all images could be in 1 swf and called out.
On
somthing like this before?
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens eric e. dolecki
Verzonden: maandag 6 augustus 2007 20:51
Aan: flashcoders@chattyfig.figleaf.com
Onderwerp: Re: [Flashcoders] Prevent flash from caching the loaded assets
http
@chattyfig.figleaf.com
Onderwerp: Re: [Flashcoders] Prevent flash from caching the loaded assets
http://foo.domain.com/images/imageContainer.swf?e=; + getDate()
all images could be in 1 swf and called out.
On 8/6/07, Ian Thomas [EMAIL PROTECTED] wrote:
That's a wonderfully neat idea. :-D
Ian
AS2 for the moment...
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Ian Thomas
Verzonden: maandag 6 augustus 2007 21:38
Aan: flashcoders@chattyfig.figleaf.com
Onderwerp: Re: [Flashcoders] Prevent flash from caching the loaded assets
Niels,
Is this AS2
augustus 2007 21:38
Aan: flashcoders@chattyfig.figleaf.com
Onderwerp: Re: [Flashcoders] Prevent flash from caching the loaded assets
Niels,
Is this AS2 or AS3?
Ian
On 8/6/07, Niels Endlich [EMAIL PROTECTED] wrote:
It seems to me that the swf is easy to decompile and the photo also...
We
17 matches
Mail list logo