# Loading jpegs

**URL:** <https://forum.kirupa.com/t/loading-jpegs/11235>\
**Category:** Uncategorized\
**Created:** [January 14, 2003, 12:13pm UTC](https://forum.kirupa.com/t/loading-jpegs/11235 "2003-01-14T12:13:01Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![gbay](https://avatars.discourse-cdn.com/v4/letter/g/6f9a4e/32.png) [@gbay](https://forum.kirupa.com/u/gbay)\
**Post date:** [January 14, 2003, 12:13pm UTC](https://forum.kirupa.com/t/loading-jpegs/11235/1 "2003-01-14T12:13:01Z")

</div>

hi all,  
right, i’m loading a jpeg into my movie using loadMovie().

1. should i optomize my jpegs before loading them into my swf, or does flash optomize the loaded jpeg.
2. can you stick a preloader on a loading jpeg like you can with a loading swf? eg can you say “if myImage exists then display it, else loop my preloader”?  
i’ve been playing, but unable to come up with anything. :hair:  
cheers guys!

- D

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 14, 2003, 12:39pm UTC](https://forum.kirupa.com/t/loading-jpegs/11235/2 "2003-01-14T12:39:43Z")

</div>

[COLOR=seagreen]**[SIZE=3]Welcome to Kirupa![/SIZE]**[/COLOR]

1- Yes, you **must** optimize your jpgs before.  
2- Do a search on “external preloaders” here at kirupa and you will find.

Cheers 8]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 14, 2003, 12:44pm UTC](https://forum.kirupa.com/t/loading-jpegs/11235/3 "2003-01-14T12:44:42Z")

</div>

> \*Originally posted by Guig0 \*  
> 1- Yes, you **must** optimize your jpgs before.

no you dont have to. You should **resize** them before bringing them into flash, but flash compresses them on export based on settings specified for each picture in its properties dialog from the library or in the publish settings.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 14, 2003, 12:57pm UTC](https://forum.kirupa.com/t/loading-jpegs/11235/4 "2003-01-14T12:57:35Z")

</div>

wow, that was fast replying!  
thanx for that, i’ll have a look for external preloaders.  
😉

- D

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 14, 2003, 1:04pm UTC](https://forum.kirupa.com/t/loading-jpegs/11235/5 "2003-01-14T13:04:12Z")

</div>

haha,

I just jumped on to ask an almost identical question, but GBay beat me to it…

part of my question is now answered, but also like to know what you guys find is the most efficient way to optimize/resize JPG’s???

i’ve got about 300 to do, so I need the quikest and best way??

cheers.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 14, 2003, 1:12pm UTC](https://forum.kirupa.com/t/loading-jpegs/11235/6 "2003-01-14T13:12:46Z")

</div>

fireworks or photoshop/imageready

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 14, 2003, 1:17pm UTC](https://forum.kirupa.com/t/loading-jpegs/11235/7 "2003-01-14T13:17:49Z")

</div>

I agree with sen here photoshop and fireworks but just make sure you have the image cropped to the exact size you need it in flash so you have the smallest file size

Grim

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 14, 2003, 1:19pm UTC](https://forum.kirupa.com/t/loading-jpegs/11235/8 "2003-01-14T13:19:56Z")

</div>

> \*Originally posted by senocular \*  
> \*\*no you dont have to. You should **resize** them before bringing them into flash, but flash compresses them on export based on settings specified for each picture in its properties dialog from the library or in the publish settings. \*\*

Hey Sen, I think flash does not optimize jpgs when they´re dinamically loaded :-\ and since this is the case:

> . should i optomize my jpegs before loading them into my swf, or does flash optomize the loaded jpeg.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 14, 2003, 1:43pm UTC](https://forum.kirupa.com/t/loading-jpegs/11235/9 "2003-01-14T13:43:19Z")

</div>

> \*Originally posted by Guig0 \*  
> \*\*Hey Sen, I think flash does not optimize jpgs when they´re dinamically loaded :-\ and since this is the case: \*\*

ah yes I totally looked over that Guig0, thanks for the correction

Listen to Guig0 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 14, 2003, 1:51pm UTC](https://forum.kirupa.com/t/loading-jpegs/11235/10 "2003-01-14T13:51:17Z")

</div>

😉
