You can 'fake' something by downloading a very small version of the image
(like 3K) and scale it to the final size, once that has loaded, display,
then start loading the full size version. I've done this before with very
large file sized images. You could even use a PHP script using the GD
library to generate your small version from the final image on the fly so
you don't need 2 versions of each image.



On 7/3/06, Michael Bedar <[EMAIL PROTECTED]> wrote:

It's possible.. but not using loadMovie.. you'd have to make
something serverside that read the image and sent it byte by byte..
kinda like a reverse on those samples that saved images to the server
using bitmapdata.  definitely not an optimal way to load an image.

maybe there is a better way in as3 with bytearrays, but i don't know
enough about that yet :)

--
Michael



On Jul 2, 2006, at 11:50 AM, Marc Hoffman wrote:

> I might be wrong, but I don't think you can download progressive
> jpgs, therefore you won't have anything to display until the jpg is
> completely loaded. If the jpgs are huge, you might consider
> downloading a lower-res image first, perhaps a .gif with fewer
> colors and/or a grayscale image. That should load very quickly.
> Once that's loaded, you could load the hi-res jpg and then, using
> masking, show it progressively from top to bottom.
>
> Marc
>
> At 08:03 AM 7/2/2006, you wrote:
>> Hi Cor, thanks for the reply.
>>
>> Yes, I would use a mask. But the question is, how could I
>> progressively show
>> only the image while it is being downloaded?
>>
>> Marcelo
>>
>> On 7/2/06, Cor <[EMAIL PROTECTED]> wrote:
>>>
>>> You could use a mask
>>>
>>> -----Oorspronkelijk bericht-----
>>> Van: [EMAIL PROTECTED]
>>> [mailto:[EMAIL PROTECTED] Namens Marcelo de
>>> Moraes
>>> Serpa
>>> Verzonden: zaterdag 1 juli 2006 13:48
>>> Aan: Flashcoders mailing list
>>> Onderwerp: [Flashcoders] Progressivelly download (and show) a jpg
>>> image
>>>
>>> Is it possible somehow to progressivelly show a jpg being loaded via
>>> loadMovie()? The topdown "effect" that is native in images loaded
>>> via
>>> html... as far as I know, It´s only possible to show the image in
>>> the
>>> flash
>>> player after it has been completely loaded, but I remember seeing an
>>> example
>>> of such thing on flashkit once...
>>>
>>> Cheers,
>>>
>>> Marcelo.
>>> _______________________________________________
>>> Flashcoders@chattyfig.figleaf.com
>>> To change your subscription options or search the archive:
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>> Brought to you by Fig Leaf Software
>>> Premier Authorized Adobe Consulting and Training http://
>>> www.figleaf.com
>>> http://training.figleaf.com
>>>
>>> _______________________________________________
>>> Flashcoders@chattyfig.figleaf.com
>>> To change your subscription options or search the archive:
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>> Brought to you by Fig Leaf Software
>>> Premier Authorized Adobe Consulting and Training
>>> http://www.figleaf.com
>>> http://training.figleaf.com
>> _______________________________________________
>> Flashcoders@chattyfig.figleaf.com
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>> Brought to you by Fig Leaf Software
>> Premier Authorized Adobe Consulting and Training
>> http://www.figleaf.com
>> http://training.figleaf.com
>
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to