:Thursday, August 9, 2007, 4:37:02 AM
Subject: [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
-
From: Rkos Attila [EMAIL PROTECTED]
To: Muzak flashcoders@chattyfig.figleaf.com
Sent: Thursday, August 09, 2007 2:03 PM
Subject: Re[2]: [Flashcoders] Prevent flash from caching the loaded assets
Base64 is superfluous here, since you can load raw binary data - see
URLLoader.dataFormat
, 2007, 3:05:01 PM
Subject: [Flashcoders] Prevent flash from caching the loaded assets
--===--
You can't send raw binary data over http, it has to be Base64 encoded.
This part is required in the Coldfusion page:
cfset img64
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
Subject: [Flashcoders] Prevent flash from caching the loaded assets
We are making a game in which people have to quess what's on
a photo while viewing it through a little moveable hole. The
images will be loaded from the server. The problem is
caching. To cheat is easy...
watch the cached
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
We are making a game in which people have to quess what's on a photo
while viewing it through a little moveable hole. The images will be
loaded from the server. The problem is caching. To cheat is easy...
watch the cached files. Is there a way to prevent flash from caching the
loaded assets or
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
at the SWF from the browser's cache, they'll just see a big black
rectangle but within your app, the photo is visible.
Just a thought.
Jack
-Original Message-
Date: Mon, 6 Aug 2007 16:17:32 +0200
From: Niels Endlich [EMAIL PROTECTED]
Subject: [Flashcoders] Prevent flash from caching
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
21 matches
Mail list logo