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
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

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

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
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

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