Re[2]: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-09 Thread R�kos Attila
: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

Re: Re[2]: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-09 Thread Muzak
- 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

Re[4]: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-09 Thread R�kos Attila
, 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

RE: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-09 Thread Niels Endlich
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

RE: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-08 Thread Karina Steffens
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

Re: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-08 Thread Troy Rollins
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

Re: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-08 Thread Steven Sacks
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

Re: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-08 Thread Muzak
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

Re: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-07 Thread Andy Herrman
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

[Flashcoders] Prevent flash from caching the loaded assets

2007-08-06 Thread Niels Endlich
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

Re: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-06 Thread Andy Herrman
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

Re: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-06 Thread Ian Thomas
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

RE: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-06 Thread Jack Doyle
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

Re: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-06 Thread Ian Thomas
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

Re: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-06 Thread eric e. dolecki
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

Re: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-06 Thread Troy Rollins
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

Re: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-06 Thread Carl Welch
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

RE: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-06 Thread Niels Endlich
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

Re: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-06 Thread Ian Thomas
@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

RE: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-06 Thread Niels Endlich
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

Re: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-06 Thread Johannes Nel
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