Forum Moderators: open

Message Too Old, No Replies

Compression and Loading Text

Video and audio compression

         

bartainer

1:19 am on Jul 21, 2005 (gmt 0)

10+ Year Member



Hello,

I'm new to flash (3 months), however I have been using DW for over one year! I'm designing with Flash Professional. I'd like to compress my file that is approx. 14000KB! When inserting into DW, it (DW) tells me the file will take 2082 seconds to load. Ouch!

The file consist of an MP3 and photos. The photos were ctreated in FW. The file has approx. 8 layers and last approx 8.3 seconds of viewing at 12 fps.

How can I compress the file for excellent vieing? Also, how is the "Loading" text created with the seconds to load?

Thanks.

Richard_N

6:13 am on Jul 21, 2005 (gmt 0)



you need to keep the images and MP3 outside of the flash file and call then as required.

Several ways to do this depending on how complex you need to it to be but basically you can use the loadMovie("whatever.jpg"); call to load images dynamically.

There is also a soundObject object in flash wich can be used to load sounds from external sources.

If you want to get clever you can store lists of sounds and images in xml and call from there.

Look in the flash help files or buy a book on basic actionscript (that will also tell you how to make a preloader) but be prepared to get your hands dirty writing some actionscript code.