Loading jpegs

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

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

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

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

  • D

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.

fireworks or photoshop/imageready

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

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

*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 :slight_smile:

:wink: