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

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

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

2007-08-08 Thread Muzak
/image.cfm I used a Binary64 class to convert the loaded binary data to ByteArray. http://www.dynamicflash.com/goodies/base64 regards, Muzak - Original Message - From: "Steven Sacks" <[EMAIL PROTECTED]> To: Sent: Thursday, August 09, 2007 1:56 AM Subject: Re: [Flashco

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 t

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

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

2007-08-08 Thread Muzak
AIL PROTECTED]> To: Sent: Thursday, August 09, 2007 12:41 AM Subject: RE: [Flashcoders] Prevent flash from caching the loaded assets > 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 &g

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-07 Thread Andy Herrman
't able to send such a large array (800x600pix). > > Has 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: flash

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

2007-08-06 Thread Johannes Nel
s 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 or AS3? > > Ian > > On 8/6/07, Niels Endlich <[EMAIL PROTECTED]> wrote:

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 Ian Thomas
dolecki > Verzonden: maandag 6 augustus 2007 20:51 > Aan: flashcoders@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

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

2007-08-06 Thread Niels Endlich
x). Has 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 loade

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: 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 8/6/07, Ian Thomas <[EMAIL PROTECTED]>

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

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 _visi

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

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 mult